Friday, November 9, 2012

[android-developers] Re: ProgressBar proportions problem

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate