2012-01-19 54 views

回答

1
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 
<item android:id="@android:id/background" 
     android:drawable="@drawable/custom_background1" /> 
<item android:id="@android:id/secondaryProgress"> 
    <clip android:drawable="@drawable/custom_background2" /> 
</item> 
<item android:id="@android:id/progress"> 
    <clip android:drawable="@drawable/custom_background3" /> 
</item> 
</layer-list> 

使用

android:progressDrawable="@drawable/music_volume_seekbar_style" 

你的意思是这个创建drawalbe一个XML文件,如上面和layout.xml?

+1

thanx它的工作! – Navdroid

0

对于任何意见都是不可能的。但是,如果您有ImageView,则可以使用方法ImageView.setAlpha(int)

相关问题