project_files/Android-build/SDL-android-project/res/layout/fragment_settings.xml
author Wuzzy <Wuzzy2@mail.ru>
Thu, 08 Mar 2018 16:49:49 +0100
changeset 13123 1ddb8aac5e30
parent 7582 714310efad8f
permissions -rw-r--r--
ACF: Reduce computer hog levels in missions 2 and 6. They were way too high, especially in mission 2. Mission 2: Weaklings: level 5 → level 1 (except Brainiac) Stronglings: (real) level 4 → level 2 Brainiac: level 1 → level 5 (because he's special) Looks like all levels were just flipped. Mission 5: First enemy team: level 5 → level 3 Reinforcements: level 5 → level 4 The high skill level punishes player mistakes too much.

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