<?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> <corners android:radius="8px" /> <gradient android:startColor="#ff808080" android:centerColor="#ff808080" android:centerY="0.6" android:endColor="#ff595959" android:angle="90" /> </shape> </item> <item android:id="@android:id/secondaryProgress"> <clip> <shape> <corners android:radius="5dip" /> <gradient android:startColor="#80ffd300" android:centerColor="#80ffb600" android:centerY="0.75" android:endColor="#a0ffcb00" android:angle="270" /> </shape> </clip> </item> <item android:id="@android:id/progress"> <clip> <bitmap android:src="@drawable/progressbar_20" /> </clip> </item> </layer-list>
이게 Customize한 ProgressBar입니다. 위에 background 부분이 있는데 거기 gradiant를 적절히 조절하시믄 됩니다.이상하게 bitmap을 주면 이상하게 나오더라구요.
로그인 유지
이게 Customize한 ProgressBar입니다. 위에 background 부분이 있는데 거기 gradiant를 적절히 조절하시믄 됩니다.
이상하게 bitmap을 주면 이상하게 나오더라구요.