Android 琥珀色和绿色之间的1像素宽
我只需要在Android布局中显示琥珀色和绿色之间的1dp宽Android 琥珀色和绿色之间的1像素宽,android,layout,Android,Layout,我只需要在Android布局中显示琥珀色和绿色之间的1dp宽 this is drawable xml file 我只需要在琥珀色和绿色之间显示1dp宽 this is drawable xml file ][1] 我只需要在布局中显示琥珀色和绿色之间的1dp宽您在哪里使用此可绘制文件? <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item
this is drawable xml file
我只需要在琥珀色和绿色之间显示1dp宽
this is drawable xml file
][1]
我只需要在布局中显示琥珀色和绿色之间的1dp宽您在哪里使用此可绘制文件?
<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]