Android Question Listview text size...

select

Member
Licensed User
Longtime User
Hello,

I've a problem with listview text size. There is a way to adjust the text size of a listview
according to the free space in line?

The problem is that when I try my app in a 5" device, the size of the text appears correctly.
In an old 2,7" (or 3") device the text on listview (only this, all other text are good) is very very small.

So, at the moment, when I use a screen with little device I put in the code:

B4X:
listview1.SingleLineLayout.Label.TextSize = 18dip

If I leave this code with the 5" device the text is too big.

How I can set listview text regulates its size automatically?

tnx
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
See the warning:
SS-2015-12-15_16.27.17.png


Remove the dip unit.
 
Upvote 0
Top