I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal. 
Without scroll alternative:
www.b4x.com
ASScrollingTags
Author: Alexander Stolte
Version: 1.00

Without scroll alternative:
[B4X] [XUI] AS Chips - Display your Hashtags, Filters or Categories
With this view you can display and interact with your hashtags, filters or categories. The view can expand itself if more chips are added than there is space for. (AutoExpand = True) I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you...

B4j: jXUI,xCustomListView
B4a: XUi,xCustomListView
B4i: iXUI,xCustomListView
B4a: XUi,xCustomListView
B4i: iXUI,xCustomListView
ASScrollingTags
Author: Alexander Stolte
Version: 1.00
- ASST_LabelProperties
- Fields:
- IsInitialized As Boolean
Tests whether the object has been initialized. - TextAlignment_Horizontal As String
- TextAlignment_Vertical As String
- TextColor As Int
- xFont As B4XFont
- IsInitialized As Boolean
- Functions:
- Initialize
Initializes the fields to their default value.
- Initialize
- Fields:
- ASScrollingTags
- Events:
- ItemClick (Index As Int, Value As Object)
- ItemLongClick (Index As Int, Value As Object)
- Fields:
- mBase As B4XView
- Tag As Object
- Functions:
- AddTag (text As String, background_color As Int, Value As Object) As String
- Class_Globals As String
- DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object - GetBackgroundAt (index As Int) As B4XView
- getCLV As b4a.example3.customlistview
- GetLabelAt (index As Int) As B4XView
- getLabelProperties As ASST_LabelProperties
change the label properties, call it before you add tags
<code>ASScrollingTags1.LabelProperties.xFont = xui.CreateDefaultBoldFont(15)</code> - Initialize (Callback As Object, EventName As String) As String
- IsInitialized As Boolean
Tests whether the object has been initialized.
- Properties:
- CLV As b4a.example3.customlistview [read only]
- LabelProperties As ASST_LabelProperties [read only]
change the label properties, call it before you add tags
<code>ASScrollingTags1.LabelProperties.xFont = xui.CreateDefaultBoldFont(15)</code>
- Events:
- 1.00
- Release
- 1.01
- BugFix - labels with different heights
Attachments
Last edited: