From cf418357ba53e74956bf933bc573a37a4a39fe10 Mon Sep 17 00:00:00 2001 From: Imanol Fernandez Date: Tue, 19 Feb 2019 14:18:37 +0100 Subject: [PATCH] Blur the edges of UI background shapes --- .../main/res/drawable/dialog_background.xml | 1 + .../main/res/drawable/keyboard_background.xml | 1 + app/src/main/res/drawable/main_button.xml | 4 ++ .../drawable/media_controls_background.xml | 1 + .../main/res/drawable/settings_background.xml | 1 + app/src/main/res/drawable/url_background.xml | 42 ++++++++++++++----- app/src/main/res/values/colors.xml | 4 ++ app/src/main/res/values/dimen.xml | 4 ++ 8 files changed, 48 insertions(+), 10 deletions(-) diff --git a/app/src/main/res/drawable/dialog_background.xml b/app/src/main/res/drawable/dialog_background.xml index 9aeaccf51..3f82aca15 100644 --- a/app/src/main/res/drawable/dialog_background.xml +++ b/app/src/main/res/drawable/dialog_background.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/app/src/main/res/drawable/keyboard_background.xml b/app/src/main/res/drawable/keyboard_background.xml index cac4d0bca..bb31a4793 100644 --- a/app/src/main/res/drawable/keyboard_background.xml +++ b/app/src/main/res/drawable/keyboard_background.xml @@ -2,5 +2,6 @@ + diff --git a/app/src/main/res/drawable/main_button.xml b/app/src/main/res/drawable/main_button.xml index d3b1d31d2..e990b0455 100644 --- a/app/src/main/res/drawable/main_button.xml +++ b/app/src/main/res/drawable/main_button.xml @@ -2,21 +2,25 @@ + + + + diff --git a/app/src/main/res/drawable/media_controls_background.xml b/app/src/main/res/drawable/media_controls_background.xml index 219671546..6d9423cbb 100644 --- a/app/src/main/res/drawable/media_controls_background.xml +++ b/app/src/main/res/drawable/media_controls_background.xml @@ -1,6 +1,7 @@ + diff --git a/app/src/main/res/drawable/settings_background.xml b/app/src/main/res/drawable/settings_background.xml index 7eab0cefa..15203fe7b 100644 --- a/app/src/main/res/drawable/settings_background.xml +++ b/app/src/main/res/drawable/settings_background.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/app/src/main/res/drawable/url_background.xml b/app/src/main/res/drawable/url_background.xml index d1b4cb361..bddd63a98 100644 --- a/app/src/main/res/drawable/url_background.xml +++ b/app/src/main/res/drawable/url_background.xml @@ -3,26 +3,48 @@ + - - - - - + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 7d579cacd..29e849e1d 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -7,6 +7,7 @@ #314259 #556f8e #518fe1 + #80518fe1 #9ea3ab #75eff9 #e3e4e5 @@ -15,8 +16,11 @@ #f7ce4d #45236d #232426 + #30232426 #3d3d3d + #303d3d3d #e2e6eb + #30e2e6eb #c2c6cb #8dc63f #ef4136 diff --git a/app/src/main/res/values/dimen.xml b/app/src/main/res/values/dimen.xml index a132583c6..549874e1c 100644 --- a/app/src/main/res/values/dimen.xml +++ b/app/src/main/res/values/dimen.xml @@ -150,4 +150,8 @@ 64dp + + + 2dp + 1dp \ No newline at end of file