diff options
Diffstat (limited to 'main/res/layout/editwaypoint_activity.xml')
-rw-r--r-- | main/res/layout/editwaypoint_activity.xml | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/main/res/layout/editwaypoint_activity.xml b/main/res/layout/editwaypoint_activity.xml index c21e25d..c11ffea 100644 --- a/main/res/layout/editwaypoint_activity.xml +++ b/main/res/layout/editwaypoint_activity.xml @@ -1,10 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="?background_color" android:orientation="vertical" - android:padding="4dip" > + android:padding="4dip" + tools:context=".EditWaypointActivity" > <LinearLayout android:layout_width="fill_parent" @@ -46,19 +48,22 @@ android:id="@+id/distanceUnit" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:entries="@array/distance_units" /> - </LinearLayout> + android:entries="@array/distance_units" + tools:listitem="@android:layout/simple_spinner_item" /> - <AutoCompleteTextView - android:id="@+id/name" - style="@style/edittext_full" - android:hint="@string/waypoint_name" /> + </LinearLayout> <Spinner android:id="@+id/type" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:visibility="gone" /> + android:visibility="gone" + tools:listitem="@android:layout/simple_spinner_item" /> + + <AutoCompleteTextView + android:id="@+id/name" + style="@style/edittext_full" + android:hint="@string/waypoint_name" /> <EditText android:id="@+id/note" |