From b26b6a8339dc431db4efb4ef6d24186b8faeada7 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sun, 19 Jan 2025 16:00:20 -0300 Subject: [PATCH] refactor: readd drawables/animators used by our styles.xml --- .../main/res/animator/m3_button_elevation.xml | 30 +++++++++++++++++++ .../drawable/bg_button_m3_tonal_outlined.xml | 27 +++++++++++++++++ .../main/res/drawable/bg_button_new_posts.xml | 10 +++++++ .../drawable/bg_button_new_posts_outlined.xml | 10 +++++++ .../drawable/ic_announcements_24_badged.xml | 10 +++++++ .../res/drawable/ic_settings_24_badged.xml | 10 +++++++ 6 files changed, 97 insertions(+) create mode 100644 mastodon/src/main/res/animator/m3_button_elevation.xml create mode 100644 mastodon/src/main/res/drawable/bg_button_m3_tonal_outlined.xml create mode 100644 mastodon/src/main/res/drawable/bg_button_new_posts.xml create mode 100644 mastodon/src/main/res/drawable/bg_button_new_posts_outlined.xml create mode 100644 mastodon/src/main/res/drawable/ic_announcements_24_badged.xml create mode 100644 mastodon/src/main/res/drawable/ic_settings_24_badged.xml diff --git a/mastodon/src/main/res/animator/m3_button_elevation.xml b/mastodon/src/main/res/animator/m3_button_elevation.xml new file mode 100644 index 000000000..07e799a69 --- /dev/null +++ b/mastodon/src/main/res/animator/m3_button_elevation.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + diff --git a/mastodon/src/main/res/drawable/bg_button_m3_tonal_outlined.xml b/mastodon/src/main/res/drawable/bg_button_m3_tonal_outlined.xml new file mode 100644 index 000000000..d06d0a9f6 --- /dev/null +++ b/mastodon/src/main/res/drawable/bg_button_m3_tonal_outlined.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mastodon/src/main/res/drawable/bg_button_new_posts.xml b/mastodon/src/main/res/drawable/bg_button_new_posts.xml new file mode 100644 index 000000000..704ca1637 --- /dev/null +++ b/mastodon/src/main/res/drawable/bg_button_new_posts.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/mastodon/src/main/res/drawable/bg_button_new_posts_outlined.xml b/mastodon/src/main/res/drawable/bg_button_new_posts_outlined.xml new file mode 100644 index 000000000..90db5e024 --- /dev/null +++ b/mastodon/src/main/res/drawable/bg_button_new_posts_outlined.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/mastodon/src/main/res/drawable/ic_announcements_24_badged.xml b/mastodon/src/main/res/drawable/ic_announcements_24_badged.xml new file mode 100644 index 000000000..1f767581d --- /dev/null +++ b/mastodon/src/main/res/drawable/ic_announcements_24_badged.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/mastodon/src/main/res/drawable/ic_settings_24_badged.xml b/mastodon/src/main/res/drawable/ic_settings_24_badged.xml new file mode 100644 index 000000000..9a5ddcf48 --- /dev/null +++ b/mastodon/src/main/res/drawable/ic_settings_24_badged.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file