project_files/Android-build/SDL-android-project/res/layout/fragment_settings.xml
changeset 7449 2e63537b44f3
child 7582 714310efad8f
equal deleted inserted replaced
7444:2e31f114f57e 7449:2e63537b44f3
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
       
     3     xmlns:tools="http://schemas.android.com/tools"
       
     4     android:layout_width="wrap_content"
       
     5     android:layout_height="wrap_content"
       
     6     android:orientation="vertical"
       
     7     android:paddingBottom="3dp"
       
     8     android:paddingLeft="5dp"
       
     9     android:paddingRight="3dp"
       
    10     android:paddingTop="3dp" >
       
    11 
       
    12     <TableLayout
       
    13         android:id="@+id/gameOptions"
       
    14         android:layout_width="fill_parent"
       
    15         android:layout_height="wrap_content"
       
    16         android:stretchColumns="1" >
       
    17 
       
    18         <TableRow>
       
    19 
       
    20             <TextView
       
    21                 android:id="@+id/txtGameplay"
       
    22                 android:layout_width="wrap_content"
       
    23                 android:layout_height="wrap_content"
       
    24                 android:text="@string/start_gameplay" />
       
    25 
       
    26             <Spinner
       
    27                 android:id="@+id/spinGameplay"
       
    28                 android:layout_width="wrap_content"
       
    29                 android:layout_height="wrap_content"
       
    30                 android:background="@drawable/dropdown" />
       
    31         </TableRow>
       
    32 
       
    33         <TableRow>
       
    34 
       
    35             <TextView
       
    36                 android:id="@+id/txtGamescheme"
       
    37                 android:layout_width="wrap_content"
       
    38                 android:layout_height="wrap_content"
       
    39                 android:text="@string/start_gamescheme" />
       
    40 
       
    41             <Spinner
       
    42                 android:id="@+id/spinGamescheme"
       
    43                 android:layout_width="wrap_content"
       
    44                 android:layout_height="wrap_content"
       
    45                 android:background="@drawable/dropdown" />
       
    46         </TableRow>
       
    47 
       
    48         <TableRow>
       
    49 
       
    50             <TextView
       
    51                 android:id="@+id/txtweapons"
       
    52                 android:layout_width="wrap_content"
       
    53                 android:layout_height="wrap_content"
       
    54                 android:text="@string/start_weapons" />
       
    55 
       
    56             <Spinner
       
    57                 android:id="@+id/spinweapons"
       
    58                 android:layout_width="wrap_content"
       
    59                 android:layout_height="wrap_content"
       
    60                 android:background="@drawable/dropdown" />
       
    61         </TableRow>
       
    62     </TableLayout>
       
    63 
       
    64     <ImageView
       
    65         android:id="@+id/imgTheme"
       
    66         android:layout_width="wrap_content"
       
    67         android:layout_height="wrap_content"
       
    68         android:layout_alignBottom="@+id/spinTheme"
       
    69         android:layout_alignLeft="@id/gameOptions"
       
    70         android:layout_alignTop="@id/spinTheme"
       
    71         android:adjustViewBounds="true" />
       
    72 
       
    73     <Spinner
       
    74         android:id="@id/spinTheme"
       
    75         android:layout_width="wrap_content"
       
    76         android:layout_height="wrap_content"
       
    77         android:layout_alignParentRight="true"
       
    78         android:layout_below="@id/gameOptions"
       
    79         android:layout_toRightOf="@+id/imgTheme"
       
    80         android:background="@drawable/dropdown" />
       
    81 
       
    82 </RelativeLayout>