琥珀色和绿色之间1像素宽

enter image description here我需要在Android布局中的琥珀色和绿色之间仅显示1dp宽。

this is drawable xml file

我只需要在琥珀色和绿色之间显示1dp宽度

this is drawable xml file
   
<layer-list
    xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:id="@android:id/background">
        <shape>
            <corners
                android:radius="0dip" />
            <gradient
                android:startColor="#ffA8C647"
                android:endColor="#ffA8C647"
                android:angle="90" />
        </shape>
    </item>
    <item
        android:id="@android:id/secondaryProgress">
        <clip>
            <shape>
                <corners
                    android:radius="0dip" />
                <gradient
                    android:startColor="#FFF"
                    android:endColor="#FFF"
                    android:angle="90" />
            </shape>
        </clip>
    </item>
    <item
        android:id="@android:id/progress">
        <clip>
            <shape>
                <corners
                    android:radius="0dip" />
                <gradient
                    [android:startColor="#ffFF9601"
                    android:centerColor="#ffFF9601"
                    android:centerY="0.50"
                    android:endColor="#ffFF9601"
                    android:angle="270" />
            </shape>
        </clip>
    </item>
</layer-list>][1]

我只需要在琥珀色和绿色之间显示1dp宽

show1234ab 回答:琥珀色和绿色之间1像素宽

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3145035.html

大家都在问