aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/actionbar_maps.xml
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-05-18 07:57:12 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-05-18 07:57:12 +0200
commit5fcce648e200669f1ae0875c7aea9dc3a4a37574 (patch)
treef3741fdf0c8fcb6e6728fa49d61af7ea6c7f1aaa /main/res/layout/actionbar_maps.xml
parent6b2972bfd1fdc14cd84f78e3674e97b46675345d (diff)
parent786eccacbb285696d504d08ba02c61400ce063a2 (diff)
downloadcgeo-5fcce648e200669f1ae0875c7aea9dc3a4a37574.zip
cgeo-5fcce648e200669f1ae0875c7aea9dc3a4a37574.tar.gz
cgeo-5fcce648e200669f1ae0875c7aea9dc3a4a37574.tar.bz2
Merge remote-tracking branch 'schwabe/actionbar_pullrequest'
Conflicts: main/res/values/preference_keys.xml main/src/cgeo/geocaching/CgeoApplication.java
Diffstat (limited to 'main/res/layout/actionbar_maps.xml')
-rw-r--r--main/res/layout/actionbar_maps.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/res/layout/actionbar_maps.xml b/main/res/layout/actionbar_maps.xml
new file mode 100644
index 0000000..61e3acc
--- /dev/null
+++ b/main/res/layout/actionbar_maps.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/action_bar">
+
+ <!-- Add the up chevron to the icon -->
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:src="@drawable/abc_ic_ab_back_holo_dark"/>
+ <ImageView
+ style="@style/action_bar_action"
+ android:layout_marginLeft="-13dp"
+ android:onClick="goHome" />
+
+ <View style="@style/action_bar_separator" />
+
+ <TextView
+ android:id="@+id/actionbar_title"
+ style="@style/action_bar_title" />
+
+ <ProgressBar
+ android:id="@+id/actionbar_progress"
+ style="@style/action_bar_progress"
+ android:visibility="gone" />
+
+ <View style="@style/action_bar_separator" />
+
+ <FrameLayout style="@style/action_bar_action">
+
+ <CheckBox
+ android:id="@+id/my_position"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right"
+ android:button="@drawable/ic_menu_myposition"
+ android:checked="false" />
+ </FrameLayout>
+
+ <!-- No overflow (...) button here since this menu is only shown on Gingerbread, which never
+ features an overflow menu -->
+</LinearLayout> \ No newline at end of file