Like he mentioned, create an XML in res/drawable that contains:

<?xml version="1.0" encoding="utf-8"?>

<rotate xmlns:android="http://schemas.android.com/apk/res/android";
        android:pivotX="50%" android:pivotY="50%"
        android:fromDegrees="0" android:toDegrees="360">

    <shape
            android:shape="ring"
            android:innerRadiusRatio="3"
            android:thicknessRatio="8"
            android:useLevel="false">

        <size
                android:width="76dip"
                android:height="76dip"
        />

        <gradient
                android:type="sweep"
                android:useLevel="false"
                android:startColor="#4c737373"
                android:centerColor="#4c737373"
                android:centerY="0.50"
                android:endColor="#ffffd300"
        />

    </shape>

</rotate>


and tweak the colors to your liking.  This was taken from
progress_large.xml.


On Thu, Jan 22, 2009 at 6:57 PM, Torgny <torgny.bj...@gmail.com> wrote:

>
> I think it could be possible if you extended res/drawable/
> progress_small.xml. Take a look at those inside the git repository.
> Not sure, but it's an idea.
>
> On Dec 3 2008, 4:31 am, "Gnanesh Radhakrishnan"
> <gnanesh....@gmail.com> wrote:
> > Hello,
> >
> > I'm using the circular progress bar in the title of my app. The default
> > color provided by the SDK is yellow. Is there any way in which i can
> change
> > my progress bar's color?
> >
> > Thanks for your time.
> >
> > Gyan.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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