Debian Codegraph @

project_files/Android-build/SDL-android-project/res/layout/team_creation.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <FrameLayout
3 xmlns:android="http://schemas.android.com/apk/res/android"
4 android:layout_width="fill_parent"
5 android:layout_height="fill_parent">
6 <include layout="@layout/background"/>
7 <LinearLayout
8 xmlns:android="http://schemas.android.com/apk/res/android"
9 android:orientation="horizontal"
10 android:layout_width="fill_parent"
11 android:layout_height="fill_parent"
12 android:padding="3dp">
13
14 <RelativeLayout
15 android:layout_width="fill_parent"
16 android:layout_height="fill_parent"
17 android:layout_weight="1">
18 <ScrollView
19 android:layout_width="fill_parent"
20 android:layout_height="fill_parent"
21 android:layout_above="@+id/btnBack"
22 android:background="@drawable/box"
23 android:scrollbarFadeDuration="0">
24 <TableLayout
25 android:layout_width="fill_parent"
26 android:layout_height="fill_parent"
27 android:stretchColumns="1"
28 android:layout_marginRight="4dip">
29 <TableRow android:padding="2dip">
30 <TextView
31 android:id="@+id/nameTag"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:text="@string/name"/>
35 <EditText
36 android:id="@+id/txtName"
37 android:layout_width="fill_parent"
38 android:layout_height="wrap_content"
39 android:layout_margin="3dip"
40 android:background="@drawable/box"
41 android:text="@string/name_default"
42 android:textColor="#FFF"/>
43 </TableRow>
44 <TableRow android:padding="2dip">
45 <TextView
46 android:id="@+id/typeTag"
47 android:layout_width="wrap_content"
48 android:layout_height="fill_parent"
49 android:layout_alignTop="@+id/spinType"
50 android:layout_alignBottom="@id/spinType"
51 android:gravity="center"
52 android:text="@string/type"/>
53 <Spinner
54 android:id="@id/spinType"
55 android:layout_width="fill_parent"
56 android:layout_height="wrap_content"
57 android:layout_marginLeft="3dip"
58 android:background="@drawable/dropdown"/>
59 </TableRow>
60 <TableRow android:padding="2dip">
61 <TextView
62 android:id="@+id/graveTag"
63 android:layout_width="wrap_content"
64 android:layout_height="fill_parent"
65 android:layout_alignTop="@+id/spinGrave"
66 android:layout_alignBottom="@id/spinGrave"
67 android:gravity="center"
68 android:text="@string/grave"/>
69 <Spinner
70 android:id="@id/spinGrave"
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:layout_marginLeft="3dip"
74 android:background="@drawable/dropdown"/>
75 </TableRow>
76 <TableRow android:padding="2dip">
77 <TextView
78 android:id="@+id/FlagTag"
79 android:layout_width="wrap_content"
80 android:layout_height="fill_parent"
81 android:layout_alignTop="@+id/spinFlag"
82 android:layout_alignBottom="@id/spinFlag"
83 android:gravity="center"
84 android:text="@string/flag"/>
85 <Spinner
86 android:id="@id/spinFlag"
87 android:layout_width="fill_parent"
88 android:layout_height="wrap_content"
89 android:layout_marginLeft="3dip"
90 android:background="@drawable/dropdown"/>
91 </TableRow>
92 <TableRow android:padding="2dip">
93 <TextView
94 android:id="@+id/voiceTag"
95 android:layout_width="wrap_content"
96 android:layout_height="fill_parent"
97 android:layout_alignTop="@+id/spinVoice"
98 android:layout_alignBottom="@id/spinVoice"
99 android:gravity="center"
100 android:text="@string/voice"/>
101 <RelativeLayout
102 android:layout_width="fill_parent"
103 android:layout_height="wrap_content"
104 android:layout_marginLeft="3dip">
105 <ImageButton
106 android:id="@+id/btnPlay"
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content"
109 android:layout_alignParentRight="true"
110 android:adjustViewBounds="true"
111 android:scaleType="centerInside"
112 android:src="@drawable/playsound"
113 android:background="@android:color/transparent"/>
114 <Spinner
115 android:id="@+id/spinVoice"
116 android:layout_width="fill_parent"
117 android:layout_height="fill_parent"
118 android:layout_centerVertical="true"
119 android:layout_alignParentLeft="true"
120 android:layout_toLeftOf="@id/btnPlay"
121 android:background="@drawable/dropdown"/>
122 </RelativeLayout>
123 </TableRow>
124 <TableRow android:padding="2dip">
125 <TextView
126 android:id="@+id/fortTag"
127 android:layout_width="wrap_content"
128 android:layout_height="wrap_content"
129 android:layout_marginTop="2dip"
130 android:gravity="top"
131 android:text="@string/fort"/>
132 <RelativeLayout
133 android:layout_width="fill_parent"
134 android:layout_height="wrap_content"
135 android:layout_marginLeft="3dip">
136 <Spinner
137 android:id="@+id/spinFort"
138 android:layout_width="fill_parent"
139 android:layout_height="wrap_content"
140 android:layout_centerHorizontal="true"
141 android:background="@drawable/dropdown"/>
142 <ImageView
143 android:id="@+id/imgFort"
144 android:layout_width="128dip"
145 android:layout_height="128dip"
146 android:layout_centerHorizontal="true"
147 android:layout_below="@id/spinFort"
148 android:adjustViewBounds="true"
149 android:scaleType="centerInside"
150 android:background="@android:color/transparent"
151 android:src="@drawable/fort"/>
152
153 </RelativeLayout>
154 </TableRow>
155 </TableLayout>
156 </ScrollView>
157 </RelativeLayout>
158
159 <ScrollView
160 android:id="@+id/scroller"
161 android:layout_width="fill_parent"
162 android:layout_height="fill_parent"
163 android:layout_weight="1"
164 android:background="@drawable/box"
165 android:scrollbarFadeDuration="0">
166 <LinearLayout
167 android:id="@+id/HogsContainer"
168 android:orientation="vertical"
169 android:layout_width="fill_parent"
170 android:layout_height="fill_parent">
171 <include layout="@layout/team_creation_entry"/>
172 <include layout="@layout/team_creation_entry"/>
173 <include layout="@layout/team_creation_entry"/>
174 <include layout="@layout/team_creation_entry"/>
175 <include layout="@layout/team_creation_entry"/>
176 <include layout="@layout/team_creation_entry"/>
177 <include layout="@layout/team_creation_entry"/>
178 <include layout="@layout/team_creation_entry"/>
179 </LinearLayout>
180 </ScrollView>
181 </LinearLayout>
182 </FrameLayout>