From 85ea46b1d3dcab311b9352c9141bd1c646ba8cae Mon Sep 17 00:00:00 2001 From: Vidit Kothari Date: Mon, 27 Jul 2020 01:32:56 +0530 Subject: [PATCH] UI updates: `About`, `Password Generator` view, added string, rounded button xml --- .idea/.name | 1 - .idea/misc.xml | 2 +- .idea/modules.xml | 4 +- KeePassDroid.iml | 19 - app/app.iml | 10 +- app/src/main/res/drawable/rounded_buttons.xml | 9 + .../res/drawable/rounded_buttons_green.xml | 24 ++ app/src/main/res/layout/about.xml | 40 ++- app/src/main/res/layout/entry_edit.xml | 7 + app/src/main/res/layout/generate_password.xml | 334 +++++++++++------- app/src/main/res/layout/password.xml | 1 + app/src/main/res/layout/password_activity.xml | 1 + app/src/main/res/layout/set_password.xml | 87 +++-- app/src/main/res/layout/settings.xml | 3 +- app/src/main/res/values/donottranslate.xml | 4 +- app/src/main/res/values/strings.xml | 23 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 +- 18 files changed, 368 insertions(+), 207 deletions(-) delete mode 100644 .idea/.name delete mode 100644 KeePassDroid.iml create mode 100644 app/src/main/res/drawable/rounded_buttons.xml create mode 100644 app/src/main/res/drawable/rounded_buttons_green.xml diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index 382e0406e..000000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -KeePassDroid \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 3dcb82652..e05fe4857 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -39,7 +39,7 @@ - + diff --git a/.idea/modules.xml b/.idea/modules.xml index 41fb787ea..b6ef7a7e2 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,8 +2,8 @@ - - + + \ No newline at end of file diff --git a/KeePassDroid.iml b/KeePassDroid.iml deleted file mode 100644 index 558e90bf8..000000000 --- a/KeePassDroid.iml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/app.iml b/app/app.iml index 0a26087e6..ab9ffa26e 100644 --- a/app/app.iml +++ b/app/app.iml @@ -1,11 +1,11 @@ - + @@ -19,8 +19,8 @@ diff --git a/app/src/main/res/drawable/rounded_buttons.xml b/app/src/main/res/drawable/rounded_buttons.xml new file mode 100644 index 000000000..e489b2b15 --- /dev/null +++ b/app/src/main/res/drawable/rounded_buttons.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/rounded_buttons_green.xml b/app/src/main/res/drawable/rounded_buttons_green.xml new file mode 100644 index 000000000..ad4cdd0c6 --- /dev/null +++ b/app/src/main/res/drawable/rounded_buttons_green.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/about.xml b/app/src/main/res/layout/about.xml index 176bddcc1..b0ad8e631 100644 --- a/app/src/main/res/layout/about.xml +++ b/app/src/main/res/layout/about.xml @@ -20,15 +20,22 @@ + android:layout_height="fill_parent" + android:padding="@dimen/margin_medium"> @@ -41,11 +48,18 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/divider1" - android:layout_alignParentRight="true"/> + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> @@ -59,7 +73,8 @@ android:text="@string/homepage_short" android:layout_below="@id/divider2" android:layout_alignParentRight="true" - android:autoLink="web"/> + android:autoLink="web" + android:layout_alignParentEnd="true" /> + android:autoLink="web" + android:layout_alignParentEnd="true" /> + android:autoLink="web" + android:layout_alignParentEnd="true" /> diff --git a/app/src/main/res/layout/entry_edit.xml b/app/src/main/res/layout/entry_edit.xml index 02710583d..fc59520a3 100644 --- a/app/src/main/res/layout/entry_edit.xml +++ b/app/src/main/res/layout/entry_edit.xml @@ -20,7 +20,9 @@ + +