summaryrefslogtreecommitdiff
path: root/platform/android/example/mupdf/src/main/res/layout/file_toolbar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/example/mupdf/src/main/res/layout/file_toolbar.xml')
-rw-r--r--platform/android/example/mupdf/src/main/res/layout/file_toolbar.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/platform/android/example/mupdf/src/main/res/layout/file_toolbar.xml b/platform/android/example/mupdf/src/main/res/layout/file_toolbar.xml
new file mode 100644
index 00000000..e0d8ecb4
--- /dev/null
+++ b/platform/android/example/mupdf/src/main/res/layout/file_toolbar.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/toolbar">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/toolbar"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <ImageButton
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:scaleType="fitXY"
+ android:layout_centerVertical="true"
+ android:background="@drawable/toolbar_button"
+ android:id="@+id/save_button"
+ android:src="@drawable/icon_save" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:textColor="@color/black"
+ android:textSize="11sp"
+ android:text="SAVE"/>
+ </LinearLayout>
+
+ <!--a divider-->
+ <View
+ android:layout_width="1dp"
+ android:paddingRight="3dp" android:paddingLeft="3dp"
+ android:layout_height="match_parent"
+ android:background="#FF8E8F90" />
+
+ </LinearLayout>
+
+ </HorizontalScrollView>
+
+</merge>