Source

LocalTreasure / res / layout / expeditionconfig_act.xml

littledot5566 37f4001 
































































<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal" >

        <CheckBox
            android:id="@+id/config_cb_oneway"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:checked="true"
            android:onClick="onClick"
            android:text="One-way" />

        <CheckBox
            android:id="@+id/config_cb_toandfro"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:checked="false"
            android:onClick="onClick"
            android:text="To-and-fro" />
    </LinearLayout>

    <Button
        android:id="@+id/distance_but_500m"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:onClick="onChooseDistance"
        android:text="@string/distance_but_500m" />

    <Button
        android:id="@+id/distance_but_1000m"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:onClick="onChooseDistance"
        android:text="1000m" />

    <LinearLayout
        android:id="@+id/distance_ll_custom"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="horizontal" >

        <EditText
            android:id="@+id/distance_et_custom"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:hint="@string/distance_et_custom"
            android:inputType="numberDecimal" />

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:onClick="onChooseCustomDistance"
            android:text="Go!" />
    </LinearLayout>

</LinearLayout>