1.在用Seekbar时 宽度和父布局不一致 宽度不到边
<SeekBar
android:id="@+id/seek_select_time"
android:layout_width="match_parent"
android:layout_height="52dp"
android:max="100"
android:maxHeight="40dp"
android:minHeight="40dp"
android:paddingEnd="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingStart="0dp"
android:progress="100"
android:progressDrawable="@drawable/video_select_time_seekbar_bg"
android:thumb="@drawable/shape_yellow_4dp"/>
看着这篇博客学到了:https://www.jianshu.com/p/3b105123260e 谢谢博主