summaryrefslogtreecommitdiff
path: root/android/source/res/layout
diff options
context:
space:
mode:
authorXimeng Zu <uznomis@yahoo.com>2017-07-26 11:15:26 -0500
committerTomaž Vajngerl <quikee@gmail.com>2017-08-27 20:12:52 +0200
commit43f5161991cffedabb280a6e4e388c5bcbac4f96 (patch)
tree2dda51149a9174dc1e7de414f89b1cba96ef5a36 /android/source/res/layout
parentc4bc3822298a663c31c676648262c223c1be4ab6 (diff)
[Android Viewer] Password support
Added password support for documents. Change-Id: Ifd9cf86894ddaf2fd5ad97510d2ac1b5850611ad Reviewed-on: https://gerrit.libreoffice.org/40458 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'android/source/res/layout')
-rw-r--r--android/source/res/layout/password_dialog.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/android/source/res/layout/password_dialog.xml b/android/source/res/layout/password_dialog.xml
new file mode 100644
index 000000000000..adc4f4249daf
--- /dev/null
+++ b/android/source/res/layout/password_dialog.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <EditText
+ android:id="@+id/password"
+ android:inputType="textPassword"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="4dp"
+ android:layout_marginBottom="16dp"
+ android:hint="@string/password"/>
+
+</LinearLayout> \ No newline at end of file