i am trying to draw a custom progress bar (horizontal).

I have this 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"
android:drawable="@drawable/progress_background"/>
     <item android:id="@+android:id/secondaryProgress"
android:drawable="@drawable/progress_secondary"/>
     <item android:id="@+android:id/progress"
android:drawable="@drawable/progress"/>
</layer-list>

What should my drawable's look like (dimensions)?  I can get the
secondary and primary progress graphics (1x9 pixel images), but the
background image always reverts to this gray bar with rounded corners
no matter what dimensions I use for the "background" image...

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

Reply via email to