D db0070 Active Member Licensed User Longtime User Oct 16, 2017 #1 I have a CustomeListView and I set its Text Horizontal Alignment to Centre_Horizontal in the designer. The BaseBackground is set to BitMapDrawable. Why does the text not align to centre horizontal? Its always aligned left. I have also tried setting to Right, and there is no way that I can to set the horizontal alignment programmatically.
I have a CustomeListView and I set its Text Horizontal Alignment to Centre_Horizontal in the designer. The BaseBackground is set to BitMapDrawable. Why does the text not align to centre horizontal? Its always aligned left. I have also tried setting to Right, and there is no way that I can to set the horizontal alignment programmatically.
Erel B4X founder Staff member Licensed User Longtime User Oct 17, 2017 #2 I'm not sure whether it was implemented in the older CustomListView class, however it is implemented in the cross platform xCustomListView: https://www.b4x.com/android/forum/t...-cross-platform-customlistview.84501/#content Upvote 0
I'm not sure whether it was implemented in the older CustomListView class, however it is implemented in the cross platform xCustomListView: https://www.b4x.com/android/forum/t...-cross-platform-customlistview.84501/#content
D db0070 Active Member Licensed User Longtime User Oct 17, 2017 #3 I am now using the new CustomListView as mentioned above. I have two CustomListViews overlapped onto each other and I use Code: Copy CustomListView1.asview.BringToFront to bring one of them to the front when I press its related button. Now this used to work with the old class, but not working with this class. How can I fix this? Last edited: Oct 17, 2017 Upvote 0
I am now using the new CustomListView as mentioned above. I have two CustomListViews overlapped onto each other and I use Code: Copy CustomListView1.asview.BringToFront to bring one of them to the front when I press its related button. Now this used to work with the old class, but not working with this class. How can I fix this?
Erel B4X founder Staff member Licensed User Longtime User Oct 18, 2017 #4 It is a bug in CustomListView v1.01. Change the sub code to: Code: Copy 'line 72 Public Sub AsView As B4XView Return mBase End Sub I will soon upload an updated version. Upvote 0
It is a bug in CustomListView v1.01. Change the sub code to: Code: Copy 'line 72 Public Sub AsView As B4XView Return mBase End Sub I will soon upload an updated version.