diff options
| author | Matthew Wong <wongma7@outlook.com> | 2015-08-26 17:03:37 -0400 |
|---|---|---|
| committer | Matthew Wong <wongma7@outlook.com> | 2015-08-26 17:03:37 -0400 |
| commit | f6d3dc23fbf68e8440fd9cab77797ad45b3100b1 (patch) | |
| tree | 9b2d79264f0306d8bd6c43d0f1eeb2f7c5a4b3ca /app/src/main/res/layout/fragment_pwgen.xml | |
| parent | 88f0cddd58796745e5f2be22ac9a3540ea24f7ae (diff) | |
| download | HardenedPass-f6d3dc23fbf68e8440fd9cab77797ad45b3100b1.tar.gz HardenedPass-f6d3dc23fbf68e8440fd9cab77797ad45b3100b1.zip | |
UI cleanup & reformat
Diffstat (limited to 'app/src/main/res/layout/fragment_pwgen.xml')
| -rw-r--r-- | app/src/main/res/layout/fragment_pwgen.xml | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml index 50a253f3..6c04fb95 100644 --- a/app/src/main/res/layout/fragment_pwgen.xml +++ b/app/src/main/res/layout/fragment_pwgen.xml @@ -1,26 +1,26 @@ <ScrollView - android:layout_height="match_parent" + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - xmlns:android="http://schemas.android.com/apk/res/android"> + android:layout_height="match_parent"> <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:paddingLeft="24dp" - android:paddingRight="24dp" - android:paddingTop="20dp" - android:paddingBottom="20dp" - tools:context=".MainActivityFragment"> + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingBottom="20dp" + android:paddingLeft="24dp" + android:paddingRight="24dp" + android:paddingTop="20dp" + tools:context=".MainActivityFragment"> <TextView android:id="@+id/passwordText" android:layout_width="match_parent" android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceMedium" android:layout_marginBottom="8dp" - android:textIsSelectable="true"/> + android:textAppearance="?android:attr/textAppearanceMedium" + android:textIsSelectable="true" /> <LinearLayout android:layout_width="match_parent" @@ -38,34 +38,34 @@ android:id="@+id/include" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginBottom="8dp" android:text="@string/pwgen_include" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_marginBottom="8dp"/> + android:textAppearance="?android:attr/textAppearanceSmall" /> <CheckBox android:id="@+id/numerals" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/pwgen_numerals"/> + 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"/> + 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"/> + 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"/> + android:text="@string/pwgen_ambiguous" /> </LinearLayout> @@ -79,10 +79,9 @@ 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" - /> + android:text="Length" + android:textAppearance="?android:attr/textAppearanceSmall" /> <EditText android:id="@+id/lengthNumber" @@ -90,14 +89,13 @@ android:layout_height="wrap_content" android:layout_marginBottom="8dp" android:ems="10" - android:inputType="number" - /> + android:inputType="number" /> <CheckBox android:id="@+id/pronounceable" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Pronounceable"/> + android:text="Pronounceable" /> </LinearLayout> |
