/Code/res/layout/single.xml
https://bitbucket.org/DeveloperUX/behaviortree · XML · 151 lines · 148 code · 3 blank · 0 comment · 0 complexity · 9da9ef7eada0aa8073e5fe88e9dab705 MD5 · raw file
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- android:id="@+id/single_layout"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical"
- android:gravity="center_horizontal"
- xmlns:android="http://schemas.android.com/apk/res/android"
- >
- <TextView
- android:id="@+id/single_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="20px"
- android:text="@string/single_title"
- android:textSize="18sp"
- android:layout_centerHorizontal="true"
- android:layout_alignParentTop="true"
- >
- </TextView>
- <ScrollView
- android:id="@+id/single_layout_scroll"
- android:layout_marginTop="10px"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_below="@+id/single_title"
- android:gravity="center_horizontal"
- xmlns:android="http://schemas.android.com/apk/res/android"
- >
- <LinearLayout
- android:id="@+id/single_layout_inner_scroll"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical"
- android:gravity="left"
- android:layout_gravity="center_horizontal"
- xmlns:android="http://schemas.android.com/apk/res/android"
- >
- <TextView
- android:id="@+id/gallery_single_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Choose a map:"
- >
- </TextView>
- <Gallery
- android:id="@+id/maps_single_gal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- >
- </Gallery>
- <TextView
- android:id="@+id/color_single_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Color for player 1:"
- >
- </TextView>
- <Spinner
- android:id="@+id/color_single_spin"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:prompt="@string/color_prompt"
- >
- </Spinner>
- <TextView
- android:id="@+id/op_single_layout"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Number of opponents:"
- >
- </TextView>
- <Spinner
- android:id="@+id/op_single_spin"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:prompt="@string/op_single_prompt"
- >
- </Spinner>
- <TextView
- android:id="@+id/control_single_layout"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Control mode:"
- >
- </TextView>
- <Spinner
- android:id="@+id/control_single_spin"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:prompt="@string/control_prompt"
- >
- </Spinner>
- <CheckBox
- android:id="@+id/minimap_single_check"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Show Minimap"
- >
- </CheckBox>
- <CheckBox
- android:id="@+id/powerups_single_check"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Power-Ups"
- >
- </CheckBox>
- <TextView
- android:id="@+id/single_bottom_filler_text_do_not_remove"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10px"
- android:lines="3"
- android:text=""
- >
- </TextView>
- </LinearLayout>
- </ScrollView>
- <LinearLayout
- android:id="@+id/bottom_buttons_single_layout"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:orientation="horizontal"
- android:layout_alignParentBottom="true"
- android:weightSum="2"
- >
- <Button
- android:id="@+id/back_single_but"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Back"
- android:gravity="center_horizontal"
- android:layout_weight="1"
- >
- </Button>
- <Button
- android:id="@+id/ok_single_but"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Play!"
- android:gravity="center_horizontal"
- android:layout_weight="1"
- >
- </Button>
- </LinearLayout>
- </RelativeLayout>