android scrollbar 高度写死,Android ScrollView scrollbarSize

我正在使用ScrollView,而我想设置ScrollBar大小,但我尝试的一切都失败了.

我尝试使用属性

android:scrollbarSize,与样式,主题,但没有.滚动条的大小总是相同的.

有什么建议么?谢谢

我试过这样:

android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:layout_marginTop="10px"

android:layout_marginBottom="15px"

android:scrollbarSize="20px"

android:scrollbarTrackVertical="@drawable/scrollbar_reflection"

android:scrollbarThumbVertical="@drawable/scrollbar_state2">

但滚动条的宽度不会改变.

所以我创建了这样一个stye文件:

20px

然后在AndroidManifest中设置样式.