Add this to your xml:
android:listSelector="@android:color/transparent"
And for the problem this may work (I’m not sure and I don’t know if there are better solutions):
You could apply a ColorStateList to your TextView.
More Related Contents:
- Android – Keep ListView’s item highlighted once one has been clicked
- Maintain/Save/Restore scroll position when returning to a ListView
- Custom Listview Adapter with filter Android
- How can I update a single row in a ListView?
- Converting JSONarray to ArrayList
- How do I create a ListView with rounded corners in Android?
- Custom getFilter in custom ArrayAdapter in android
- How to send data from one Fragment to another Fragment?
- ListView subobject clickable confilct
- Multi selection spinner in android without AlertDialog
- How to highlight row in ListView in Android?
- CardView not showing Shadow in Android L
- Android: How to measure total height of ListView [duplicate]
- How open new activity clicking an item in listview?
- Get listview item position on button click
- Navigation Drawer item background colour for selected item
- Android: Autocomplete TextView Similar To The Facebook App
- How to filter ListView using getFilter() in BaseAdapter
- Custom Filtering ArrayAdapter in ListView
- ListFragment does not accept my layout
- Populate list of custom view using ListFragment
- ListView without ListActivity
- Unable to start activity:UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView
- Navigation drawer Items not registering click event
- Is there any difference between `ListView.invalidateViews()` and ‘Adapter.notifyDataSetChanged()’?
- Android ListView that does not scroll?
- ListView with alphabets on the right, like the iPhone. Is it possible?
- Access Fragment in Activity?
- Removing muliple items from listview using Check box in Android
- Android getting exact scroll position in ListView