still no answer?

2010/9/2 Marco Alexander Schmitz <[email protected]>

> is there noone who can help me on this?
>
> 2010/8/31 Marco Alexander Schmitz <[email protected]>
>
> Hi,
>>
>> I'd like to change the rotating image inside the ProgressDialog.
>>
>> In the documentation this is suggested:
>>
>> ProgressDialog dialog =
>> ProgressDialog.show(OnlineFilialeActivity.this, "", "Loading. Please
>> wait...", true);
>>
>> This can be changed with:
>>
>> ProgressDialog dialog = new ProgressDialog(this);
>> dialog.setTitle("");
>> dialog.setMessage("Loading. Please wait...");
>> dialog.setIndeterminate(true);
>> dialog.show();
>>
>> Now I want to change the drawable:
>>
>> dialog.setIndeterminateDrawable(getResources().getDrawable(R.drawable.progress_medium));
>>
>> The progress_medium.xml is based on the file in platforms
>> \android-1.5\data\res\drawable\progress_medium.xml:
>>
>> <?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="48dip" android:height="48dip" />
>>
>>                <gradient android:type="sweep" android:useLevel="false"
>>                        android:startColor="#4c737373"
>> android:centerColor="#4c737373"
>>                        android:centerY="0.50" android:endColor="#ffff8000"
>> />
>>
>>        </shape>
>> </rotate>
>>
>>
>> But the thing isn't rotating. There is no animation at all.
>>
>> Who helps me?
>>
>> Thanks,
>> Marco Schmitz
>>
>> --
>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

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