Hi,
I am using a red rectangular image as seekbar progress background but
background is always drawing with rounded corner. how can i make it as
rectangular without rounded corner?

Following is my seekbar layer-list:

<?xml version="1.0" encoding="utf-8"?>
 <layer-list xmlns:android="http://schemas.android.com/apk/res/
android">

     <item android:id="@android:id/background"
     android:drawable="@drawable/mybackground"
      >
      <corners android:radius="0dp"/>
     </item>

    <item android:id="@android:id/secondaryProgress">
        <clip>
            <shape>
                <corners android:radius="0px" />
                <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"
      >
       <scale android:scaleWidth="100%"
               android:drawable="@drawable/progress" />

    </item>


</layer-list>

please help me ..

Thanks and regards
Mansoor V.M

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to