Calculate width of Charsequence Text
Uses Java Function measureText(charSequence , int Start, int End)
' textSize is default textsize of label where charsequence is displayed
Sub getWidthofCS(cx As Object,textSize As Float) As Float
Dim jo As JavaObject = Me
Return...
Hello all,
I saw many posts in the forum about how to automatically resize the font size inside a label in order to dynamically fit it, but I have a different situation here.
I need to add views in runtime to a activity (labels), as in the code :
For i = 0 To Cursor1.RowCount -1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.