LAMW: jAutoTextView List view font
lazarus / 43-Android
----------------------------------------------------------------------
c4p · 2017-07-25 14:15
What would cause jAutoTextView string item list always come up with
white text font on a white background? or how can you set the font on
the items string list? Works OK in the demo app and shows font as
black there but in my app it is white font on white background
Also opened new project and is the same there, but fine on the demo
app?
Absolutely love this component though, need a workaround so I can use
it in my app, can't find any way to set the list font to black?
----------------------------------------------------------------------
c4p · 2017-09-19 07:41
Hmmm, works fine on J3 but not S4, white font on white background on
dropdown (theme?), could we have a similar DroplistTextColor &
DropListBackgroundColor like on jComboEditText comp?
This would be a lifesaver for me and reduce the number of components
on screen for me.
----------------------------------------------------------------------
c4p · 2017-09-19 21:57
Trying to change the jAutoTextView for dropListTextColor and
DropListBackgroundColor.
Managed to get .pas working for jAutoTextView with droplist
Text/BackgroundColor but got lost in the .java file
----------------------------------------------------------------------
jmpessoa · 2017-09-19 22:51
Quote(theme?)
Yes!
You can see/change here: "....\res\values"
and "....\res\values-v11"
and ".....\res\values-v14"
and ".....\res\values-v21"
----------------------------------------------------------------------
c4p · 2017-09-20 20:05
Would ideally want to change droplist background & text color, rather
than playing with the theme?
----------------------------------------------------------------------
c4p · 2017-09-20 20:16
jmpessoa, if you have time, I would really appreciate droplist
background and font color added to jAutoTextView, this would be really
useful in my app as it searches while you are typing, very useful, but
on some phones shows white font with white background.
----------------------------------------------------------------------
jmpessoa · 2017-09-20 20:34
QuoteWould ideally want to change droplist background & text color,
rather than playing with the theme?
Yes, but the java API "AutoCompleteTextView" do not support
[directly] this....
Ok, in programming "all is possible" but I do not know how long I can
do this yet....]
About theme:
Go to your application folder "....res\values-21"
the variant is here:
Quote
#111111