B4A Class Expandable Label

Just sharing my small object expandable label, hope this will help.

Required library : StringUtils
Events:
HeightChange (Height As Int)

Members:
SetExpandText (str As String)
SetShrinkText (str As String)
SetText (Str As String)
SetTextSize (size As Float)
SetTextColor (color As Int)
SetStatusTextSize (size As Float)
SetStatusTextColor (color As Int)
Top As Int
Height As Int


Here include example and the customview.



 

Attachments

  • ezgif.com-video-to-gif.gif
    ezgif.com-video-to-gif.gif
    242.3 KB · Views: 329
  • Expandable_Label.bas
    6.3 KB · Views: 182
  • Expandable_Label.zip
    9.9 KB · Views: 216
Top