aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/encrypt_layout.xml
diff options
context:
space:
mode:
authorZeapo <mohamed@zenadi.com>2014-08-02 23:10:09 +0100
committerZeapo <mohamed@zenadi.com>2014-08-02 23:10:09 +0100
commitcb8216b5878183005890a6deefde0797462de966 (patch)
tree4b5344e6449b31e69d18ec99b7e2aff9d75fa21b /app/src/main/res/layout/encrypt_layout.xml
parente2ce35c85e2c54b4c801ef24edfc468a546c335c (diff)
downloadHardenedPass-cb8216b5878183005890a6deefde0797462de966.tar.gz
HardenedPass-cb8216b5878183005890a6deefde0797462de966.zip
improved ui for decrypt/encrypt
Diffstat (limited to 'app/src/main/res/layout/encrypt_layout.xml')
-rw-r--r--app/src/main/res/layout/encrypt_layout.xml82
1 files changed, 82 insertions, 0 deletions
diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml
new file mode 100644
index 00000000..4efc049f
--- /dev/null
+++ b/app/src/main/res/layout/encrypt_layout.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ tools:context="com.zeapo.pwdstore.crypto.PgpHandler"
+ android:orientation="vertical"
+ android:background="#eee">
+
+ <GridLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/rectangle"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@android:color/holo_orange_dark"
+ android:text="Large Text"
+ android:id="@+id/crypto_password_file"
+ android:layout_gravity="center_vertical"
+ android:layout_marginLeft="8dp"
+ android:layout_column="0"
+ android:layout_row="0"/>
+
+ </GridLayout>
+
+
+ <LinearLayout
+ android:id="@+id/crypto_container"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_marginTop="@dimen/activity_vertical_margin"
+ android:background="@drawable/rectangle"
+ android:layout_height="wrap_content">
+
+ <LinearLayout
+ android:id="@+id/crypto_password_edit_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"
+ android:text="Password: "/>
+ <EditText
+ android:id="@+id/crypto_password_edit"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:typeface="monospace"/>
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:textStyle="bold"
+ android:text="Extra content: "/>
+
+ <EditText
+ android:id="@+id/crypto_edit_show"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:enabled="true"
+ android:visibility="visible"
+ android:typeface="monospace"/>
+ </LinearLayout>
+ </LinearLayout>
+
+</LinearLayout>
+