mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
show the widget resolution under the title
This commit is contained in:
@ -81,6 +81,11 @@ class WidgetsAdapter(
|
||||
setTextColor(textColor)
|
||||
}
|
||||
|
||||
widgetPreview.widget_size.apply {
|
||||
text = "${widget.widthTiles} x ${widget.heightTiles}"
|
||||
setTextColor(textColor)
|
||||
}
|
||||
|
||||
(widgetPreview.widget_image.layoutParams as RelativeLayout.LayoutParams).apply {
|
||||
marginStart = activity.resources.getDimension(R.dimen.activity_margin).toInt()
|
||||
marginEnd = endMargin
|
||||
|
Reference in New Issue
Block a user