5424
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3 |
android:layout_width="fill_parent"
|
|
4 |
android:layout_height="fill_parent">
|
|
5 |
<include
|
|
6 |
layout="@layout/background"/>
|
|
7 |
|
|
8 |
<ImageView
|
|
9 |
android:id="@+id/mapPreview"
|
|
10 |
android:layout_width="256dip"
|
|
11 |
android:layout_height="128dip"
|
|
12 |
android:layout_margin="5dip"
|
|
13 |
android:scaleType="fitXY"
|
|
14 |
android:background="@android:color/transparent"
|
|
15 |
android:src="@drawable/backbutton"/>
|
|
16 |
|
|
17 |
<Spinner
|
|
18 |
android:id="@+id/spinMaps"
|
|
19 |
android:layout_height="wrap_content"
|
|
20 |
android:layout_width="wrap_content"
|
|
21 |
android:layout_below="@id/mapPreview"
|
|
22 |
android:layout_alignRight="@id/mapPreview"
|
|
23 |
android:layout_toRightOf="@+id/txtMap"/>
|
|
24 |
<TextView
|
|
25 |
android:id="@id/txtMap"
|
|
26 |
android:layout_width="wrap_content"
|
|
27 |
android:layout_height="wrap_content"
|
|
28 |
android:text="@string/start_map"
|
|
29 |
android:layout_alignTop="@id/spinMaps"
|
|
30 |
android:layout_alignBottom="@id/spinMaps"
|
|
31 |
android:layout_alignLeft="@id/mapPreview"
|
|
32 |
android:gravity="center"/>
|
|
33 |
|
|
34 |
<TableLayout
|
|
35 |
android:id="@+id/gameOptions"
|
|
36 |
android:layout_height="wrap_content"
|
|
37 |
android:layout_width="wrap_content"
|
|
38 |
android:layout_centerHorizontal="true"
|
|
39 |
android:layout_toRightOf="@id/mapPreview"
|
|
40 |
android:layout_alignParentRight="true"
|
|
41 |
android:padding="3dip"
|
|
42 |
android:layout_margin="5dip"
|
|
43 |
android:background="@drawable/box"
|
|
44 |
android:stretchColumns="0,2"
|
|
45 |
android:shrinkColumns="1">
|
|
46 |
|
|
47 |
<TableRow>
|
|
48 |
<TextView
|
|
49 |
android:id="@+id/txtGameplay"
|
|
50 |
android:layout_height="wrap_content"
|
|
51 |
android:layout_width="wrap_content"
|
|
52 |
android:text="@string/start_gameplay"/>
|
|
53 |
<Spinner
|
|
54 |
android:id="@+id/spinGameplay"
|
|
55 |
android:layout_height="wrap_content"
|
|
56 |
android:layout_width="wrap_content"
|
|
57 |
/>
|
|
58 |
</TableRow>
|
|
59 |
<TableRow>
|
|
60 |
<TextView
|
|
61 |
android:id="@+id/txtGamescheme"
|
|
62 |
android:layout_height="wrap_content"
|
|
63 |
android:layout_width="wrap_content"
|
|
64 |
android:text="@string/start_gamescheme"/>
|
|
65 |
<Spinner
|
|
66 |
android:id="@+id/spinGamescheme"
|
|
67 |
android:layout_height="wrap_content"
|
|
68 |
android:layout_width="wrap_content"/>
|
|
69 |
<ImageButton
|
|
70 |
android:id="@+id/btnGamescheme"
|
|
71 |
android:layout_height="wrap_content"
|
|
72 |
android:layout_width="wrap_content"
|
|
73 |
android:background="@drawable/edit"
|
|
74 |
android:adjustViewBounds="true"
|
|
75 |
android:scaleType="centerInside"
|
|
76 |
android:layout_gravity="center"
|
|
77 |
android:padding="3dip"/>
|
|
78 |
</TableRow>
|
|
79 |
<TableRow>
|
|
80 |
<TextView
|
|
81 |
android:id="@+id/txtweapons"
|
|
82 |
android:layout_height="wrap_content"
|
|
83 |
android:layout_width="wrap_content"
|
|
84 |
android:layout_below="@id/txtGamescheme"
|
|
85 |
android:layout_marginTop="5dip"
|
|
86 |
android:text="@string/start_weapons"/>
|
|
87 |
|
|
88 |
<Spinner
|
|
89 |
android:id="@+id/spinweapons"
|
|
90 |
android:layout_height="wrap_content"
|
|
91 |
android:layout_width="wrap_content"/>
|
|
92 |
|
|
93 |
<ImageButton
|
|
94 |
android:id="@+id/btnweapons"
|
|
95 |
android:layout_height="wrap_content"
|
|
96 |
android:layout_width="wrap_content"
|
|
97 |
android:background="@drawable/edit"
|
|
98 |
android:adjustViewBounds="true"
|
|
99 |
android:scaleType="centerInside"
|
|
100 |
android:layout_gravity="center"
|
|
101 |
android:padding="3dip"/>
|
|
102 |
</TableRow>
|
|
103 |
</TableLayout>
|
|
104 |
|
|
105 |
<ImageView
|
|
106 |
android:id="@+id/imgTheme"
|
|
107 |
android:layout_height="wrap_content"
|
|
108 |
android:layout_width="wrap_content"
|
|
109 |
android:layout_alignTop="@+id/spinTheme"
|
|
110 |
android:layout_alignBottom="@id/spinTheme"
|
|
111 |
android:layout_alignLeft="@id/gameOptions"
|
|
112 |
android:adjustViewBounds="true"/>
|
|
113 |
|
|
114 |
<Spinner
|
|
115 |
android:id="@id/spinTheme"
|
|
116 |
android:layout_height="wrap_content"
|
|
117 |
android:layout_width="wrap_content"
|
|
118 |
android:layout_toRightOf="@+id/imgTheme"
|
|
119 |
android:layout_alignParentRight="true"
|
|
120 |
android:layout_above="@+id/btnStart"
|
|
121 |
android:layout_below="@id/gameOptions"/>
|
|
122 |
|
|
123 |
<ImageButton
|
|
124 |
android:id="@+id/btnBack"
|
|
125 |
android:layout_width="wrap_content"
|
|
126 |
android:layout_height="50dip"
|
|
127 |
android:layout_alignParentBottom="true"
|
|
128 |
android:layout_alignParentLeft="true"
|
|
129 |
android:adjustViewBounds="true"
|
|
130 |
android:scaleType="centerInside"
|
|
131 |
android:background="@android:color/transparent"
|
|
132 |
android:src="@drawable/backbutton"/>
|
|
133 |
|
|
134 |
<ImageButton
|
|
135 |
android:id="@+id/btnStart"
|
|
136 |
android:layout_width="wrap_content"
|
|
137 |
android:layout_height="50dip"
|
|
138 |
android:layout_alignParentBottom="true"
|
|
139 |
android:layout_alignParentRight="true"
|
|
140 |
android:adjustViewBounds="true"
|
|
141 |
android:scaleType="centerInside"
|
|
142 |
android:background="@android:color/transparent"
|
|
143 |
android:src="@drawable/startgamebutton"/>
|
|
144 |
|
|
145 |
</RelativeLayout>
|
|
146 |
|