project_files/Android-build/SDL-android-project/res/layout/activity_lobby.xml
branchhedgeroid
changeset 7857 2bc61f8841a1
parent 7582 714310efad8f
equal deleted inserted replaced
7855:ddcdedd3330b 7857:2bc61f8841a1
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <FrameLayout
       
     3     xmlns:android="http://schemas.android.com/apk/res/android"
       
     4     xmlns:tools="http://schemas.android.com/tools"
       
     5     android:layout_width="fill_parent"
       
     6     android:layout_height="fill_parent" >
       
     7 
       
     8     <include layout="@layout/background" />
       
     9 
       
    10     <TabHost
       
    11         android:id="@android:id/tabhost"
       
    12         android:layout_width="match_parent"
       
    13         android:layout_height="match_parent" >
       
    14 
       
    15         <LinearLayout
       
    16             android:layout_width="match_parent"
       
    17             android:layout_height="match_parent"
       
    18             android:orientation="horizontal" >
       
    19 
       
    20             <TabWidget
       
    21                 android:id="@android:id/tabs"
       
    22                 android:layout_width="wrap_content"
       
    23                 android:layout_height="match_parent"
       
    24                 android:layout_weight="0" />
       
    25 
       
    26             <FrameLayout
       
    27                 android:id="@android:id/tabcontent"
       
    28                 android:layout_width="0dip"
       
    29                 android:layout_height="match_parent"
       
    30                 android:layout_weight="1" >
       
    31 
       
    32                 <fragment
       
    33                     android:id="@+id/roomListFragment"
       
    34                     android:layout_width="fill_parent"
       
    35                     android:layout_height="fill_parent"
       
    36                     class="org.hedgewars.hedgeroid.RoomlistFragment"
       
    37                     tools:layout="@layout/fragment_roomlist" />
       
    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.ChatFragment"
       
    44                     tools:layout="@layout/fragment_chat" />
       
    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.LobbyPlayerlistFragment"
       
    51                     tools:layout="@layout/fragment_playerlist" />
       
    52             </FrameLayout>
       
    53         </LinearLayout>
       
    54     </TabHost>
       
    55 
       
    56 </FrameLayout>