label width

  1. epiCode

    Android Code Snippet [B4X] Calculate width of Charsequence Text

    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...
  2. Marcos Alves

    Android Question LabelView width autosize

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