diff options
| author | campbeb <bpcampbell@gmail.com> | 2013-06-11 20:34:17 -1000 |
|---|---|---|
| committer | campbeb <bpcampbell@gmail.com> | 2013-06-11 20:40:49 -1000 |
| commit | 4b4294d1bee8504a2041c2f823adaf9079525331 (patch) | |
| tree | 6f29a1a7c8eb060e6f77b352e7f97933dfb42d86 /main/res/layout/editwaypoint_activity.xml | |
| parent | a0284d6064a20ed3e884824fc8a518c23d87b209 (diff) | |
| download | cgeo-4b4294d1bee8504a2041c2f823adaf9079525331.zip cgeo-4b4294d1bee8504a2041c2f823adaf9079525331.tar.gz cgeo-4b4294d1bee8504a2041c2f823adaf9079525331.tar.bz2 | |
Fix #2007 - Save waypoint edits by refacotring EditWaypointActivity
Used Android Annotations. Let Android handle config change for views.
Remove unneeded code.
Diffstat (limited to 'main/res/layout/editwaypoint_activity.xml')
| -rw-r--r-- | main/res/layout/editwaypoint_activity.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main/res/layout/editwaypoint_activity.xml b/main/res/layout/editwaypoint_activity.xml index 657e9f4..cd0b46c 100644 --- a/main/res/layout/editwaypoint_activity.xml +++ b/main/res/layout/editwaypoint_activity.xml @@ -21,12 +21,14 @@ <Button android:id="@+id/buttonLatitude" style="@style/button_full" - android:hint="@string/latitude" /> + android:hint="@string/latitude" + android:freezesText="true" /> <Button android:id="@+id/buttonLongitude" style="@style/button_full" - android:hint="@string/longitude" /> + android:hint="@string/longitude" + android:freezesText="true" /> <EditText android:id="@+id/bearing" @@ -62,7 +64,8 @@ <Spinner android:id="@+id/type" android:layout_width="fill_parent" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:visibility="gone" /> <EditText android:id="@+id/note" |
