android - NestedScrollView scrollbar width doesn't change -
i getting around adding scrollbars (those ux guys, sheesh) nestedscrollview, can't width of scrollbars change 5dp (eyeball measurement).
i have style:
<style name="nestedscrollbarstyle"> <item name="android:scrollbarfadeduration">500</item> <item name="android:scrollbars">vertical</item> <item name="android:scrollbarstyle">insideinset</item> <item name="android:scrollbarsize">160dp</item> </style>
and, inside coordinatorlayout, have swiperefreshlayout nestedscrollview:
<android.support.v4.widget.swiperefreshlayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/refresh_container" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" > <android.support.v4.widget.nestedscrollview android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" style="@style/nestedscrollbarstyle" /> </android.support.v4.widget.swiperefreshlayout>
the other layout have same behavior skips swiperefreshlayout, don't think has impact. note absurdly huge value scrollbarsize in style, same width whether 160 or 1. can change scrollbarstyle, , see changes show up, know it's reading style, have tried changing nestedscrollview straight scrollview no impact, on theory nsv has sv embedded, , perhaps doing override, not sure else look. since part of definition of of element, wouldn't expect able overridden anywhere, other that, width not allowed changed in v4 widget?
Comments
Post a Comment