From a27b9f88f066df4f4e70707c5d08bc8925b59b71 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 10 Jul 2020 09:46:04 +0300 Subject: [PATCH] replace colorAccent with colorSecondary same color, another name --- .../TransactionListAdapter.java | 4 +- .../net/ktnx/mobileledger/utils/Colors.java | 6 +- .../drawable-anydpi-v21/dashed_border_1dp.xml | 10 +- .../drawable-anydpi-v21/dashed_border_8dp.xml | 10 +- .../expand_more_black_24dp.xml | 27 +- .../ic_assignment_black_24dp.xml | 2 +- .../ic_clear_accent_24dp.xml | 2 +- .../ic_error_outline_black_24dp.xml | 16 +- .../ic_event_note_black_24dp.xml | 2 +- .../ic_expand_less_black_24dp.xml | 15 +- .../ic_home_black_24dp.xml | 2 +- .../ic_mode_edit_black_24dp.xml | 15 +- .../ic_more_horiz_black_24dp.xml | 15 +- .../ic_settings_black_24dp.xml | 2 +- .../ic_unfold_more_black_24dp.xml | 15 +- .../ic_view_list_black_24dp.xml | 2 +- .../res/layout/activity_profile_detail.xml | 4 +- .../res/layout/fragment_new_transaction.xml | 4 +- .../fragment_new_transaction_saving.xml | 2 +- app/src/main/res/layout/no_profiles.xml | 4 +- .../res/layout/transaction_list_fragment.xml | 2 +- tools/gen-styles | 377 +++++++++++------- 22 files changed, 336 insertions(+), 202 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java index 6179174f..c61b9193 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java @@ -202,8 +202,8 @@ public class TransactionListAdapter extends RecyclerView.Adapter - - + + diff --git a/app/src/main/res/drawable-anydpi-v21/ic_event_note_black_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_event_note_black_24dp.xml index 434d09a3..59f4e898 100644 --- a/app/src/main/res/drawable-anydpi-v21/ic_event_note_black_24dp.xml +++ b/app/src/main/res/drawable-anydpi-v21/ic_event_note_black_24dp.xml @@ -19,7 +19,7 @@ - - + + diff --git a/app/src/main/res/drawable-anydpi-v21/ic_home_black_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_home_black_24dp.xml index 3796e519..77cb5458 100644 --- a/app/src/main/res/drawable-anydpi-v21/ic_home_black_24dp.xml +++ b/app/src/main/res/drawable-anydpi-v21/ic_home_black_24dp.xml @@ -20,7 +20,7 @@ - - + + diff --git a/app/src/main/res/drawable-anydpi-v21/ic_more_horiz_black_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_more_horiz_black_24dp.xml index f830d8d6..3d13250b 100644 --- a/app/src/main/res/drawable-anydpi-v21/ic_more_horiz_black_24dp.xml +++ b/app/src/main/res/drawable-anydpi-v21/ic_more_horiz_black_24dp.xml @@ -16,8 +16,15 @@ ~ Modified/adapted by Damyan Ivanov for MoLe --> - - + + diff --git a/app/src/main/res/drawable-anydpi-v21/ic_settings_black_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_settings_black_24dp.xml index 9a43c8ae..5e7da9cd 100644 --- a/app/src/main/res/drawable-anydpi-v21/ic_settings_black_24dp.xml +++ b/app/src/main/res/drawable-anydpi-v21/ic_settings_black_24dp.xml @@ -19,7 +19,7 @@ - - + + diff --git a/app/src/main/res/drawable-anydpi-v21/ic_view_list_black_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_view_list_black_24dp.xml index a303787f..df6bcb06 100644 --- a/app/src/main/res/drawable-anydpi-v21/ic_view_list_black_24dp.xml +++ b/app/src/main/res/drawable-anydpi-v21/ic_view_list_black_24dp.xml @@ -19,7 +19,7 @@ \n", $hue, + $S, $l1 if 0; $result .= sprintf "$indent#%s\n", 'colorPrimary', hslHex( $hue, $S, $l1 ); $result .= sprintf "$indent#00%s\n", 'colorPrimaryTransparent', hslHex( $hue, $S, $l1 ); $result .= sprintf "$indent#%s\n", 'colorSecondary', hslHex( $hue, $S, $l2 ); - $result .= sprintf "$indent#%s\n", - 'colorAccent', hslHex( $hue, $S, $l2 ); $result .= sprintf "$indent#%s\n", 'colorPrimaryDark', hslHex( $hue, $S, $l2 ); $result .= sprintf "$indent#%s\n", -- 2.39.5