author | Xeli |
Tue, 09 Aug 2011 20:53:37 +0200 | |
branch | hedgeroid |
changeset 5506 | 2b0c4fcde4c6 |
parent 5467 | 88e25840f532 |
child 5607 | d3a3e80ad1da |
permissions | -rw-r--r-- |
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" |
|
5467
88e25840f532
Main activities for starting up the game, changing gameconfig, selecting and creating teams with their respective layouts and values
Xeli
parents:
5424
diff
changeset
|
14 |
android:background="@drawable/box" |
5424 | 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" |
|
5467
88e25840f532
Main activities for starting up the game, changing gameconfig, selecting and creating teams with their respective layouts and values
Xeli
parents:
5424
diff
changeset
|
119 |
android:layout_alignParentRight="true" |
5424 | 120 |
android:layout_below="@id/gameOptions"/> |
121 |
||
5467
88e25840f532
Main activities for starting up the game, changing gameconfig, selecting and creating teams with their respective layouts and values
Xeli
parents:
5424
diff
changeset
|
122 |
<include layout="@layout/backbutton"/> |
5424 | 123 |
<ImageButton |
5467
88e25840f532
Main activities for starting up the game, changing gameconfig, selecting and creating teams with their respective layouts and values
Xeli
parents:
5424
diff
changeset
|
124 |
android:id="@+id/btnTeams" |
5424 | 125 |
android:layout_width="wrap_content" |
126 |
android:layout_height="50dip" |
|
127 |
android:layout_alignParentBottom="true" |
|
5467
88e25840f532
Main activities for starting up the game, changing gameconfig, selecting and creating teams with their respective layouts and values
Xeli
parents:
5424
diff
changeset
|
128 |
android:layout_centerHorizontal="true" |
5424 | 129 |
android:adjustViewBounds="true" |
5467
88e25840f532
Main activities for starting up the game, changing gameconfig, selecting and creating teams with their respective layouts and values
Xeli
parents:
5424
diff
changeset
|
130 |
android:scaleType="centerInside"/> |
5424 | 131 |
<ImageButton |
132 |
android:id="@+id/btnStart" |
|
133 |
android:layout_width="wrap_content" |
|
134 |
android:layout_height="50dip" |
|
135 |
android:layout_alignParentBottom="true" |
|
136 |
android:layout_alignParentRight="true" |
|
137 |
android:adjustViewBounds="true" |
|
138 |
android:scaleType="centerInside" |
|
139 |
android:background="@android:color/transparent" |
|
140 |
android:src="@drawable/startgamebutton"/> |
|
141 |
||
142 |
</RelativeLayout> |
|
143 |