project_files/Android-build/SDL-android-project/res/layout/fragment_settings.xml
author Wuzzy <Wuzzy2@mail.ru>
Thu, 08 Oct 2020 12:33:14 +0200
changeset 15742 0b5aea8e5eab
parent 7582 714310efad8f
permissions -rw-r--r--
Fix hammer not digging when hitting hog with 0 health

<?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>