project_files/Android-build/SDL-android-project/res/layout/main.xml
changeset 7444 2e31f114f57e
parent 7328 cd919a2ead4e
equal deleted inserted replaced
7439:0a494f951dcf 7444:2e31f114f57e
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <FrameLayout
     2 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3 	xmlns:android="http://schemas.android.com/apk/res/android"
       
     4   	android:layout_width="fill_parent"
       
     5 	android:layout_height="fill_parent">
       
     6 	<include layout="@layout/background"/>
       
     7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
       
     8     android:orientation="vertical"
       
     9     android:layout_width="fill_parent"
     3     android:layout_width="fill_parent"
    10     android:layout_height="fill_parent"
     4     android:layout_height="fill_parent" >
    11     >    
     5 
    12     <Button
     6     <include layout="@layout/background" />
    13     	android:id="@+id/downloader"
     7 
    14     	android:layout_width="wrap_content"
     8     <RelativeLayout
    15     	android:layout_height="wrap_content"
     9         android:layout_width="fill_parent"
    16     	android:text="downloader"/>
    10         android:layout_height="fill_parent" >
    17     	
    11 
    18     <Button
    12         <View
    19     	android:id="@+id/startGame"
    13             android:id="@+id/placeholder"
    20     	android:layout_width="wrap_content"
    14             android:layout_width="0dp"
    21     	android:layout_height="wrap_content"
    15             android:layout_height="0dp"
    22     	android:text="startgame"/>
    16             android:layout_centerInParent="true" />
    23     	
    17 
    24     <Button
    18         <FrameLayout
    25     	android:id="@+id/joinLobby"
    19             android:id="@+id/frameLayout1"
    26     	android:layout_width="wrap_content"
    20             android:layout_width="wrap_content"
    27     	android:layout_height="wrap_content"
    21             android:layout_height="wrap_content"
    28     	android:text="join lobby"/>
    22             android:layout_alignParentBottom="true"
    29     
    23             android:layout_alignParentLeft="true"
    30 </LinearLayout>
    24             android:layout_alignParentTop="true"
       
    25             android:layout_toLeftOf="@id/placeholder" >
       
    26 
       
    27             <Button
       
    28                 android:id="@+id/startGame"
       
    29                 android:layout_width="wrap_content"
       
    30                 android:layout_height="wrap_content"
       
    31                 android:layout_gravity="center"
       
    32                 android:drawableTop="@drawable/button_local_play"
       
    33                 android:text="@string/main_button_localplay" />
       
    34         </FrameLayout>
       
    35 
       
    36         <FrameLayout
       
    37             android:layout_width="wrap_content"
       
    38             android:layout_height="wrap_content"
       
    39             android:layout_alignParentBottom="true"
       
    40             android:layout_alignParentRight="true"
       
    41             android:layout_alignParentTop="true"
       
    42             android:layout_toRightOf="@id/placeholder" >
       
    43 
       
    44             <Button
       
    45                 android:id="@+id/joinLobby"
       
    46                 android:layout_width="wrap_content"
       
    47                 android:layout_height="wrap_content"
       
    48                 android:layout_gravity="center"
       
    49                 android:drawableTop="@drawable/button_network_play"
       
    50                 android:text="@string/main_button_netplay" />
       
    51         </FrameLayout>
       
    52     </RelativeLayout>
       
    53 
    31 </FrameLayout>
    54 </FrameLayout>