project_files/Android-build/SDL-android-project/res/layout/activity_netroom.xml
changeset 7449 2e63537b44f3
child 7455 8e86d8d2927d
equal deleted inserted replaced
7444:2e31f114f57e 7449:2e63537b44f3
       
     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     <RelativeLayout
       
    10         android:layout_width="fill_parent"
       
    11         android:layout_height="fill_parent"
       
    12         android:padding="5dp" >
       
    13 
       
    14         <LinearLayout
       
    15             android:id="@+id/upperFrame"
       
    16             android:layout_width="fill_parent"
       
    17             android:layout_height="wrap_content"
       
    18             android:layout_alignParentLeft="true"
       
    19             android:layout_alignParentRight="true"
       
    20             android:layout_alignParentTop="true"
       
    21             android:layout_marginBottom="10dp"
       
    22             android:baselineAligned="false"
       
    23             android:minHeight="200dp" >
       
    24 
       
    25             <FrameLayout
       
    26                 android:id="@+id/mapFrame"
       
    27                 android:layout_width="0dp"
       
    28                 android:layout_height="wrap_content"
       
    29                 android:layout_weight="1"
       
    30                 android:layout_marginRight="10dp"
       
    31                 android:background="@drawable/box" >
       
    32 
       
    33                 <fragment
       
    34                     android:id="@+id/mapFragment"
       
    35                     class="org.hedgewars.hedgeroid.netplay.MapFragment"
       
    36                     tools:layout="@layout/fragment_map" />
       
    37             </FrameLayout>
       
    38 
       
    39             <FrameLayout
       
    40                 android:id="@+id/settingsFrame"
       
    41                 android:layout_width="0dp"
       
    42                 android:layout_height="wrap_content"
       
    43                 android:layout_marginRight="10dp"
       
    44                 android:layout_weight="1"
       
    45                 android:background="@drawable/box" >
       
    46 
       
    47                 <fragment
       
    48                     android:id="@+id/settingsFragment"
       
    49                     class="org.hedgewars.hedgeroid.netplay.SettingsFragment"
       
    50                     tools:layout="@layout/fragment_settings" />
       
    51             </FrameLayout>
       
    52 
       
    53             <FrameLayout
       
    54                 android:id="@+id/teamsFrame"
       
    55                 android:layout_width="0dp"
       
    56                 android:layout_height="fill_parent"
       
    57                 android:layout_weight="1"
       
    58                 android:background="@drawable/box" >
       
    59 
       
    60                 <fragment
       
    61                     android:id="@+id/teamsFragment"
       
    62                     class="org.hedgewars.hedgeroid.netplay.TeamsFragment"
       
    63                     tools:layout="@layout/fragment_teamlist" />
       
    64 
       
    65             </FrameLayout>
       
    66         </LinearLayout>
       
    67 
       
    68         <FrameLayout
       
    69             android:id="@+id/playerFrame"
       
    70             android:layout_width="200dp"
       
    71             android:layout_height="fill_parent"
       
    72             android:layout_alignParentBottom="true"
       
    73             android:layout_alignParentRight="true"
       
    74             android:layout_below="@id/upperFrame"
       
    75             android:background="@drawable/box" >
       
    76 
       
    77             <fragment
       
    78                 android:id="@+id/playerListFragment"
       
    79                 android:layout_width="fill_parent"
       
    80                 android:layout_height="fill_parent"
       
    81                 class="org.hedgewars.hedgeroid.netplay.PlayerlistFragment"
       
    82                 tools:layout="@layout/lobby_players_fragment" />
       
    83         </FrameLayout>
       
    84 
       
    85         <FrameLayout
       
    86             android:layout_width="0dp"
       
    87             android:layout_height="fill_parent"
       
    88             android:layout_alignParentBottom="true"
       
    89             android:layout_alignParentLeft="true"
       
    90             android:layout_below="@id/upperFrame"
       
    91             android:layout_marginRight="10dp"
       
    92             android:layout_toLeftOf="@id/playerFrame"
       
    93             android:background="@drawable/box" >
       
    94 
       
    95             <fragment
       
    96                 android:id="@+id/chatFragment"
       
    97                 android:layout_width="fill_parent"
       
    98                 android:layout_height="fill_parent"
       
    99                 class="org.hedgewars.hedgeroid.netplay.LobbyChatFragment"
       
   100                 tools:layout="@layout/fragment_chat" />
       
   101         </FrameLayout>
       
   102     </RelativeLayout>
       
   103 
       
   104 </FrameLayout>