I have an app widget that has a TextView
I need to change textColor, shadowColor, and gravity of.
While I can easily set textColor with view.settextColor()
and Gravity with view.setInt();
to the RemoteView, i can't find a way to set shadowColor.
The shadow's color depends on the text's color selected (black on withe or white on black only) and it is needed for legibility.
I tried inflating different layouts with both text and shadow colors already set and it worked, but the widget's definition XML requires a single initial layout to be declared and I'd end up with two identical id's for its textViews, so I don't know if i should.
If i can't set it programmatically what options do i have left?
Thanks.