Hello,
I suggest to add the property "background color" for the Element TEXT of the widgets.
Like this:
setWidgetElementProperty("Widget_Calendario", "Titolo", "text", "Lorem ipsum dolor sit amet");
setWidgetElementProperty("Widget_Calendario", "Titolo", "backgroundcolor", "#ffff0000");
Regards.
Danilo
Add background text color
Moderator: Martin
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: Add background text color
I was about to say this would be too specific and you could easily solve it with a simple rectangle behind it.
But then variable text can have a whatever-amount of width.
This request isn't bad at all
+1
But then variable text can have a whatever-amount of width.
This request isn't bad at all
+1
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: Add background text color
Currently I use the rectangle, but setting the background color of the text would be simpler.
Thank you
Thank you
Re: Add background text color
It seems we all naturally find the common way to place rectangle behind a text to give it color.
+1 for this feature. We can get rid of that additional rectangle and control the text element directly instead.
+1 for this feature. We can get rid of that additional rectangle and control the text element directly instead.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.