project_files/Android-build/SDL-android-project/res/layout/fragment_settings.xml
author Vittorio Giovara <vittorio.giovara@gmail.com>
Fri, 03 Jan 2014 07:09:28 -0800
changeset 9923 5071f5682733
parent 7582 714310efad8f
permissions -rw-r--r--
Merge pull request #7 from LocutusOfBorg/fix-FPIC Fixed fPIC link failure with arm and sparc architectures, fixing issue #757

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