project_files/Android-build/SDL-android-project/res/layout/activity_netroom.xml
changeset 7582 714310efad8f
parent 7552 1209e1c3c620
equal deleted inserted replaced
7580:c92596feac0d 7582:714310efad8f
     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 
     6 
     7     <include layout="@layout/background" />
     7     <include layout="@layout/background" />
     8 
     8 
     9     <RelativeLayout
     9     <TabHost
    10         android:layout_width="fill_parent"
    10         android:id="@android:id/tabhost"
    11         android:layout_height="fill_parent"
    11         android:layout_width="match_parent"
    12         android:padding="5dp" >
    12         android:layout_height="match_parent" >
    13 
    13 
    14         <LinearLayout
    14         <LinearLayout
    15             android:id="@+id/upperFrame"
    15             android:layout_width="match_parent"
    16             android:layout_width="fill_parent"
    16             android:layout_height="match_parent"
    17             android:layout_height="wrap_content"
    17             android:orientation="horizontal" >
    18             android:layout_alignParentLeft="true"
    18 
    19             android:layout_alignParentRight="true"
    19             <TabWidget
    20             android:layout_alignParentTop="true"
    20                 android:id="@android:id/tabs"
    21             android:layout_marginBottom="10dp"
    21                 android:layout_width="wrap_content"
    22             android:baselineAligned="false"
    22                 android:layout_height="match_parent"
    23             android:minHeight="200dp" >
    23                 android:layout_weight="0" />
    24             
    24 
    25             <FrameLayout
    25             <FrameLayout
    26                 android:id="@+id/mapFrame"
    26                 android:id="@android:id/tabcontent"
    27                 android:layout_width="0dp"
    27                 android:layout_width="0dip"
    28                 android:layout_height="wrap_content"
    28                 android:layout_height="match_parent"
    29                 android:layout_marginRight="10dp"
    29                 android:layout_weight="1" >
    30                 android:layout_weight="1"
       
    31                 android:background="@drawable/box" >
       
    32 
    30 
    33                 <fragment
    31                 <fragment
    34                     android:id="@+id/mapFragment"
    32                     android:id="@+id/mapFragment"
    35                     android:layout_width="fill_parent"
    33                     android:layout_width="fill_parent"
    36                     android:layout_height="fill_parent"
    34                     android:layout_height="fill_parent"
    37                     class="org.hedgewars.hedgeroid.MapFragment"
    35                     class="org.hedgewars.hedgeroid.MapFragment"
    38                     tools:layout="@layout/fragment_map" />
    36                     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="10dp"
       
    46                 android:layout_weight="1"
       
    47                 android:background="@drawable/box" >
       
    48 
    37 
    49                 <fragment
    38                 <fragment
    50                     android:id="@+id/settingsFragment"
    39                     android:id="@+id/settingsFragment"
    51                     android:layout_width="fill_parent"
    40                     android:layout_width="fill_parent"
    52                     android:layout_height="fill_parent"
    41                     android:layout_height="fill_parent"
    53                     class="org.hedgewars.hedgeroid.SettingsFragment"
    42                     class="org.hedgewars.hedgeroid.SettingsFragment"
    54                     tools:layout="@layout/fragment_settings" />
    43                     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 
    44 
    64                 <fragment
    45                 <fragment
    65                     android:id="@+id/teamsFragment"
    46                     android:id="@+id/teamlistFragment"
    66                     android:layout_width="fill_parent"
    47                     android:layout_width="fill_parent"
    67                     android:layout_height="fill_parent"
    48                     android:layout_height="fill_parent"
    68                     class="org.hedgewars.hedgeroid.TeamlistFragment"
    49                     class="org.hedgewars.hedgeroid.TeamlistFragment"
    69                     tools:layout="@layout/fragment_teamlist" />
    50                     tools:layout="@layout/fragment_teamlist" />
       
    51 
       
    52                 <fragment
       
    53                     android:id="@+id/chatFragment"
       
    54                     android:layout_width="fill_parent"
       
    55                     android:layout_height="fill_parent"
       
    56                     class="org.hedgewars.hedgeroid.ChatFragment"
       
    57                     tools:layout="@layout/fragment_chat" />
       
    58 
       
    59                 <LinearLayout
       
    60                     android:id="@+id/playerListContainer"
       
    61                     android:layout_width="fill_parent"
       
    62                     android:layout_height="fill_parent"
       
    63                     android:orientation="vertical" >
       
    64 
       
    65                     <fragment
       
    66                         android:id="@+id/playerListFragment"
       
    67                         android:layout_width="fill_parent"
       
    68                         android:layout_height="0dp"
       
    69                         android:layout_weight="1"
       
    70                         class="org.hedgewars.hedgeroid.RoomPlayerlistFragment"
       
    71                         tools:layout="@layout/fragment_playerlist" />
       
    72 
       
    73                     <Button
       
    74                         android:id="@+id/startGame"
       
    75                         android:layout_width="120dp"
       
    76                         android:layout_height="40dp"
       
    77                         android:layout_gravity="right"
       
    78                         android:layout_marginTop="4dp"
       
    79                         android:background="@drawable/startgamebutton" />
       
    80                 </LinearLayout>
    70             </FrameLayout>
    81             </FrameLayout>
    71         </LinearLayout>
    82         </LinearLayout>
    72 
    83     </TabHost>
    73         <FrameLayout
       
    74             android:id="@+id/playerFrame"
       
    75             android:layout_width="200dp"
       
    76             android:layout_height="fill_parent"
       
    77             android:layout_alignParentBottom="true"
       
    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="10dp"
       
    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     </RelativeLayout>
       
   108 
    84 
   109 </FrameLayout>
    85 </FrameLayout>