我已经在图像文件中绘制了进度条的进度,我将如何将其放入进度条?
我的进度条XML文件:
<?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>
<gradient
android:angle="270"
android:startColor="#ffffffff"
android:endColor="#ffffffff"
android:centerColor="#ffffffff"
/>
</shape>
</item>
<item
android:id="@android:id/progress" >
<shape>
</shape>
</item>
</layer-list>
谢谢!