project_files/Android-build/SDL-android-project/res/layout/main.xml
changeset 7582 714310efad8f
parent 7580 c92596feac0d
child 7584 7831c84cc644
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     android:layout_width="fill_parent"
       
     4     android:layout_height="fill_parent" >
       
     5 
       
     6     <include layout="@layout/background" />
       
     7 
       
     8     <RelativeLayout
       
     9         android:layout_width="fill_parent"
       
    10         android:layout_height="fill_parent" >
       
    11 
       
    12         <View
       
    13             android:id="@+id/placeholder"
       
    14             android:layout_width="0dp"
       
    15             android:layout_height="0dp"
       
    16             android:layout_centerInParent="true" />
       
    17 
       
    18         <FrameLayout
       
    19             android:id="@+id/frameLayout1"
       
    20             android:layout_width="wrap_content"
       
    21             android:layout_height="wrap_content"
       
    22             android:layout_alignParentBottom="true"
       
    23             android:layout_alignParentLeft="true"
       
    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 
       
    54 </FrameLayout>