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="@drawable/box" |
|
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 android:background="@drawable/dropdown"/> |
|
25 <TextView |
|
26 android:id="@id/txtMap" |
|
27 android:layout_width="wrap_content" |
|
28 android:layout_height="wrap_content" |
|
29 android:text="@string/start_map" |
|
30 android:layout_alignTop="@id/spinMaps" |
|
31 android:layout_alignBottom="@id/spinMaps" |
|
32 android:layout_alignLeft="@id/mapPreview" |
|
33 android:gravity="center"/> |
|
34 |
|
35 <TableLayout |
|
36 android:id="@+id/gameOptions" |
|
37 android:layout_height="wrap_content" |
|
38 android:layout_width="wrap_content" |
|
39 android:layout_centerHorizontal="true" |
|
40 android:layout_toRightOf="@id/mapPreview" |
|
41 android:layout_alignParentRight="true" |
|
42 android:padding="3dip" |
|
43 android:layout_margin="5dip" |
|
44 android:background="@drawable/box" |
|
45 android:stretchColumns="0,2" |
|
46 android:shrinkColumns="1"> |
|
47 |
|
48 <TableRow> |
|
49 <TextView |
|
50 android:id="@+id/txtGameplay" |
|
51 android:layout_height="wrap_content" |
|
52 android:layout_width="wrap_content" |
|
53 android:text="@string/start_gameplay"/> |
|
54 <Spinner |
|
55 android:id="@+id/spinGameplay" |
|
56 android:layout_height="wrap_content" |
|
57 android:layout_width="wrap_content" |
|
58 android:background="@drawable/dropdown" |
|
59 /> |
|
60 </TableRow> |
|
61 <TableRow> |
|
62 <TextView |
|
63 android:id="@+id/txtGamescheme" |
|
64 android:layout_height="wrap_content" |
|
65 android:layout_width="wrap_content" |
|
66 android:text="@string/start_gamescheme"/> |
|
67 <Spinner |
|
68 android:id="@+id/spinGamescheme" |
|
69 android:layout_height="wrap_content" |
|
70 android:layout_width="wrap_content" |
|
71 android:background="@drawable/dropdown"/> |
|
72 <ImageButton |
|
73 android:id="@+id/btnGamescheme" |
|
74 android:layout_height="wrap_content" |
|
75 android:layout_width="wrap_content" |
|
76 android:background="@drawable/edit" |
|
77 android:adjustViewBounds="true" |
|
78 android:scaleType="centerInside" |
|
79 android:layout_gravity="center" |
|
80 android:padding="3dip"/> |
|
81 </TableRow> |
|
82 <TableRow> |
|
83 <TextView |
|
84 android:id="@+id/txtweapons" |
|
85 android:layout_height="wrap_content" |
|
86 android:layout_width="wrap_content" |
|
87 android:layout_below="@id/txtGamescheme" |
|
88 android:layout_marginTop="5dip" |
|
89 android:text="@string/start_weapons"/> |
|
90 |
|
91 <Spinner |
|
92 android:id="@+id/spinweapons" |
|
93 android:layout_height="wrap_content" |
|
94 android:layout_width="wrap_content" |
|
95 android:background="@drawable/dropdown"/> |
|
96 |
|
97 <ImageButton |
|
98 android:id="@+id/btnweapons" |
|
99 android:layout_height="wrap_content" |
|
100 android:layout_width="wrap_content" |
|
101 android:background="@drawable/edit" |
|
102 android:adjustViewBounds="true" |
|
103 android:scaleType="centerInside" |
|
104 android:layout_gravity="center" |
|
105 android:padding="3dip"/> |
|
106 </TableRow> |
|
107 </TableLayout> |
|
108 |
|
109 <ImageView |
|
110 android:id="@+id/imgTheme" |
|
111 android:layout_height="wrap_content" |
|
112 android:layout_width="wrap_content" |
|
113 android:layout_alignTop="@+id/spinTheme" |
|
114 android:layout_alignBottom="@id/spinTheme" |
|
115 android:layout_alignLeft="@id/gameOptions" |
|
116 android:adjustViewBounds="true"/> |
|
117 |
|
118 <Spinner |
|
119 android:id="@id/spinTheme" |
|
120 android:layout_height="wrap_content" |
|
121 android:layout_width="wrap_content" |
|
122 android:layout_toRightOf="@+id/imgTheme" |
|
123 android:layout_alignParentRight="true" |
|
124 android:layout_below="@id/gameOptions" |
|
125 android:background="@drawable/dropdown"/> |
|
126 |
|
127 <include layout="@layout/backbutton"/> |
|
128 |
|
129 <LinearLayout |
|
130 android:layout_width="wrap_content" |
|
131 android:layout_height="wrap_content" |
|
132 android:layout_alignParentBottom="true" |
|
133 android:layout_centerHorizontal="true" |
|
134 android:orientation="horizontal"> |
|
135 <ImageButton |
|
136 android:id="@+id/btnTeams" |
|
137 android:layout_width="120dip" |
|
138 android:layout_height="40dip" |
|
139 android:adjustViewBounds="true" |
|
140 android:scaleType="centerInside" |
|
141 android:background="@android:color/transparent" |
|
142 android:src="@drawable/teams"/> |
|
143 <ImageView |
|
144 android:id="@+id/imgTeamsCount" |
|
145 android:layout_width="40dip" |
|
146 android:layout_height="40dip" |
|
147 android:adjustViewBounds="true" |
|
148 android:scaleType="centerInside" |
|
149 android:background="@android:color/transparent" |
|
150 android:src="@drawable/teams_number"/> |
|
151 |
|
152 </LinearLayout> |
|
153 |
|
154 <ImageButton |
|
155 android:id="@+id/btnStart" |
|
156 android:layout_width="120dip" |
|
157 android:layout_height="40dip" |
|
158 android:layout_alignParentBottom="true" |
|
159 android:layout_alignParentRight="true" |
|
160 android:adjustViewBounds="true" |
|
161 android:scaleType="centerInside" |
|
162 android:background="@android:color/transparent" |
|
163 android:src="@drawable/startgamebutton"/> |
|
164 |
|
165 </RelativeLayout> |
|
166 |
|