Android Question ListView / Align Buttons

bfw

Member
Hello everyone,
I have two questions about the attached screenshot.
  1. Is it possible, and if so how, to give the three buttons the same width and height?
  2. The ListView contains 10 entries. Unfortunately, the font color appears to be white, so you can't see the entries in the list. Is it possible to give the ListView a font color or to design the ListView so that the entries are visible?
 

Attachments

  • Screenshot 2025-01-16 185728.png
    185.8 KB · Views: 31

Peter Simpson

Expert
Licensed User
Longtime User
Listview line text color:
ListView.SingleLineLayout.Label.TextColor = ???
Is it possible, and if so how, to give the three buttons the same width and height?
You can use the designer with simple designer script to accomplish this.

The ListView contains 10 entries. Unfortunately, the font color appears to be white, so you can't see the entries in the list. Is it possible to give the ListView a font color or to design the ListView so that the entries are visible?
line color:
     ListView.SingleLineLayout.Label.TextColor = ???

Or just use CLV


Enjoy...
 
Last edited:
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Export and attach your project so it will be possible to work on it.
Everything is possible.
As it looks that you are in the beginning I would suggest you to switch from ListView to XCustomListView.
It will give the maximum customization and control of every item.
But it depends even on what you are trying to obtain, for minimal things ListView can do the job.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Always prefer CustomListView; I would say consider ListView obsolete.
 
Reactions: zed
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…