I have tried that. the Issue i am encountering is if i change the progress Drawable it does change the slider on the progress bar only. the actual progress stays orange. I can change the background and get rid of the orange all together and show the progressing slider but i want to be able to keep the actual progress and change that color as well
On Dec 5, 11:55 pm, "Jason Parekh" <[EMAIL PROTECTED]> wrote: > You can just use the default style of the horizontal progress bar and in > addition set the progressDrawable to the resource for your XML file. > > jason > > > > On Wed, Dec 3, 2008 at 6:06 PM, Protocol-X <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I am trying to implement a custom style to a progress bar. I have the > > style but i cannot seem to find any documentation on how to actually > > add it since there is no style folder that can be accessed that i see > > atleast. > > > Can anyone help? > > > <layer-list xmlns:android="http://schemas.android.com/apk/res/ > > android"> > > > <item android:id="@android:id/background"> > > <shape> > > <corners android:radius="5dip" /> > > <gradient > > android:startColor="#ff9d9e9d" > > android:centerColor="#ff5a5d5a" > > android:centerY="0.75" > > android:endColor="#ff747674" > > android:angle="270" > > /> > > </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> > > <shape> > > <corners android:radius="5dip" /> > > <gradient > > android:startColor="#ffffd300" > > android:centerColor="#ffffb600" > > android:centerY="0.75" > > android:endColor="#ffffcb00" > > android:angle="270" > > /> > > </shape> > > </clip> > > </item> > > > </layer-list>- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

