Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid emulator layout issue
    primarykey
    data
    text
    <p>i designed a layout using the eclipse xml editor and this is how my layout looks like on eclipse 3.7in WVGA(Nexus One) : </p> <p><img src="https://i.stack.imgur.com/kRy1k.jpg" alt="enter image description here"></p> <p>And heres how it looks like in the emulator:</p> <p><img src="https://i.stack.imgur.com/D0AJu.jpg" alt="enter image description here"></p> <p>And heres the xml file:</p> <pre><code> &lt;GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gridLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@color/background" android:columnCount="3" &gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_column="0" android:layout_columnSpan="2" android:layout_marginBottom="25dip" android:layout_row="1" android:text="@string/main_title" android:textColor="@color/Title_Color" android:textSize="24.5sp" /&gt; &lt;EditText android:id="@+id/editText1" android:layout_column="0" android:layout_columnSpan="2" android:layout_gravity="fill_horizontal" android:layout_row="3" android:text="@string/user_name" &gt; &lt;requestFocus /&gt; &lt;/EditText&gt; &lt;EditText android:id="@+id/editText2" android:layout_column="0" android:layout_columnSpan="2" android:layout_gravity="fill_horizontal" android:layout_row="4" android:text="@string/pass_word" android:inputType="textPassword" /&gt; /&gt; &lt;Button android:id="@+id/button1" android:layout_width="match_parent" android:layout_column="0" android:layout_columnSpan="2" android:layout_row="5" android:text="Login" /&gt; &lt;Space android:layout_width="1dp" android:layout_height="53dp" android:layout_column="0" android:layout_row="0" /&gt; &lt;Space android:layout_width="1dp" android:layout_height="10dp" android:layout_column="0" android:layout_gravity="fill_horizontal" android:layout_row="2" /&gt; &lt;Space android:layout_width="1dp" android:layout_height="72dp" android:layout_column="0" android:layout_gravity="fill_horizontal" android:layout_row="4" /&gt; &lt;Space android:layout_width="52dp" android:layout_height="1dp" android:layout_column="0" android:layout_row="0" /&gt; &lt;/GridLayout&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.
 

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