project_files/Android-build/SDL-android-project/res/layout/activity_localroom.xml
changeset 7582 714310efad8f
equal deleted inserted replaced
7580:c92596feac0d 7582:714310efad8f
       
     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                 
       
    46                 <LinearLayout
       
    47                     android:id="@+id/teamlistContainer"
       
    48                     android:layout_width="fill_parent"
       
    49                     android:layout_height="fill_parent"
       
    50                     android:orientation="vertical" >
       
    51 	                <fragment
       
    52 	                    android:id="@+id/teamlistFragment"
       
    53 	                    android:layout_width="fill_parent"
       
    54 	                    android:layout_height="0dp"
       
    55 	                    android:layout_weight="1"
       
    56 	                    class="org.hedgewars.hedgeroid.TeamlistFragment"
       
    57 	                    tools:layout="@layout/fragment_teamlist" />
       
    58 
       
    59                     <Button
       
    60                         android:id="@+id/startGame"
       
    61                         android:layout_width="120dp"
       
    62                         android:layout_height="40dp"
       
    63                         android:layout_gravity="right"
       
    64                         android:layout_marginTop="4dp"
       
    65                         android:background="@drawable/startgamebutton" />
       
    66                 </LinearLayout>
       
    67             </FrameLayout>
       
    68         </LinearLayout>
       
    69     </TabHost>
       
    70 
       
    71 </FrameLayout>