1 <?xml version="1.0" encoding="utf-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <FrameLayout |
2 <FrameLayout |
3 xmlns:android="http://schemas.android.com/apk/res/android" |
3 xmlns:android="http://schemas.android.com/apk/res/android" |
4 android:layout_width="fill_parent" |
4 xmlns:tools="http://schemas.android.com/tools" |
5 android:layout_height="fill_parent"> |
5 android:layout_width="fill_parent" |
6 <include layout="@layout/background"/> |
6 android:layout_height="fill_parent" > |
7 <TabHost |
|
8 android:id="@android:id/tabhost" |
|
9 android:layout_width="match_parent" |
|
10 android:layout_height="match_parent"> |
|
11 |
7 |
12 <LinearLayout |
8 <include layout="@layout/background" /> |
13 android:orientation="vertical" |
9 |
|
10 <TabHost |
|
11 android:id="@android:id/tabhost" |
14 android:layout_width="match_parent" |
12 android:layout_width="match_parent" |
15 android:layout_height="match_parent"> |
13 android:layout_height="match_parent" > |
16 |
14 |
17 <TabWidget |
15 <LinearLayout |
18 android:id="@android:id/tabs" |
|
19 android:orientation="horizontal" |
|
20 android:layout_width="match_parent" |
16 android:layout_width="match_parent" |
21 android:layout_height="wrap_content"/> |
17 android:layout_height="match_parent" |
|
18 android:orientation="horizontal" > |
22 |
19 |
23 <FrameLayout |
20 <TabWidget |
24 android:id="@android:id/tabcontent" |
21 android:id="@android:id/tabs" |
25 android:layout_width="0dp" |
22 android:layout_width="wrap_content" |
26 android:layout_height="0dp"/> |
23 android:layout_height="match_parent" |
|
24 android:layout_weight="0" /> |
27 |
25 |
28 <android.support.v4.view.ViewPager |
26 <FrameLayout |
29 android:id="@+id/pager" |
27 android:id="@android:id/tabcontent" |
30 android:layout_width="match_parent" |
28 android:layout_width="0dip" |
31 android:layout_height="0dp" |
29 android:layout_height="match_parent" |
32 android:layout_weight="1"/> |
30 android:layout_weight="1" > |
33 |
31 |
34 </LinearLayout> |
32 <fragment |
35 </TabHost> |
33 android:id="@+id/roomListFragment" |
|
34 android:layout_width="fill_parent" |
|
35 android:layout_height="fill_parent" |
|
36 class="org.hedgewars.hedgeroid.netplay.RoomlistFragment" |
|
37 tools:layout="@layout/lobby_rooms_fragment" /> |
|
38 |
|
39 <fragment |
|
40 android:id="@+id/chatFragment" |
|
41 android:layout_width="fill_parent" |
|
42 android:layout_height="fill_parent" |
|
43 class="org.hedgewars.hedgeroid.netplay.LobbyChatFragment" |
|
44 tools:layout="@layout/lobby_chat_fragment" /> |
|
45 |
|
46 <fragment |
|
47 android:id="@+id/playerListFragment" |
|
48 android:layout_width="fill_parent" |
|
49 android:layout_height="fill_parent" |
|
50 class="org.hedgewars.hedgeroid.netplay.PlayerlistFragment" |
|
51 tools:layout="@layout/lobby_players_fragment" /> |
|
52 </FrameLayout> |
|
53 </LinearLayout> |
|
54 </TabHost> |
|
55 |
36 </FrameLayout> |
56 </FrameLayout> |