Android Studio-毁了的seekbar

Android Studio-毁了的seekbar,android,xml,seekbar,Android,Xml,Seekbar,我的seekBar有问题。当我在Android Studio上实现时,Seebar看起来很好,工作也很完美 这是一张照片 当我在真实设备中运行应用程序时,seekBars被破坏了,但我不知道为什么 这是一张有问题的照片 有什么想法吗?当然这里有一个代码 <LinearLayout android:layout_width="0dp" android:layout_height="match_parent" andr

我的seekBar有问题。当我在Android Studio上实现时,Seebar看起来很好,工作也很完美

这是一张照片

当我在真实设备中运行应用程序时,seekBars被破坏了,但我不知道为什么

这是一张有问题的照片

有什么想法吗?当然这里有一个代码

<LinearLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="5"
            android:orientation="vertical">

            <SeekBar
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/seekBarIsVisibleFps"
                android:thumb="@drawable/thumb"
                android:progressDrawable="@drawable/progressline"
                android:max="1"
                android:layout_weight="1"
                android:progress="1"/>
                ... ... ...

... ... ...
这是来自thumb的代码

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
   <solid android:color="#c60026" />
   <size
    android:width="16dp"
    android:height="16dp" />
</shape>

。。。这是一条进度线

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@android:id/background">
        <shape android:shape="line">
            <stroke
                android:width="12dp"
                android:color="#878787" />
        </shape>
    </item>
    <item android:id="@android:id/progress">
        <clip>
            <shape android:shape="line">
                <stroke
                    android:width="12dp"
                    android:color="#5e5e5e" />
            </shape>
        </clip>
    </item>
</layer-list>

发布你的拇指和进度绘图。