summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/actionbar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/layout/actionbar.xml')
-rw-r--r--mobile/android/base/resources/layout/actionbar.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/actionbar.xml b/mobile/android/base/resources/layout/actionbar.xml
new file mode 100644
index 000000000..ecb5124de
--- /dev/null
+++ b/mobile/android/base/resources/layout/actionbar.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <Button android:id="@+id/actionmode_title"
+ android:layout_height="match_parent"
+ android:layout_width="wrap_content"
+ style="@style/GeckoActionBar.Title"/>
+
+ <!-- Draw a separator to the left of the title -->
+ <View android:layout_height="match_parent"
+ android:layout_width="1dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginBottom="10dp"
+ android:background="@color/text_color_secondary_inverse"/>
+
+ <LinearLayout android:id="@+id/actionbar_buttons"
+ android:layout_height="match_parent"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ style="@style/GeckoActionBar.Buttons"/>
+
+ <ImageButton android:id="@+id/actionbar_menu"
+ android:layout_height="match_parent"
+ android:layout_width="@dimen/browser_toolbar_icon_width"
+ style="@style/GeckoActionBar.Button.MenuButton"/>
+
+</merge>