author | Xeli |
Fri, 19 Aug 2011 03:33:25 +0200 | |
branch | hedgeroid |
changeset 5607 | d3a3e80ad1da |
parent 5467 | 88e25840f532 |
child 5627 | ce2d92589cbc |
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" |
|
5607 | 23 |
android:layout_toRightOf="@+id/txtMap" |
24 |
android:background="@drawable/dropdown"/> |
|
5424 | 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" |
|
5607 | 58 |
android:background="@drawable/dropdown" |
5424 | 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" |
|
5607 | 70 |
android:layout_width="wrap_content" |
71 |
android:background="@drawable/dropdown"/> |
|
5424 | 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" |
|
5607 | 94 |
android:layout_width="wrap_content" |
95 |
android:background="@drawable/dropdown"/> |
|
5424 | 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" |
|
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
|
123 |
android:layout_alignParentRight="true" |
5607 | 124 |
android:layout_below="@id/gameOptions" |
125 |
android:background="@drawable/dropdown"/> |
|
5424 | 126 |
|
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
|
127 |
<include layout="@layout/backbutton"/> |
5424 | 128 |
<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
|
129 |
android:id="@+id/btnTeams" |
5607 | 130 |
android:layout_width="120dip" |
131 |
android:layout_height="40dip" |
|
5424 | 132 |
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
|
133 |
android:layout_centerHorizontal="true" |
5424 | 134 |
android:adjustViewBounds="true" |
5607 | 135 |
android:scaleType="centerInside" |
136 |
android:background="@android:color/transparent" |
|
137 |
android:src="@drawable/teams"/> |
|
5424 | 138 |
<ImageButton |
139 |
android:id="@+id/btnStart" |
|
5607 | 140 |
android:layout_width="120dip" |
141 |
android:layout_height="40dip" |
|
5424 | 142 |
android:layout_alignParentBottom="true" |
143 |
android:layout_alignParentRight="true" |
|
144 |
android:adjustViewBounds="true" |
|
145 |
android:scaleType="centerInside" |
|
146 |
android:background="@android:color/transparent" |
|
147 |
android:src="@drawable/startgamebutton"/> |
|
148 |
||
149 |
</RelativeLayout> |
|
150 |