aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout-land
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-05-04 15:31:44 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-05-04 15:31:44 +0200
commitd1acac75b6af3239701a2df020488db2af2dcb05 (patch)
treedec05f3ddc3d092d2a2b03fd5a1f20053c4e7ad5 /main/res/layout-land
parentd4974e33bd2e7816d54709ee40869f79cf56d79c (diff)
downloadcgeo-d1acac75b6af3239701a2df020488db2af2dcb05.zip
cgeo-d1acac75b6af3239701a2df020488db2af2dcb05.tar.gz
cgeo-d1acac75b6af3239701a2df020488db2af2dcb05.tar.bz2
refactoring: unify the action bar layout
Diffstat (limited to 'main/res/layout-land')
-rw-r--r--main/res/layout-land/coords.xml7
-rw-r--r--main/res/layout-land/navigate.xml18
2 files changed, 2 insertions, 23 deletions
diff --git a/main/res/layout-land/coords.xml b/main/res/layout-land/coords.xml
index 1388187..30cc6b5 100644
--- a/main/res/layout-land/coords.xml
+++ b/main/res/layout-land/coords.xml
@@ -11,12 +11,7 @@
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" />
+ <include layout="@layout/actionbar_button_manual"/>
</LinearLayout>
<ScrollView
diff --git a/main/res/layout-land/navigate.xml b/main/res/layout-land/navigate.xml
index aa8b2b4..d2f39b1 100644
--- a/main/res/layout-land/navigate.xml
+++ b/main/res/layout-land/navigate.xml
@@ -5,23 +5,7 @@
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>
+ <include layout="@layout/actionbar_with_manual" />
<LinearLayout
android:layout_width="fill_parent"