<SeekBar
android:id="@+id/sbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:splitTrack="false"
android:progress="20"
android:progressDrawable="@drawable/seekbarbg"
android:thumb="@drawable/seekbarthumb"
android:layout_marginLeft="10dp"/>
thumb的图片背景其实是透明的, 但是这里却多了背景出来,而且这里的背景的颜色其实是整个后面的大背景的颜色。 找了好久不知道问题在哪里, 后来在stackflow 里找到答案, 加上一句
android:splitTrack="false" 就可以了。 晕倒