aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/fragment_pwgen.xml
diff options
context:
space:
mode:
authorMohamed Zenadi <zeapo@users.noreply.github.com>2015-07-11 19:41:33 +0200
committerMohamed Zenadi <zeapo@users.noreply.github.com>2015-07-11 19:41:33 +0200
commit62c20d323cee5c543fd17cdc6e817efd48d1e47b (patch)
tree02a6e433ec610b8a3f2af780e743ec149afd5bee /app/src/main/res/layout/fragment_pwgen.xml
parent97c5c5da9572de48842dc3739c260af75c4915f8 (diff)
parent32cf7f7813c89f7eff43712705b1d1453637a180 (diff)
downloadHardenedPass-62c20d323cee5c543fd17cdc6e817efd48d1e47b.tar.gz
HardenedPass-62c20d323cee5c543fd17cdc6e817efd48d1e47b.zip
Merge pull request #101 from wongma7/master
Adding support for password generation
Diffstat (limited to 'app/src/main/res/layout/fragment_pwgen.xml')
-rw-r--r--app/src/main/res/layout/fragment_pwgen.xml108
1 files changed, 108 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml
new file mode 100644
index 00000000..072a78a9
--- /dev/null
+++ b/app/src/main/res/layout/fragment_pwgen.xml
@@ -0,0 +1,108 @@
+<ScrollView
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <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:orientation="vertical"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".MainActivityFragment">
+
+ <EditText
+ android:id="@+id/passwordText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:editable="false"
+ android:textIsSelectable="true"
+ android:inputType="textVisiblePassword"/>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal"
+ android:weightSum="2">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/include"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/pwgen_include"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginBottom="8dp"/>
+
+ <CheckBox
+ android:id="@+id/numerals"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/pwgen_numerals"/>
+
+
+ <CheckBox
+ android:id="@+id/symbols"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/pwgen_symbols"/>
+
+ <CheckBox
+ android:id="@+id/uppercase"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/pwgen_uppercase"/>
+
+ <CheckBox
+ android:id="@+id/ambiguous"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/pwgen_ambiguous"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/length"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Length"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginBottom="8dp"
+ />
+
+ <EditText
+ android:id="@+id/lengthNumber"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:ems="10"
+ android:inputType="number"
+ />
+
+ <CheckBox
+ android:id="@+id/pronounceable"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Pronounceable"/>
+
+ </LinearLayout>
+
+
+ </LinearLayout>
+ </LinearLayout>
+</ScrollView> \ No newline at end of file