3/17/2024 0 Comments Android selected text colorIn Android, CheckedTextView is an extension of normal TextView that supports the checkable interface and displays it. Well since I want it to keep simple as possible and use the default android listview I used this code instead: record_tOnItemClickListener(new AdapterView. &0183 &32 CheckedTextView Tutorial With Example In Android Studio. You can provide the color as hex value in one of the four formats: rgb, argb, rrggbb, or aarrggbb. textColor attribute of TextView widget lets you set a color of your choice. I only want to change the specific item clicked by the user, meaning if the user clicks another item it will be the one which is highlighted. Change Text Color of TextView via XML Layout File. I want to know on how I can change the background color of the selected item on my listView.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |