This is a simple label view, in IOS roundings are removed when resizing or colors are not displayed properly. This can be fixed by placing a panel under the label, this view does the work for you.
Just set the properties you want in the designer like in a normal label.
ASLabel
Author: Alexander Stolte
Version: 1.02

Changelog

Just set the properties you want in the designer like in a normal label.
ASLabel
Author: Alexander Stolte
Version: 1.02
- ASLabel
- Events:
- Click
- LongClick
- Fields:
- mBase As B4XView
- Tag As Object
- Functions:
- Base_Resize (Width As Double, Height As Double) As String
- Class_Globals As String
- DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object - getLabel As Label
gets the native label - getxLabel As B4XView
gets the native label as B4XView - Initialize (Callback As Object, EventName As String) As String
- IsInitialized As Boolean
Tests whether the object has been initialized.
- Properties:
- Label As Label [read only]
gets the native label - xLabel As B4XView [read only]
gets the native label as B4XView
- Label As Label [read only]
- Events:

Changelog
- 1.00
- Release
- 1.01
- BugFix - ClickEvent is now working on B4A and B4J
- 1.02
- Add set and get Enabled - Disabled or Enabled the label click events
Attachments
Last edited: