How do you use
<item android:drawable="@drawable/ic_launcher" android:state_activated="true"/>
for list view items in an apps that should also run on devices <11 ?
Since activated_state
is not available before HC, I can only think of two dirty workarounds:
Activity
.ListAdapter
But either one is satisfying. (getListView().setChoiceMode(...)
wouldn't have an effect,...)
Any other ideas?
have you had a look to this tutorial ?
http://mobile.tutsplus.com/tutorials/android/android-compatibility-list-indicators-on-honeycomb/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With