【发布时间】:2013-07-05 04:06:50
【问题描述】:
我在我的应用程序中使用了SeekBar,我想对其进行一些自定义。我已经想出了如何更改拇指和背景的Drawable。
我的问题是如何更改SeekBar 的大小?如果我只是改变SeekBar like this, theViewis only clipped and it only shows the top piece of theSeekBar`的高度:
<SeekBar
android:layout_height="10dip"
style="@style/seekbar_style" />
如何更改Seekbar 的整体大小?我希望它比标准的SeekBar 更薄。
【问题讨论】:
-
您也可以阅读本教程。 mokasocial.com/2011/02/…