aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/actionbar_maps.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/res/layout/actionbar_maps.xml')
-rw-r--r--main/res/layout/actionbar_maps.xml50
1 files changed, 50 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..0e3dc0e
--- /dev/null
+++ b/main/res/layout/actionbar_maps.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ 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="navigateUp" />
+
+ <View style="@style/action_bar_separator" />
+
+ <TextView
+ android:id="@+id/actionbar_title"
+ style="@style/action_bar_title"
+ tools:ignore="InconsistentLayout" />
+
+ <ProgressBar
+ android:id="@+id/actionbar_progress"
+ style="@style/action_bar_progress"
+ android:visibility="gone"
+ tools:ignore="InconsistentLayout" />
+
+ <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"
+ tools:ignore="InconsistentLayout" />
+ </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