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 android:layout_width="fill_parent" |
5 android:layout_height="fill_parent"> |
5 android:layout_height="fill_parent"> |
6 <include layout="@layout/background"/> |
6 <include layout="@layout/background"/> |
|
7 <TabHost |
|
8 android:id="@android:id/tabhost" |
|
9 android:layout_width="match_parent" |
|
10 android:layout_height="match_parent"> |
7 |
11 |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
12 <LinearLayout |
9 xmlns:tools="http://schemas.android.com/tools" |
13 android:orientation="vertical" |
10 android:layout_width="match_parent" |
14 android:layout_width="match_parent" |
11 android:layout_height="match_parent" |
15 android:layout_height="match_parent"> |
12 android:orientation="vertical" |
16 |
13 android:padding="5dp" > |
17 <TabWidget |
14 |
18 android:id="@android:id/tabs" |
15 <FrameLayout |
19 android:orientation="horizontal" |
16 android:layout_width="fill_parent" |
20 android:layout_width="match_parent" |
17 android:layout_height="0dp" |
21 android:layout_height="wrap_content"/> |
18 android:layout_marginBottom="10dp" |
22 |
19 android:layout_weight="0.3" |
23 <FrameLayout |
20 android:background="@drawable/box" > |
24 android:id="@android:id/tabcontent" |
21 |
25 android:layout_width="0dp" |
22 <fragment |
26 android:layout_height="0dp"/> |
23 android:id="@+id/roomListFragment" |
27 |
24 android:layout_width="fill_parent" |
28 <android.support.v4.view.ViewPager |
25 android:layout_height="fill_parent" |
29 android:id="@+id/pager" |
26 class="org.hedgewars.hedgeroid.netplay.RoomlistFragment" |
30 android:layout_width="match_parent" |
27 tools:layout="@layout/lobby_rooms_fragment" /> |
31 android:layout_height="0dp" |
28 </FrameLayout> |
32 android:layout_weight="1"/> |
29 |
33 |
30 <LinearLayout |
34 </LinearLayout> |
31 android:layout_width="fill_parent" |
35 </TabHost> |
32 android:layout_height="0dp" |
|
33 android:layout_weight="0.7" |
|
34 android:baselineAligned="false" |
|
35 android:orientation="horizontal" > |
|
36 |
|
37 <FrameLayout |
|
38 android:layout_width="0dp" |
|
39 android:layout_height="fill_parent" |
|
40 android:layout_marginRight="10dp" |
|
41 android:layout_weight="0.7" |
|
42 android:background="@drawable/box" > |
|
43 |
|
44 <fragment |
|
45 android:id="@+id/chatFragment" |
|
46 android:layout_width="fill_parent" |
|
47 android:layout_height="fill_parent" |
|
48 class="org.hedgewars.hedgeroid.netplay.LobbyChatFragment" |
|
49 tools:layout="@layout/lobby_chat_fragment" /> |
|
50 </FrameLayout> |
|
51 |
|
52 <FrameLayout |
|
53 android:layout_width="0dp" |
|
54 android:layout_height="fill_parent" |
|
55 android:layout_weight="0.3" |
|
56 android:background="@drawable/box" > |
|
57 |
|
58 <fragment |
|
59 android:id="@+id/playerListFragment" |
|
60 android:layout_width="fill_parent" |
|
61 android:layout_height="fill_parent" |
|
62 class="org.hedgewars.hedgeroid.netplay.PlayerlistFragment" |
|
63 tools:layout="@layout/lobby_players_fragment" /> |
|
64 </FrameLayout> |
|
65 </LinearLayout> |
|
66 |
|
67 </LinearLayout> |
|
68 </FrameLayout> |
36 </FrameLayout> |