Android Question CustomListView - Text Alignment

db0070

Active Member
Licensed User
Longtime User
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.
 

db0070

Active Member
Licensed User
Longtime User
I am now using the new CustomListView as mentioned above. I have two CustomListViews overlapped onto each other and I use
B4X:
 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:
Upvote 0
Top