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
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...