I have created a listview. and there I also did the drag n drop of items.
I want on which item mouse touched that text should be highlighted.(For example U open the Google & if put the mouse on Google then it highlit the text Google in small letters)
I wanna same on my list items TextView items.
How can I do it. Please answer me.
Thanks
I have created a listview. and there I also did the drag n drop
Share
If you’re stuck on the highlighting text in a TextView part, here’s an example of that, borrowing heavily from Highlight Text in TextView or WebView.
If instead, you just want to set the background color of the TextView, take a look at android TextView: setting the background color dynamically doesn't work.