aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/map_google.xml
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/map_google.xml
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/map_google.xml')
-rw-r--r--main/res/layout/map_google.xml27
1 files changed, 5 insertions, 22 deletions
diff --git a/main/res/layout/map_google.xml b/main/res/layout/map_google.xml
index 723b7157..7b116c9 100644
--- a/main/res/layout/map_google.xml
+++ b/main/res/layout/map_google.xml
@@ -6,30 +6,13 @@
<LinearLayout style="@style/action_bar" >
- <ImageView
- style="@style/action_bar_action"
- android:onClick="goHome" />
+ <include layout="@layout/actionbar_title"/>
- <View style="@style/action_bar_separator" />
+ <include layout="@layout/actionbar_progress" />
- <TextView style="@style/action_bar_title" />
-
- <ProgressBar
- style="@style/action_bar_progress"
- android:visibility="gone" />
-
- <View style="@style/action_bar_separator" />
-
- <ImageSwitcher
- android:id="@+id/my_position"
- style="@style/action_bar_action" />
-
- <View style="@style/action_bar_separator" />
-
- <ImageView
- style="@style/action_bar_action"
- android:onClick="goManual"
- android:src="@drawable/actionbar_manual" />
+ <include layout="@layout/actionbar_button_myposition"/>
+
+ <include layout="@layout/actionbar_button_manual"/>
</LinearLayout>
<include layout="@layout/filter_bar" />