aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout-land
diff options
context:
space:
mode:
authorMarco Jacob <mjacob@union06.de>2012-01-29 20:49:49 +0100
committerMarco Jacob <mjacob@union06.de>2012-01-29 20:49:49 +0100
commit9e186e35d97bb53075d132f8ba55f7a580cfa1f2 (patch)
tree1a0ae4c88214052f73c2b6ddbb227768c34660a8 /main/res/layout-land
parent28fc9c31aad49ad911d950bb9d624d6905e2c459 (diff)
downloadcgeo-9e186e35d97bb53075d132f8ba55f7a580cfa1f2.zip
cgeo-9e186e35d97bb53075d132f8ba55f7a580cfa1f2.tar.gz
cgeo-9e186e35d97bb53075d132f8ba55f7a580cfa1f2.tar.bz2
different layout for landscape mode
Diffstat (limited to 'main/res/layout-land')
-rw-r--r--main/res/layout-land/coords.xml127
1 files changed, 127 insertions, 0 deletions
diff --git a/main/res/layout-land/coords.xml b/main/res/layout-land/coords.xml
new file mode 100644
index 0000000..a8f89e8
--- /dev/null
+++ b/main/res/layout-land/coords.xml
@@ -0,0 +1,127 @@
+<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"
+ android:text="@string/cache_coordinates" />
+ <View style="@style/action_bar_separator" />
+ <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"/>
+ <EditText style="@style/edittext"
+ 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"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ <TextView android:id="@+id/LatSeparator2"
+ android:text="," />
+ <EditText android:id="@+id/EditTextLatSec"
+ style="@style/edittext"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ <TextView android:id="@+id/LatSeparator3"
+ android:text="," />
+ <EditText android:id="@+id/EditTextLatSecFrac"
+ style="@style/edittext"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ </TableRow>
+ <TableRow android:id="@+id/tableRow2">
+ <Button android:id="@+id/ButtonLon"
+ style="@style/button"/>
+ <EditText android:id="@+id/EditTextLonDeg"
+ style="@style/edittext"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ <TextView android:id="@+id/LonSeparator1"
+ android:text="°" />
+ <EditText android:id="@+id/EditTextLonMin"
+ style="@style/edittext"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ <TextView android:id="@+id/LonSeparator2"
+ android:text="," />
+ <EditText android:id="@+id/EditTextLonSec"
+ style="@style/edittext"
+ android:gravity="right"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ <TextView android:id="@+id/LonSeparator3"
+ android:text="," />
+ <EditText android:id="@+id/EditTextLonSecFrac"
+ style="@style/edittext"
+ android:inputType="number"
+ android:selectAllOnFocus="true" />
+ </TableRow>
+ </TableLayout>
+ <LinearLayout
+ android:id="@+id/linearLayout2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+ <EditText
+ android:id="@+id/latitude"
+ style="@style/edittext"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:hint="@string/latitude" />
+ <EditText
+ android:id="@+id/longitude"
+ style="@style/edittext"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:hint="@string/longitude" />
+ </LinearLayout>
+ <Button style="@style/button"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/current"
+ android:text="@string/waypoint_my_coordinates" />
+ <Button style="@style/button"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/cache"
+ android:text="@string/waypoint_cache_coordinates" />
+ <Button style="@style/button"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/done"
+ android:text="@string/waypoint_done" />
+ </LinearLayout>
+ </ScrollView>
+</LinearLayout>