Hi all, i'm trying to change standard indeterminate progress bar from
rotating wheel to sequence of 3 images ( dots ).

What i have is a animation drawable defined as progress.xml :

<animation-list   android:id="@+id/progress_animation"
android:oneshot="false"
        xmlns:android="http://schemas.android.com/apk/res/android";>
    <item android:drawable="@drawable/progress1"
android:duration="200" />
    <item android:drawable="@drawable/progress2"
android:duration="200" />
    <item android:drawable="@drawable/progress3"
android:duration="200" />
 </animation-list>

and progressbar defined as :

 <ProgressBar
        android:id="@+id/my_progress"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:indeterminate="true"
        android:indeterminateOnly="true"
        android:indeterminateDrawable="@drawable/progress"
        android:visibility="invisible" />

In general it works - however image is repeated for as much i have
space horizontally.  I think it's side effect of same kind of stuff
used in progress_indeterminate_horizontal.xml

Is there anyway to get rid of that repeating behavior ? Alternative,
as i understand would be change progressBar to ImageView with
animation drawable inside.

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