Android - app logging screen with picture (propably layout problem)
<p>I am building design for business app and I am stuck at layout on opening screen. Here is the source code. Here is the screen my screen <a href="http://img121.imageshack.us/img121/3485/aaamu.jpg" rel="nofollow">looks like now</a>, and <a href="http://img163.imageshack.us/img163/1995/aaakopie.jpg" rel="nofollow">here</a> I want it to look like. Still I can't find solution for this. Any help would be appreciated.</p>

<p>
</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/background"
android:padding="40dip"
&gt;

    &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="@color/background"
        &gt;
            &lt;ImageView 
               android:id="@+id/test_image"
               android:src="@drawable/user_lock"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
             /&gt;

        &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:orientation="vertical"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="@color/background"&gt;
            &lt;EditText
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:hint="@string/username"
                android:maxLines="1"
                /&gt;
            &lt;EditText
                android:layout_width="fill_parent" 
                android:layout_height="wrap_content"
                android:hint="@string/password"
                android:password="true"
                /&gt;
     &lt;TableLayout 
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" 
android:layout_width="fill_parent"
android:background="@color/background"&gt;

&lt;TableRow&gt; 
    &lt;Button
    android:id="@+id/login_button"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"
    android:text="@string/login"
    android:layout_weight="2"

    /&gt;
&lt;Button
    android:id="@+id/exit_button"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/exit"
    android:layout_weight="2"
    /&gt;
    &lt;/TableRow&gt; 

    &lt;/TableLayout&gt;
    &lt;/LinearLayout&gt;

    &lt;/LinearLayout&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>
