Note that there are some explanatory texts on larger screens.

plurals
  1. POWarped ProgressBar spinner in Android layout
    primarykey
    data
    text
    <p>I have a progress spinner with the below layout:</p> <pre><code>&lt;ProgressBar android:id="@+id/progressBar1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:paddingBottom="10dp" android:paddingTop="10dp" &gt; &lt;/ProgressBar&gt; </code></pre> <p>It should look like:</p> <p><img src="https://i.stack.imgur.com/SnMqq.png" alt="enter image description here"></p> <p>However on some ginger bread devices it looks like:</p> <p><img src="https://i.stack.imgur.com/SqyZR.png" alt="enter image description here"></p> <p>I can not work out why on old devices it seems to look broken?</p> <p>EDIT Complete layout:</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" &gt; &lt;WebView android:id="@+id/webView1" android:layout_width="fill_parent" android:layout_height="434dp" android:layout_weight="0.45" /&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="50dp" android:layout_gravity="center" android:background="@color/background" &gt; &lt;ImageView android:id="@+id/left" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="0.10" android:paddingBottom="10dp" android:paddingTop="10dp" android:src="@drawable/ic_arrowleft" /&gt; &lt;ImageView android:id="@+id/right" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="0.10" android:paddingBottom="10dp" android:paddingTop="10dp" android:src="@drawable/ic_arrowright" /&gt; &lt;ProgressBar android:id="@+id/progressBar1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginBottom="10dp" android:layout_marginTop="10dp" &gt; &lt;/ProgressBar&gt; &lt;TextView android:id="@+id/grabit" android:layout_width="0dp" android:layout_height="46dp" android:layout_weight="0.50" android:layout_gravity="center" android:background="@color/selected" android:gravity="center" android:text="GRAB IT" android:textColor="#fff" android:textStyle="bold" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload