aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-11-29 17:47:58 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-11-29 17:47:58 +0100
commit9fb4c46e7c03d06ff0bc79af24087decd5e6a55c (patch)
treefeb7a5c72f629c90a5b2375e914547c1cf46f2c9 /main/res/layout
parent2eb7f1dfadeeaff88b697016c4e502c9160e4c4c (diff)
downloadcgeo-9fb4c46e7c03d06ff0bc79af24087decd5e6a55c.zip
cgeo-9fb4c46e7c03d06ff0bc79af24087decd5e6a55c.tar.gz
cgeo-9fb4c46e7c03d06ff0bc79af24087decd5e6a55c.tar.bz2
cleanup: remove some unused strings
Diffstat (limited to 'main/res/layout')
-rw-r--r--main/res/layout/coords.xml288
-rw-r--r--main/res/layout/search.xml317
2 files changed, 371 insertions, 234 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
diff --git a/main/res/layout/search.xml b/main/res/layout/search.xml
index 9848609..7b5f004 100644
--- a/main/res/layout/search.xml
+++ b/main/res/layout/search.xml
@@ -1,125 +1,196 @@
<?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"
- android:background="?background_color" >
- <LinearLayout style="@style/action_bar">
- <ImageView style="@style/action_bar_action"
- android:onClick="goHome" />
- <View style="@style/action_bar_separator" />
- <TextView style="@style/action_bar_title" />
- <View style="@style/action_bar_separator" />
- <ImageView style="@style/action_bar_action"
- android:src="@drawable/actionbar_manual"
- android:onClick="goManual" />
- </LinearLayout>
- <ScrollView
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="4dip"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_marginTop="10dip"
- android:layout_marginBottom="10dip"
- android:orientation="vertical" >
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_coordinates" />
- </RelativeLayout>
- <Button style="@style/button_full"
- android:hint="@string/latitude"
- android:id="@+id/buttonLatitude"/>
- <Button style="@style/button_full"
- android:hint="@string/longitude"
- android:id="@+id/buttonLongitude"/>
- <Button style="@style/button_full"
- android:id="@+id/search_coordinates"
- android:text="@string/search_coordinates_button" />
-<!-- ** -->
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_address" />
- </RelativeLayout>
- <EditText style="@style/edittext_full"
- android:id="@+id/address"
- android:hint="@string/search_address"
- android:imeOptions="actionGo" />
- <Button style="@style/button_full"
- android:id="@+id/search_address"
- android:text="@string/search_address_button" />
-<!-- ** -->
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_gc" />
- </RelativeLayout>
- <AutoCompleteTextView style="@style/edittext_full"
- android:id="@+id/geocode"
- android:hint="@string/search_gc"
- android:imeOptions="actionGo"
- android:text="GC"
- android:inputType="textCapCharacters" />
- <Button style="@style/button_full"
- android:id="@+id/display_geocode"
- android:text="@string/search_gc_button" />
-<!-- ** -->
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_kw" />
- </RelativeLayout>
- <EditText style="@style/edittext_full"
- android:id="@+id/keyword"
- android:hint="@string/search_kw_prefill"
- android:imeOptions="actionGo" />
- <Button style="@style/button_full"
- android:id="@+id/search_keyword"
- android:text="@string/search_kw_button" />
-<!-- ** -->
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_fbu" />
- </RelativeLayout>
- <EditText style="@style/edittext_full"
- android:id="@+id/username"
- android:hint="@string/search_fbu_prefill"
- android:imeOptions="actionGo" />
- <Button style="@style/button_full"
- android:id="@+id/search_username"
- android:text="@string/search_fbu_button" />
-<!-- ** -->
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_hbu" />
- </RelativeLayout>
- <EditText style="@style/edittext_full"
- android:id="@+id/owner"
- android:hint="@string/search_hbu_prefill"
- android:imeOptions="actionGo" />
- <Button style="@style/button_full"
- android:id="@+id/search_owner"
- android:text="@string/search_hbu_button" />
-<!-- ** -->
- <RelativeLayout style="@style/separator_horizontal_layout" >
- <View style="@style/separator_horizontal" />
- <TextView style="@style/separator_horizontal_headline"
- android:text="@string/search_tb" />
- </RelativeLayout>
- <AutoCompleteTextView style="@style/edittext_full"
- android:id="@+id/trackable"
- android:hint="@string/search_tb_hint"
- android:imeOptions="actionGo"
- android:inputType="textCapCharacters" />
- <Button style="@style/button_full"
- android:id="@+id/display_trackable"
- android:text="@string/search_tb_button" />
- </LinearLayout>
- </ScrollView>
-</LinearLayout>
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="?background_color"
+ android:orientation="vertical" >
+
+ <LinearLayout style="@style/action_bar" >
+
+ <ImageView
+ style="@style/action_bar_action"
+ android:onClick="goHome" />
+
+ <View style="@style/action_bar_separator" />
+
+ <TextView style="@style/action_bar_title" />
+
+ <View style="@style/action_bar_separator" />
+
+ <ImageView
+ style="@style/action_bar_action"
+ android:onClick="goManual"
+ android:src="@drawable/actionbar_manual" />
+ </LinearLayout>
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dip" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_marginBottom="10dip"
+ android:layout_marginTop="10dip"
+ android:orientation="vertical" >
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_coordinates" />
+ </RelativeLayout>
+
+ <Button
+ android:id="@+id/buttonLatitude"
+ style="@style/button_full"
+ android:hint="@string/latitude" />
+
+ <Button
+ android:id="@+id/buttonLongitude"
+ style="@style/button_full"
+ android:hint="@string/longitude" />
+
+ <Button
+ android:id="@+id/search_coordinates"
+ style="@style/button_full"
+ android:text="@string/search_coordinates_button" />
+ <!-- ** -->
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_address" />
+ </RelativeLayout>
+
+ <EditText
+ android:id="@+id/address"
+ style="@style/edittext_full"
+ android:hint="@string/search_address"
+ android:imeOptions="actionGo" />
+
+ <Button
+ android:id="@+id/search_address"
+ style="@style/button_full"
+ android:text="@string/search_address_button" />
+ <!-- ** -->
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_gc" />
+ </RelativeLayout>
+
+ <AutoCompleteTextView
+ android:id="@+id/geocode"
+ style="@style/edittext_full"
+ android:hint="@string/search_gc"
+ android:imeOptions="actionGo"
+ android:inputType="textCapCharacters"
+ android:text="GC"
+ tools:ignore="HardcodedText" />
+
+ <Button
+ android:id="@+id/display_geocode"
+ style="@style/button_full"
+ android:text="@string/search_gc_button" />
+ <!-- ** -->
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_kw" />
+ </RelativeLayout>
+
+ <EditText
+ android:id="@+id/keyword"
+ style="@style/edittext_full"
+ android:hint="@string/search_kw_prefill"
+ android:imeOptions="actionGo" />
+
+ <Button
+ android:id="@+id/search_keyword"
+ style="@style/button_full"
+ android:text="@string/search_kw_button" />
+ <!-- ** -->
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_fbu" />
+ </RelativeLayout>
+
+ <EditText
+ android:id="@+id/username"
+ style="@style/edittext_full"
+ android:hint="@string/search_fbu_prefill"
+ android:imeOptions="actionGo" />
+
+ <Button
+ android:id="@+id/search_username"
+ style="@style/button_full"
+ android:text="@string/search_fbu_button" />
+ <!-- ** -->
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_hbu" />
+ </RelativeLayout>
+
+ <EditText
+ android:id="@+id/owner"
+ style="@style/edittext_full"
+ android:hint="@string/search_hbu_prefill"
+ android:imeOptions="actionGo" />
+
+ <Button
+ android:id="@+id/search_owner"
+ style="@style/button_full"
+ android:text="@string/search_hbu_button" />
+ <!-- ** -->
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/search_tb" />
+ </RelativeLayout>
+
+ <AutoCompleteTextView
+ android:id="@+id/trackable"
+ style="@style/edittext_full"
+ android:hint="@string/search_tb_hint"
+ android:imeOptions="actionGo"
+ android:inputType="textCapCharacters" />
+
+ <Button
+ android:id="@+id/display_trackable"
+ style="@style/button_full"
+ android:text="@string/search_tb_button" />
+ </LinearLayout>
+ </ScrollView>
+
+</LinearLayout> \ No newline at end of file