From 81c571f0c700f4da438ae06e3a61cfa984374785 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 26 May 2022 05:59:17 +0530 Subject: ui: normalise icon tints and remove unused drawable Signed-off-by: Harsh Shandilya --- ui/src/main/res/drawable/ic_action_add_white.xml | 7 ++++--- ui/src/main/res/drawable/ic_action_delete.xml | 3 ++- ui/src/main/res/drawable/ic_action_edit.xml | 3 ++- ui/src/main/res/drawable/ic_action_edit_white.xml | 9 --------- ui/src/main/res/drawable/ic_action_generate.xml | 3 ++- ui/src/main/res/drawable/ic_action_open.xml | 10 ++++++++++ ui/src/main/res/drawable/ic_action_open_white.xml | 9 --------- ui/src/main/res/drawable/ic_action_save.xml | 3 ++- ui/src/main/res/drawable/ic_action_scan_qr_code.xml | 10 ++++++++++ ui/src/main/res/drawable/ic_action_scan_qr_code_white.xml | 9 --------- ui/src/main/res/drawable/ic_action_select_all.xml | 3 ++- ui/src/main/res/drawable/ic_action_share_white.xml | 1 + ui/src/main/res/drawable/ic_arrow_back.xml | 3 ++- ui/src/main/res/drawable/ic_settings.xml | 3 ++- ui/src/main/res/layout/add_tunnels_bottom_sheet.xml | 4 ++-- 15 files changed, 41 insertions(+), 39 deletions(-) delete mode 100644 ui/src/main/res/drawable/ic_action_edit_white.xml create mode 100644 ui/src/main/res/drawable/ic_action_open.xml delete mode 100644 ui/src/main/res/drawable/ic_action_open_white.xml create mode 100644 ui/src/main/res/drawable/ic_action_scan_qr_code.xml delete mode 100644 ui/src/main/res/drawable/ic_action_scan_qr_code_white.xml (limited to 'ui/src/main/res') diff --git a/ui/src/main/res/drawable/ic_action_add_white.xml b/ui/src/main/res/drawable/ic_action_add_white.xml index 18fe19db..1ea440df 100644 --- a/ui/src/main/res/drawable/ic_action_add_white.xml +++ b/ui/src/main/res/drawable/ic_action_add_white.xml @@ -1,9 +1,10 @@ + android:tint="?attr/colorControlNormal" + android:viewportWidth="24" + android:viewportHeight="24"> diff --git a/ui/src/main/res/drawable/ic_action_delete.xml b/ui/src/main/res/drawable/ic_action_delete.xml index 51517c42..73eb7352 100644 --- a/ui/src/main/res/drawable/ic_action_delete.xml +++ b/ui/src/main/res/drawable/ic_action_delete.xml @@ -1,9 +1,10 @@ diff --git a/ui/src/main/res/drawable/ic_action_edit.xml b/ui/src/main/res/drawable/ic_action_edit.xml index 8d8acf85..d40c78d9 100644 --- a/ui/src/main/res/drawable/ic_action_edit.xml +++ b/ui/src/main/res/drawable/ic_action_edit.xml @@ -1,9 +1,10 @@ diff --git a/ui/src/main/res/drawable/ic_action_edit_white.xml b/ui/src/main/res/drawable/ic_action_edit_white.xml deleted file mode 100644 index 212fc72c..00000000 --- a/ui/src/main/res/drawable/ic_action_edit_white.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/ui/src/main/res/drawable/ic_action_generate.xml b/ui/src/main/res/drawable/ic_action_generate.xml index 7324eae4..51d26aed 100644 --- a/ui/src/main/res/drawable/ic_action_generate.xml +++ b/ui/src/main/res/drawable/ic_action_generate.xml @@ -1,9 +1,10 @@ diff --git a/ui/src/main/res/drawable/ic_action_open.xml b/ui/src/main/res/drawable/ic_action_open.xml new file mode 100644 index 00000000..c9fd6fba --- /dev/null +++ b/ui/src/main/res/drawable/ic_action_open.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/src/main/res/drawable/ic_action_open_white.xml b/ui/src/main/res/drawable/ic_action_open_white.xml deleted file mode 100644 index 91075680..00000000 --- a/ui/src/main/res/drawable/ic_action_open_white.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/ui/src/main/res/drawable/ic_action_save.xml b/ui/src/main/res/drawable/ic_action_save.xml index ed98e85a..6e618edb 100644 --- a/ui/src/main/res/drawable/ic_action_save.xml +++ b/ui/src/main/res/drawable/ic_action_save.xml @@ -2,9 +2,10 @@ diff --git a/ui/src/main/res/drawable/ic_action_scan_qr_code.xml b/ui/src/main/res/drawable/ic_action_scan_qr_code.xml new file mode 100644 index 00000000..4522ae46 --- /dev/null +++ b/ui/src/main/res/drawable/ic_action_scan_qr_code.xml @@ -0,0 +1,10 @@ + + + diff --git a/ui/src/main/res/drawable/ic_action_scan_qr_code_white.xml b/ui/src/main/res/drawable/ic_action_scan_qr_code_white.xml deleted file mode 100644 index a5ede695..00000000 --- a/ui/src/main/res/drawable/ic_action_scan_qr_code_white.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/ui/src/main/res/drawable/ic_action_select_all.xml b/ui/src/main/res/drawable/ic_action_select_all.xml index 43f5f15e..490ca715 100644 --- a/ui/src/main/res/drawable/ic_action_select_all.xml +++ b/ui/src/main/res/drawable/ic_action_select_all.xml @@ -2,9 +2,10 @@ diff --git a/ui/src/main/res/drawable/ic_action_share_white.xml b/ui/src/main/res/drawable/ic_action_share_white.xml index 70843cf3..04ee5b74 100644 --- a/ui/src/main/res/drawable/ic_action_share_white.xml +++ b/ui/src/main/res/drawable/ic_action_share_white.xml @@ -1,6 +1,7 @@ diff --git a/ui/src/main/res/drawable/ic_settings.xml b/ui/src/main/res/drawable/ic_settings.xml index 6d1cfa71..af9f2634 100644 --- a/ui/src/main/res/drawable/ic_settings.xml +++ b/ui/src/main/res/drawable/ic_settings.xml @@ -1,9 +1,10 @@ diff --git a/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml b/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml index 68f186b6..9ed57ac6 100644 --- a/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml +++ b/ui/src/main/res/layout/add_tunnels_bottom_sheet.xml @@ -20,7 +20,7 @@ android:text="@string/create_from_file" android:textAlignment="viewStart" android:textColor="?attr/colorOnSurface" - app:icon="@drawable/ic_action_open_white" + app:icon="@drawable/ic_action_open" app:iconPadding="@dimen/bottom_sheet_icon_padding" app:iconTint="?attr/colorSecondary" app:layout_constraintBottom_toTopOf="@+id/create_from_qrcode" @@ -44,7 +44,7 @@ android:text="@string/create_from_qr_code" android:textAlignment="viewStart" android:textColor="?attr/colorOnSurface" - app:icon="@drawable/ic_action_scan_qr_code_white" + app:icon="@drawable/ic_action_scan_qr_code" app:iconPadding="@dimen/bottom_sheet_icon_padding" app:iconTint="?attr/colorSecondary" app:layout_constraintBottom_toBottomOf="@+id/create_empty" -- cgit v1.2.3