There are always a few attribute values that Android doesn’t explicitly define how to change and set dynamically for views. In my case, I’m trying to set the ListView‘s vertical scroll bar drawable. There’s no method in the ListView class that lets you set this. I can only define this in the XML using android:scrollbarThumbVertical="@drawable/new_scroll_bar". Is there ANY workaround that would let me change attributes not otherwise defined dynamically?
There are always a few attribute values that Android doesn’t explicitly define how to
Share
It seems impossible, since the document doesn’t refer to a corresponding method to set that XML attribute.