Change the width and height to wrap_content.

On Wednesday, November 7, 2012 4:57:51 AM UTC-6, Filipe Batista wrote:
>
> Hi,
> I have a ProgressBar (indeterminate) inside a LinearLayout, when i open 
> the app in phone with ICS the progressbar spinner keeps the right 
> proportions, but when i open the app in a phone with Gingerbread or Froyo 
> the progressbar spinner appears distorted. My ProgressBar is defined this 
> way:
>
> <ProgressBar
>         android:id="@+id/spinner"
>         android:layout_width="0dip"
>         android:layout_height="50dip"
>         android:layout_gravity="center"
>         android:layout_marginRight="6dip"
>         android:layout_weight="1.5"
>         android:indeterminate="true"
>         android:visibility="visible" />
>
> What can be causing this?
> Thanks
>

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