From 073346c157ec34b750d175c8543f346e6eae94de Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 1 Oct 2019 22:14:28 +0530 Subject: Redesign UI and introduce dark theme (#519) Caveats: - The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead. - The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it. --- app/src/main/res/values/attrs.xml | 9 +++++++ app/src/main/res/values/bools.xml | 5 ++++ app/src/main/res/values/colors.xml | 31 ++++++++++++------------ app/src/main/res/values/strings.xml | 14 +++++------ app/src/main/res/values/styles.xml | 48 +++++++++++++++++++++++++++---------- 5 files changed, 73 insertions(+), 34 deletions(-) create mode 100644 app/src/main/res/values/attrs.xml create mode 100644 app/src/main/res/values/bools.xml (limited to 'app/src/main/res/values') diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml new file mode 100644 index 00000000..1a044c40 --- /dev/null +++ b/app/src/main/res/values/attrs.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/bools.xml b/app/src/main/res/values/bools.xml new file mode 100644 index 00000000..b02fcc05 --- /dev/null +++ b/app/src/main/res/values/bools.xml @@ -0,0 +1,5 @@ + + + false + false + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index ef263161..98234581 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,19 +1,20 @@ - #ff7043 - #eee - #eceff1 - #607d8b - #b0bec5 - #455a64 - #263238 - #ffab91 - #e0e0e0 - #9e9e9e - #757575 - #ffffff - #000000 - #004d40 - #00bfa5 + + #607d8b + #8eacbb + #34515e + #ff7043 + #ffa270 + #c63f17 + #212121 + #ffffff + + + #eceff1 #D4F1EA + #757575 + @color/primary_text_color + #FFFFFF + #EEEEEE diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8e54490f..e39558b1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -74,7 +74,7 @@ Protocol Server URL server.com - 22 + Port 22 443 Repo path @@ -90,16 +90,16 @@ Git config Username - User name + Username Email email Please enter a valid email address Clone! - name + Name Password - Extra + Extra content Select Cancel Save @@ -138,8 +138,8 @@ No key selected General Password Show Time - Set the time you want the password to be in clipboard. 0 means forever. - Automatically Copy Password + Set the time (in seconds) you want the password to be in clipboard. 0 means forever. + Automatically copy Password Automatically copy the password to the clipboard after decryption was successful. SSH-key imported Error while trying to import the ssh-key @@ -251,8 +251,8 @@ Remember the passphrase in the app configuration (insecure) Hackish tools Abort rebase and push new branch + Hard reset to remote branch Commit hash - p@ssw0rd! username: something other extra content Failed to get last changed date Tap copy to calculate HOTP diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 0b0bc4e6..ad6a61ff 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,22 +1,46 @@ - + - + + - + -- cgit v1.2.3