Source

LocalTreasure / res / layout / selectdistance_act_layout.xml

Full commit
littledot5566 0adf1e7 











littledot5566 2a8084d 

littledot5566 0adf1e7 


























littledot5566 ae968f2 
<?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" >

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