Android Question XUI Views SearchTemplate font size

Drago Bratko

Active Member
Licensed User
Longtime 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:
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:
Code: Copy
Dim TextSize As Float = 25 'FLOAT
Dim jo As JavaObject = SearchTemplate.CustomListView1
jo.GetFieldJO("_designerlabel").RunMethod("setTextSize", Array(TextSize))
 
Upvote 0
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 ...
 
Upvote 0
Do you have time-frame for next release ?

Really, Erel is a busy family man and has already given you a fully working solution.

Probably no time frame, just use the JavaObject to finish your app, as theres no difference in the end results.
 
Upvote 0
Back
Top