project_files/Android-build/SDL-android-project/res/layout/activity_lobby.xml
changeset 7330 867e4fda496e
parent 7328 cd919a2ead4e
child 7346 b0f67c5b4215
equal deleted inserted replaced
7328:cd919a2ead4e 7330:867e4fda496e
     1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     2     xmlns:tools="http://schemas.android.com/tools"
     3     xmlns:tools="http://schemas.android.com/tools"
     3     android:layout_width="match_parent"
     4     android:layout_width="match_parent"
     4     android:layout_height="match_parent" >
     5     android:layout_height="match_parent"
       
     6     android:orientation="vertical"
       
     7     android:padding="5dp" >
     5 
     8 
     6     <TextView
     9     <FrameLayout
     7         android:id="@+id/textbox"
    10         android:layout_width="fill_parent"
     8         android:layout_width="wrap_content"
    11         android:layout_height="0dp"
     9         android:layout_height="wrap_content"
    12         android:layout_marginBottom="10dp"
    10         android:layout_alignParentLeft="true"
    13         android:layout_weight="0.3"
    11         android:layout_alignParentRight="true"
    14         android:background="@drawable/box" >
    12         android:layout_alignParentBottom="true"
       
    13         android:layout_below="@+id/editText"
       
    14         android:text=""
       
    15         tools:context=".LobbyActivity" />
       
    16 
    15 
    17     <EditText
    16         <fragment
    18         android:id="@+id/editText"
    17             android:id="@+id/roomListFragment"
    19         android:layout_width="wrap_content"
    18             android:layout_width="fill_parent"
    20         android:layout_height="wrap_content"
    19             android:layout_height="fill_parent"
    21         android:layout_alignParentLeft="true"
    20             class="org.hedgewars.hedgeroid.netplay.RoomlistFragment"
    22         android:layout_alignParentTop="true"
    21             tools:layout="@layout/lobby_rooms_fragment" />
    23         android:layout_toLeftOf="@+id/lobbySendButton"
    22     </FrameLayout>
    24         android:ems="10"
       
    25         android:inputType="text" />
       
    26 
    23 
    27     <Button
    24     <LinearLayout
    28         android:id="@+id/lobbySendButton"
    25         android:layout_width="fill_parent"
    29         android:layout_width="wrap_content"
    26         android:layout_height="0dp"
    30         android:layout_height="wrap_content"
    27         android:layout_weight="0.7"
    31         android:layout_alignParentRight="true"
    28         android:baselineAligned="false"
    32         android:layout_alignParentTop="true"
    29         android:orientation="horizontal" >
    33         android:text="Send" />
       
    34 
    30 
    35 </RelativeLayout>
    31         <FrameLayout
       
    32             android:layout_width="0dp"
       
    33             android:layout_height="fill_parent"
       
    34             android:layout_marginRight="10dp"
       
    35             android:layout_weight="0.7"
       
    36             android:background="@drawable/box" >
       
    37 
       
    38             <fragment
       
    39                 android:id="@+id/chatFragment"
       
    40                 android:layout_width="fill_parent"
       
    41                 android:layout_height="fill_parent"
       
    42                 class="org.hedgewars.hedgeroid.netplay.LobbyChatFragment"
       
    43                 tools:layout="@layout/lobby_chat_fragment" />
       
    44         </FrameLayout>
       
    45 
       
    46         <FrameLayout
       
    47             android:layout_width="0dp"
       
    48             android:layout_height="fill_parent"
       
    49             android:layout_weight="0.3"
       
    50             android:background="@drawable/box" >
       
    51 
       
    52             <fragment
       
    53                 android:id="@+id/playerListFragment"
       
    54                 android:layout_width="fill_parent"
       
    55                 android:layout_height="fill_parent"
       
    56                 class="org.hedgewars.hedgeroid.netplay.PlayerlistFragment"
       
    57                 tools:layout="@layout/lobby_players_fragment" />
       
    58         </FrameLayout>
       
    59     </LinearLayout>
       
    60 
       
    61 </LinearLayout>