project_files/Android-build/SDL-android-project/res/layout/fragment_settings.xml
author alfadur
Sat, 11 Jul 2020 01:09:56 +0300
changeset 15714 7a4b719ac611
parent 7582 714310efad8f
permissions -rw-r--r--
prevent sentries from getting stuck in the corners

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingBottom="3dp"
    android:paddingLeft="5dp"
    android:paddingRight="3dp"
    android:paddingTop="3dp" >

    <TableLayout
        android:id="@+id/gameOptions"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:stretchColumns="1" >

        <TableRow>

            <TextView
                android:id="@+id/txtGameplay"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/start_gameplay" />

            <Spinner
                android:id="@+id/spinGameplay"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dip"
                android:background="@drawable/dropdown" />
        </TableRow>

        <TableRow android:layout_marginTop="5dip" >

            <TextView
                android:id="@+id/txtGamescheme"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/start_gamescheme" />

            <Spinner
                android:id="@+id/spinGamescheme"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dip"
                android:background="@drawable/dropdown" />
        </TableRow>

        <TableRow android:layout_marginTop="5dip" >

            <TextView
                android:id="@+id/txtweapons"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/start_weapons" />

            <Spinner
                android:id="@+id/spinweapons"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dip"
                android:background="@drawable/dropdown" />
        </TableRow>
    </TableLayout>

    <ImageView
        android:id="@+id/imgTheme"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBottom="@+id/spinTheme"
        android:layout_alignLeft="@id/gameOptions"
        android:layout_alignTop="@id/spinTheme"
        android:adjustViewBounds="true" />

    <Spinner
        android:id="@id/spinTheme"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_below="@id/gameOptions"
        android:layout_marginTop="5dip"
        android:layout_toRightOf="@+id/imgTheme"
        android:background="@drawable/dropdown" />

</RelativeLayout>