| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
xmlns:tools="http://schemas.android.com/tools" |
| 4 |
android:layout_width="match_parent" |
| 5 |
android:layout_height="match_parent" |
| 6 |
android:orientation="vertical" |
| 7 |
android:paddingBottom="3dp" |
| 8 |
android:paddingLeft="5dp" |
| 9 |
android:paddingRight="3dp" |
| 10 |
android:paddingTop="3dp" > |
| 11 |
|
| 12 |
<ImageView |
| 13 |
android:id="@+id/mapPreview" |
| 14 |
android:layout_width="256dip" |
| 15 |
android:layout_height="128dip" |
| 16 |
android:layout_alignParentTop="true" |
| 17 |
android:layout_centerHorizontal="true" |
| 18 |
android:background="@drawable/box" |
| 19 |
android:scaleType="fitCenter" |
| 20 |
android:src="@drawable/roomlist_preparing" /> |
| 21 |
|
| 22 |
<TableLayout |
| 23 |
android:id="@+id/gameOptions" |
| 24 |
android:layout_width="wrap_content" |
| 25 |
android:layout_height="wrap_content" |
| 26 |
android:layout_below="@id/mapPreview" |
| 27 |
android:stretchColumns="1" > |
| 28 |
|
| 29 |
<TableRow android:layout_marginTop="5dip" > |
| 30 |
|
| 31 |
<TextView |
| 32 |
android:layout_width="wrap_content" |
| 33 |
android:layout_height="wrap_content" |
| 34 |
android:text="@string/map_gen" /> |
| 35 |
|
| 36 |
<Spinner |
| 37 |
android:id="@+id/spinMapType" |
| 38 |
android:layout_width="wrap_content" |
| 39 |
android:layout_height="wrap_content" |
| 40 |
android:layout_marginLeft = "5dip" |
| 41 |
android:background="@drawable/dropdown" /> |
| 42 |
</TableRow> |
| 43 |
|
| 44 |
<TableRow |
| 45 |
android:id="@+id/rowMapName" |
| 46 |
android:layout_marginTop="5dip" > |
| 47 |
|
| 48 |
<TextView |
| 49 |
android:layout_width="wrap_content" |
| 50 |
android:layout_height="wrap_content" |
| 51 |
android:layout_gravity="center_vertical" |
| 52 |
android:text="@string/map_name" /> |
| 53 |
|
| 54 |
<Spinner |
| 55 |
android:id="@+id/spinMapName" |
| 56 |
android:layout_width="fill_parent" |
| 57 |
android:layout_height="wrap_content" |
| 58 |
android:layout_marginLeft = "5dip" |
| 59 |
android:background="@drawable/dropdown" /> |
| 60 |
</TableRow> |
| 61 |
|
| 62 |
<TableRow |
| 63 |
android:id="@+id/rowTemplateFilter" |
| 64 |
android:layout_marginTop="5dip" |
| 65 |
android:visibility="gone" > |
| 66 |
|
| 67 |
<TextView |
| 68 |
android:layout_width="wrap_content" |
| 69 |
android:layout_height="wrap_content" |
| 70 |
android:layout_gravity="center_vertical" |
| 71 |
android:text="@string/map_template" /> |
| 72 |
|
| 73 |
<Spinner |
| 74 |
android:id="@+id/spinTemplateFilter" |
| 75 |
android:layout_width="fill_parent" |
| 76 |
android:layout_height="wrap_content" |
| 77 |
android:layout_marginLeft = "5dip" |
| 78 |
android:background="@drawable/dropdown" /> |
| 79 |
</TableRow> |
| 80 |
|
| 81 |
<TableRow |
| 82 |
android:id="@+id/rowMazeSize" |
| 83 |
android:layout_marginTop="5dip" |
| 84 |
android:visibility="gone" > |
| 85 |
|
| 86 |
<TextView |
| 87 |
android:layout_width="wrap_content" |
| 88 |
android:layout_height="wrap_content" |
| 89 |
android:layout_gravity="center_vertical" |
| 90 |
android:text="@string/map_maze_size" /> |
| 91 |
|
| 92 |
<Spinner |
| 93 |
android:id="@+id/spinMazeSize" |
| 94 |
android:layout_width="fill_parent" |
| 95 |
android:layout_height="wrap_content" |
| 96 |
android:layout_marginLeft = "5dip" |
| 97 |
android:background="@drawable/dropdown" /> |
| 98 |
</TableRow> |
| 99 |
|
| 100 |
<Button |
| 101 |
android:id="@+id/btnEditDrawnMap" |
| 102 |
android:layout_width="fill_parent" |
| 103 |
android:layout_height="wrap_content" |
| 104 |
android:layout_marginTop="5dip" |
| 105 |
android:background="@drawable/button" |
| 106 |
android:enabled="false" |
| 107 |
android:text="@string/map_button_editdrawnmap" |
| 108 |
android:visibility="gone" /> |
| 109 |
</TableLayout> |
| 110 |
|
| 111 |
</RelativeLayout> |