aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/coords.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/res/layout/coords.xml')
-rw-r--r--main/res/layout/coords.xml288
1 files changed, 177 insertions, 111 deletions
diff --git a/main/res/layout/coords.xml b/main/res/layout/coords.xml
index 3adcb2a..577a2f2 100644
--- a/main/res/layout/coords.xml
+++ b/main/res/layout/coords.xml
@@ -1,118 +1,184 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/linearLayout1"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="?background_color">
- <LinearLayout style="@style/action_bar">
- <TextView style="@style/action_bar_title"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/linearLayout1"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="?background_color"
+ android:orientation="vertical" >
+
+ <LinearLayout style="@style/action_bar" >
+
+ <TextView
+ style="@style/action_bar_title"
android:text="@string/cache_coordinates" />
+
<View style="@style/action_bar_separator" />
- <ImageView android:id="@+id/actionBarManualbutton"
+
+ <ImageView
+ android:id="@+id/actionBarManualbutton"
style="@style/action_bar_action"
android:src="@drawable/actionbar_manual" />
</LinearLayout>
- <ScrollView android:id="@+id/scroller"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:fillViewport="true" >
- <LinearLayout android:id="@+id/scroller_child"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <Spinner android:id="@+id/spinnerCoordinateFormats"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/coordTable"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:stretchColumns="0,1,3,5,7"
- android:layout_weight="1">
- <TableRow android:id="@+id/tableRow1">
- <Button android:id="@+id/ButtonLat"
- style="@style/button_full"/>
- <EditText style="@style/edittext_full"
- android:id="@+id/EditTextLatDeg"
- android:gravity="right"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- <TextView android:id="@+id/LatSeparator1"
- android:text="°" />
- <EditText android:id="@+id/EditTextLatMin"
- style="@style/edittext_full"
- android:gravity="right"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- <TextView android:id="@+id/LatSeparator2"
- android:text="," />
- <EditText android:id="@+id/EditTextLatSec"
- style="@style/edittext_full"
- android:gravity="right"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- <TextView android:id="@+id/LatSeparator3"
- android:text="," />
- <EditText android:id="@+id/EditTextLatSecFrac"
- style="@style/edittext_full"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- </TableRow>
- <TableRow android:id="@+id/tableRow2">
- <Button android:id="@+id/ButtonLon"
- style="@style/button_full"/>
- <EditText android:id="@+id/EditTextLonDeg"
- style="@style/edittext_full"
- android:gravity="right"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- <TextView android:id="@+id/LonSeparator1"
- android:text="°" />
- <EditText android:id="@+id/EditTextLonMin"
- style="@style/edittext_full"
- android:gravity="right"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- <TextView android:id="@+id/LonSeparator2"
- android:text="," />
- <EditText android:id="@+id/EditTextLonSec"
- style="@style/edittext_full"
- android:gravity="right"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- <TextView android:id="@+id/LonSeparator3"
- android:text="," />
- <EditText android:id="@+id/EditTextLonSecFrac"
- style="@style/edittext_full"
- android:inputType="number"
- android:selectAllOnFocus="true" />
- </TableRow>
- </TableLayout>
- <EditText style="@style/edittext_full"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/latitude"
- android:hint="@string/latitude" />
- <EditText style="@style/edittext_full"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/longitude"
- android:hint="@string/longitude" />
- <Button style="@style/button_full"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/current"
- android:text="@string/waypoint_my_coordinates" />
- <Button style="@style/button_full"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/cache"
- android:text="@string/waypoint_cache_coordinates" />
- <Button style="@style/button_full"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/done"
- android:text="@string/waypoint_done" />
- </LinearLayout>
+
+ <ScrollView
+ android:id="@+id/scroller"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true" >
+
+ <LinearLayout
+ android:id="@+id/scroller_child"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <Spinner
+ android:id="@+id/spinnerCoordinateFormats"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <TableLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/coordTable"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:stretchColumns="0,1,3,5,7" >
+
+ <TableRow android:id="@+id/tableRow1" >
+
+ <Button
+ android:id="@+id/ButtonLat"
+ style="@style/button_full" />
+
+ <EditText
+ android:id="@+id/EditTextLatDeg"
+ style="@style/edittext_full"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+
+ <TextView
+ android:id="@+id/LatSeparator1"
+ android:text="°"
+ tools:ignore="HardcodedText" />
+
+ <EditText
+ android:id="@+id/EditTextLatMin"
+ style="@style/edittext_full"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+
+ <TextView
+ android:id="@+id/LatSeparator2"
+ android:text=","
+ tools:ignore="HardcodedText" />
+
+ <EditText
+ android:id="@+id/EditTextLatSec"
+ style="@style/edittext_full"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+
+ <TextView
+ android:id="@+id/LatSeparator3"
+ android:text=","
+ tools:ignore="HardcodedText" />
+
+ <EditText
+ android:id="@+id/EditTextLatSecFrac"
+ style="@style/edittext_full"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ </TableRow>
+
+ <TableRow android:id="@+id/tableRow2" >
+
+ <Button
+ android:id="@+id/ButtonLon"
+ style="@style/button_full" />
+
+ <EditText
+ android:id="@+id/EditTextLonDeg"
+ style="@style/edittext_full"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+
+ <TextView
+ android:id="@+id/LonSeparator1"
+ android:text="°"
+ tools:ignore="HardcodedText" />
+
+ <EditText
+ android:id="@+id/EditTextLonMin"
+ style="@style/edittext_full"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+
+ <TextView
+ android:id="@+id/LonSeparator2"
+ android:text=","
+ tools:ignore="HardcodedText" />
+
+ <EditText
+ android:id="@+id/EditTextLonSec"
+ style="@style/edittext_full"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+
+ <TextView
+ android:id="@+id/LonSeparator3"
+ android:text=","
+ tools:ignore="HardcodedText" />
+
+ <EditText
+ android:id="@+id/EditTextLonSecFrac"
+ style="@style/edittext_full"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ </TableRow>
+ </TableLayout>
+
+ <EditText
+ android:id="@+id/latitude"
+ style="@style/edittext_full"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/latitude" />
+
+ <EditText
+ android:id="@+id/longitude"
+ style="@style/edittext_full"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/longitude" />
+
+ <Button
+ android:id="@+id/current"
+ style="@style/button_full"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/waypoint_my_coordinates" />
+
+ <Button
+ android:id="@+id/cache"
+ style="@style/button_full"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/waypoint_cache_coordinates" />
+
+ <Button
+ android:id="@+id/done"
+ style="@style/button_full"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/waypoint_done" />
+ </LinearLayout>
</ScrollView>
-</LinearLayout>
+
+</LinearLayout> \ No newline at end of file