|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 xmlns:tools="http://schemas.android.com/tools" |
|
4 android:layout_width="fill_parent" |
|
5 android:layout_height="fill_parent" > |
|
6 |
|
7 <include layout="@layout/background" /> |
|
8 |
|
9 <TabHost |
|
10 android:id="@android:id/tabhost" |
|
11 android:layout_width="match_parent" |
|
12 android:layout_height="match_parent" > |
|
13 |
|
14 <LinearLayout |
|
15 android:layout_width="match_parent" |
|
16 android:layout_height="match_parent" |
|
17 android:orientation="horizontal" > |
|
18 |
|
19 <TabWidget |
|
20 android:id="@android:id/tabs" |
|
21 android:layout_width="wrap_content" |
|
22 android:layout_height="match_parent" |
|
23 android:layout_weight="0" /> |
|
24 |
|
25 <FrameLayout |
|
26 android:id="@android:id/tabcontent" |
|
27 android:layout_width="0dip" |
|
28 android:layout_height="match_parent" |
|
29 android:layout_weight="1" > |
|
30 |
|
31 <fragment |
|
32 android:id="@+id/mapFragment" |
|
33 android:layout_width="fill_parent" |
|
34 android:layout_height="fill_parent" |
|
35 class="org.hedgewars.hedgeroid.MapFragment" |
|
36 tools:layout="@layout/fragment_map" /> |
|
37 |
|
38 <fragment |
|
39 android:id="@+id/settingsFragment" |
|
40 android:layout_width="fill_parent" |
|
41 android:layout_height="fill_parent" |
|
42 class="org.hedgewars.hedgeroid.SettingsFragment" |
|
43 tools:layout="@layout/fragment_settings" /> |
|
44 |
|
45 <fragment |
|
46 android:id="@+id/teamlistFragment" |
|
47 android:layout_width="fill_parent" |
|
48 android:layout_height="fill_parent" |
|
49 class="org.hedgewars.hedgeroid.TeamlistFragment" |
|
50 tools:layout="@layout/fragment_teamlist" /> |
|
51 |
|
52 <fragment |
|
53 android:id="@+id/chatFragment" |
|
54 android:layout_width="fill_parent" |
|
55 android:layout_height="fill_parent" |
|
56 class="org.hedgewars.hedgeroid.ChatFragment" |
|
57 tools:layout="@layout/fragment_chat" /> |
|
58 |
|
59 <LinearLayout |
|
60 android:id="@+id/playerListContainer" |
|
61 android:layout_width="fill_parent" |
|
62 android:layout_height="fill_parent" |
|
63 android:orientation="vertical" > |
|
64 |
|
65 <fragment |
|
66 android:id="@+id/playerListFragment" |
|
67 android:layout_width="fill_parent" |
|
68 android:layout_height="0dp" |
|
69 android:layout_weight="1" |
|
70 class="org.hedgewars.hedgeroid.RoomPlayerlistFragment" |
|
71 tools:layout="@layout/fragment_playerlist" /> |
|
72 |
|
73 <Button |
|
74 android:id="@+id/startGame" |
|
75 android:layout_width="120dp" |
|
76 android:layout_height="40dp" |
|
77 android:layout_gravity="right" |
|
78 android:layout_marginTop="4dp" |
|
79 android:background="@drawable/startgamebutton" /> |
|
80 </LinearLayout> |
|
81 </FrameLayout> |
|
82 </LinearLayout> |
|
83 </TabHost> |
|
84 |
|
85 </FrameLayout> |