|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + android:id="@+id/background" |
| 4 | + android:orientation="vertical" |
| 5 | + android:layout_width="fill_parent" |
| 6 | + android:layout_height="fill_parent" |
| 7 | + android:paddingLeft="20dp" |
| 8 | + android:paddingRight="20dp" |
| 9 | + android:background="@drawable/stadiumsmall"> |
| 10 | + <LinearLayout |
| 11 | + android:layout_width="0dp" |
| 12 | + android:layout_height="0dp" |
| 13 | + android:focusable="true" |
| 14 | + android:focusableInTouchMode="true" /> |
| 15 | + <ImageView |
| 16 | + android:layout_width="wrap_content" |
| 17 | + android:layout_height="wrap_content" |
| 18 | + android:src="@drawable/title2" |
| 19 | + android:padding="20dp" |
| 20 | + android:layout_gravity="center_horizontal" /> |
| 21 | + |
| 22 | + <EditText |
| 23 | + android:id="@+id/username" |
| 24 | + android:layout_width="fill_parent" |
| 25 | + android:layout_height="wrap_content" |
| 26 | + android:singleLine="true" |
| 27 | + android:nextFocusUp="@id/username" |
| 28 | + android:hint="Username" /> |
| 29 | + |
| 30 | + <EditText |
| 31 | + android:id="@+id/password" |
| 32 | + android:layout_width="fill_parent" |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:singleLine="true" |
| 35 | + android:password="true" |
| 36 | + android:hint="Password" /> |
| 37 | + |
| 38 | + <LinearLayout |
| 39 | + android:layout_width="fill_parent" |
| 40 | + android:layout_height="wrap_content" |
| 41 | + android:paddingLeft="30dp" |
| 42 | + android:paddingRight="30dp" |
| 43 | + android:paddingTop="20dp" > |
| 44 | + <Button |
| 45 | + android:id="@+id/login" |
| 46 | + android:text="Login" |
| 47 | + android:layout_width="fill_parent" |
| 48 | + android:layout_height="wrap_content"/> |
| 49 | + </LinearLayout> |
| 50 | + |
| 51 | +</LinearLayout> |
0 commit comments