Android Question XUI Views SearchTemplate font size

Drago Bratko

Member
Licensed User
How can one make font size bigger or smaller in "Dialog.ShowTemplate(SearchTemplate ..." ?
I'm using SearchTemplate where item names are quite long, so I would need to make font in suggestion list smaller so all fit's to screen.
 
Last edited:

Erel

Administrator
Staff member
Licensed User
It will be easier with the next update of xCustomListView. Currently the relevant label is private so we need to use JavaObject to modify it:
B4X:
Dim TextSize As Float = 25 'FLOAT
Dim jo As JavaObject = SearchTemplate.CustomListView1
jo.GetFieldJO("_designerlabel").RunMethod("setTextSize", Array(TextSize))
 

Drago Bratko

Member
Licensed User
Great, thank you ... that's good news. :)
Do you have time-frame for next release ? As I will not have to finish app in next 1-2 weeks, I could plan to include next version in final version ...
 
Top