project_files/Android-build/SDL-android-project/res/layout-large/activity_netroom.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     <RelativeLayout
       
    10         android:layout_width="fill_parent"
       
    11         android:layout_height="fill_parent"
       
    12         android:padding="2dp" >
       
    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="4dp"
       
    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_marginRight="4dp"
       
    30                 android:layout_weight="1"
       
    31                 android:background="@drawable/box" >
       
    32 
       
    33                 <fragment
       
    34                     android:id="@+id/mapFragment"
       
    35                     android:layout_width="fill_parent"
       
    36                     android:layout_height="fill_parent"
       
    37                     class="org.hedgewars.hedgeroid.MapFragment"
       
    38                     tools:layout="@layout/fragment_map" />
       
    39             </FrameLayout>
       
    40 
       
    41             <FrameLayout
       
    42                 android:id="@+id/settingsFrame"
       
    43                 android:layout_width="0dp"
       
    44                 android:layout_height="wrap_content"
       
    45                 android:layout_marginRight="4dp"
       
    46                 android:layout_weight="1"
       
    47                 android:background="@drawable/box" >
       
    48 
       
    49                 <fragment
       
    50                     android:id="@+id/settingsFragment"
       
    51                     android:layout_width="fill_parent"
       
    52                     android:layout_height="fill_parent"
       
    53                     class="org.hedgewars.hedgeroid.SettingsFragment"
       
    54                     tools:layout="@layout/fragment_settings" />
       
    55             </FrameLayout>
       
    56 
       
    57             <FrameLayout
       
    58                 android:id="@+id/teamsFrame"
       
    59                 android:layout_width="0dp"
       
    60                 android:layout_height="fill_parent"
       
    61                 android:layout_weight="1"
       
    62                 android:background="@drawable/box" >
       
    63 
       
    64                 <fragment
       
    65                     android:id="@+id/teamsFragment"
       
    66                     android:layout_width="fill_parent"
       
    67                     android:layout_height="fill_parent"
       
    68                     class="org.hedgewars.hedgeroid.TeamlistFragment"
       
    69                     tools:layout="@layout/fragment_teamlist" />
       
    70             </FrameLayout>
       
    71         </LinearLayout>
       
    72 
       
    73         <FrameLayout
       
    74             android:id="@+id/playerFrame"
       
    75             android:layout_width="200dp"
       
    76             android:layout_height="fill_parent"
       
    77             android:layout_above="@+id/startGame"
       
    78             android:layout_alignParentRight="true"
       
    79             android:layout_below="@id/upperFrame"
       
    80             android:background="@drawable/box" >
       
    81 
       
    82             <fragment
       
    83                 android:id="@+id/playerListFragment"
       
    84                 android:layout_width="fill_parent"
       
    85                 android:layout_height="fill_parent"
       
    86                 class="org.hedgewars.hedgeroid.RoomPlayerlistFragment"
       
    87                 tools:layout="@layout/fragment_playerlist" />
       
    88         </FrameLayout>
       
    89 
       
    90         <FrameLayout
       
    91             android:layout_width="0dp"
       
    92             android:layout_height="fill_parent"
       
    93             android:layout_alignParentBottom="true"
       
    94             android:layout_alignParentLeft="true"
       
    95             android:layout_below="@id/upperFrame"
       
    96             android:layout_marginRight="4dp"
       
    97             android:layout_toLeftOf="@id/playerFrame"
       
    98             android:background="@drawable/box" >
       
    99 
       
   100             <fragment
       
   101                 android:id="@+id/chatFragment"
       
   102                 android:layout_width="fill_parent"
       
   103                 android:layout_height="fill_parent"
       
   104                 class="org.hedgewars.hedgeroid.ChatFragment"
       
   105                 tools:layout="@layout/fragment_chat" />
       
   106         </FrameLayout>
       
   107 
       
   108         <Button
       
   109             android:id="@id/startGame"
       
   110             android:layout_width="200dp"
       
   111             android:layout_height="67dp"
       
   112             android:layout_marginTop="4dp"
       
   113             android:layout_alignParentBottom="true"
       
   114             android:layout_alignParentRight="true"
       
   115             android:background="@drawable/startgamebutton" />
       
   116 
       
   117     </RelativeLayout>
       
   118 
       
   119 </FrameLayout>