project_files/Android-build/SDL-android-project/res/layout/fragment_settings.xml
branchhedgeroid
changeset 7857 2bc61f8841a1
parent 7582 714310efad8f
equal deleted inserted replaced
7855:ddcdedd3330b 7857:2bc61f8841a1
       
     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:layout_marginLeft="5dip"
       
    31                 android:background="@drawable/dropdown" />
       
    32         </TableRow>
       
    33 
       
    34         <TableRow android:layout_marginTop="5dip" >
       
    35 
       
    36             <TextView
       
    37                 android:id="@+id/txtGamescheme"
       
    38                 android:layout_width="wrap_content"
       
    39                 android:layout_height="wrap_content"
       
    40                 android:text="@string/start_gamescheme" />
       
    41 
       
    42             <Spinner
       
    43                 android:id="@+id/spinGamescheme"
       
    44                 android:layout_width="wrap_content"
       
    45                 android:layout_height="wrap_content"
       
    46                 android:layout_marginLeft="5dip"
       
    47                 android:background="@drawable/dropdown" />
       
    48         </TableRow>
       
    49 
       
    50         <TableRow android:layout_marginTop="5dip" >
       
    51 
       
    52             <TextView
       
    53                 android:id="@+id/txtweapons"
       
    54                 android:layout_width="wrap_content"
       
    55                 android:layout_height="wrap_content"
       
    56                 android:text="@string/start_weapons" />
       
    57 
       
    58             <Spinner
       
    59                 android:id="@+id/spinweapons"
       
    60                 android:layout_width="wrap_content"
       
    61                 android:layout_height="wrap_content"
       
    62                 android:layout_marginLeft="5dip"
       
    63                 android:background="@drawable/dropdown" />
       
    64         </TableRow>
       
    65     </TableLayout>
       
    66 
       
    67     <ImageView
       
    68         android:id="@+id/imgTheme"
       
    69         android:layout_width="wrap_content"
       
    70         android:layout_height="wrap_content"
       
    71         android:layout_alignBottom="@+id/spinTheme"
       
    72         android:layout_alignLeft="@id/gameOptions"
       
    73         android:layout_alignTop="@id/spinTheme"
       
    74         android:adjustViewBounds="true" />
       
    75 
       
    76     <Spinner
       
    77         android:id="@id/spinTheme"
       
    78         android:layout_width="wrap_content"
       
    79         android:layout_height="wrap_content"
       
    80         android:layout_alignParentRight="true"
       
    81         android:layout_below="@id/gameOptions"
       
    82         android:layout_marginTop="5dip"
       
    83         android:layout_toRightOf="@+id/imgTheme"
       
    84         android:background="@drawable/dropdown" />
       
    85 
       
    86 </RelativeLayout>