From 000cdb08ec52171968772b2947d952eed0eb0043 Mon Sep 17 00:00:00 2001 From: sk Date: Thu, 29 Dec 2022 18:01:22 +0100 Subject: [PATCH] change fab styles closes sk22#211 --- mastodon/src/main/res/drawable/bg_fab.xml | 2 +- mastodon/src/main/res/drawable/ic_edit_34.xml | 5 ---- .../res/drawable/ic_fluent_edit_28_filled.xml | 3 +++ .../src/main/res/layout/fragment_profile.xml | 14 +---------- .../res/layout/recycler_fragment_with_fab.xml | 15 +----------- mastodon/src/main/res/values/attrs.xml | 3 +++ mastodon/src/main/res/values/styles.xml | 23 +++++++++++++++++++ 7 files changed, 32 insertions(+), 33 deletions(-) delete mode 100644 mastodon/src/main/res/drawable/ic_edit_34.xml create mode 100644 mastodon/src/main/res/drawable/ic_fluent_edit_28_filled.xml diff --git a/mastodon/src/main/res/drawable/bg_fab.xml b/mastodon/src/main/res/drawable/bg_fab.xml index 320e3e279..00025992d 100644 --- a/mastodon/src/main/res/drawable/bg_fab.xml +++ b/mastodon/src/main/res/drawable/bg_fab.xml @@ -3,7 +3,7 @@ android:color="?android:colorControlHighlight"> - + diff --git a/mastodon/src/main/res/drawable/ic_edit_34.xml b/mastodon/src/main/res/drawable/ic_edit_34.xml deleted file mode 100644 index 9e7fa0dd1..000000000 --- a/mastodon/src/main/res/drawable/ic_edit_34.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/mastodon/src/main/res/drawable/ic_fluent_edit_28_filled.xml b/mastodon/src/main/res/drawable/ic_fluent_edit_28_filled.xml new file mode 100644 index 000000000..1510e850c --- /dev/null +++ b/mastodon/src/main/res/drawable/ic_fluent_edit_28_filled.xml @@ -0,0 +1,3 @@ + + + diff --git a/mastodon/src/main/res/layout/fragment_profile.xml b/mastodon/src/main/res/layout/fragment_profile.xml index af74827a6..22636c12c 100644 --- a/mastodon/src/main/res/layout/fragment_profile.xml +++ b/mastodon/src/main/res/layout/fragment_profile.xml @@ -318,19 +318,7 @@ - - + \ No newline at end of file diff --git a/mastodon/src/main/res/layout/recycler_fragment_with_fab.xml b/mastodon/src/main/res/layout/recycler_fragment_with_fab.xml index 4dcdac756..1ed27ed70 100644 --- a/mastodon/src/main/res/layout/recycler_fragment_with_fab.xml +++ b/mastodon/src/main/res/layout/recycler_fragment_with_fab.xml @@ -20,19 +20,6 @@ android:layout_height="match_parent" android:id="@+id/empty"/> - - + \ No newline at end of file diff --git a/mastodon/src/main/res/values/attrs.xml b/mastodon/src/main/res/values/attrs.xml index d7c044fe5..6c0e11247 100644 --- a/mastodon/src/main/res/values/attrs.xml +++ b/mastodon/src/main/res/values/attrs.xml @@ -5,10 +5,13 @@ + + + diff --git a/mastodon/src/main/res/values/styles.xml b/mastodon/src/main/res/values/styles.xml index 91693ad41..5a152871a 100644 --- a/mastodon/src/main/res/values/styles.xml +++ b/mastodon/src/main/res/values/styles.xml @@ -40,6 +40,9 @@ ?colorPrimary100 ?colorGray500 ?colorGray50 + ?colorBackgroundPopup + ?android:textColorPrimary + @style/Widget.Mastodon.Button.Compose @drawable/bg_button_primary_dark_on_light @drawable/bg_edittext_light @@ -136,6 +139,10 @@ ?colorGray700 ?colorGray300 ?colorGray800 + ?colorPrimary700 + ?colorGray100 + + @style/Widget.Mastodon.Button.Compose @drawable/bg_button_primary_light_on_dark @drawable/bg_edittext_dark @@ -203,6 +210,8 @@ @color/black ?colorGray900 @color/black + ?android:colorAccent + ?colorGray900 #000 @@ -241,6 +250,20 @@ ?colorGray25 + +