From b566ba9fdd653d82b460be9570a3e4b14302448b Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 2 Nov 2022 18:59:51 +0100 Subject: [PATCH] Some improvements with theme --- .../android/activities/ProfileActivity.java | 1 + .../android/ui/drawer/ComposeAdapter.java | 19 ++++++++++++++++++ .../ui/drawer/StatusHistoryAdapter.java | 20 +++++++++++++++++++ app/src/main/res/layout/activity_profile.xml | 1 + .../main/res/layout/activity_scheduled.xml | 1 + .../res/layout/fragment_profile_timelines.xml | 1 + 6 files changed, 43 insertions(+) diff --git a/app/src/main/java/app/fedilab/android/activities/ProfileActivity.java b/app/src/main/java/app/fedilab/android/activities/ProfileActivity.java index 38433773..157b8c52 100644 --- a/app/src/main/java/app/fedilab/android/activities/ProfileActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/ProfileActivity.java @@ -511,6 +511,7 @@ public class ProfileActivity extends BaseActivity { } } binding.accountFollow.setBackgroundTintList(ThemeHelper.getButtonActionColorStateList(ProfileActivity.this)); + binding.headerEditProfile.setBackgroundTintList(ThemeHelper.getButtonActionColorStateList(ProfileActivity.this)); binding.accountFollow.setEnabled(true); //Visibility depending of the relationship if (relationship != null) { diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java index c42f24e6..a1ba53e6 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java @@ -1059,10 +1059,17 @@ public class ComposeAdapter extends RecyclerView.Adapter diff --git a/app/src/main/res/layout/activity_scheduled.xml b/app/src/main/res/layout/activity_scheduled.xml index 7a743a81..8a556273 100644 --- a/app/src/main/res/layout/activity_scheduled.xml +++ b/app/src/main/res/layout/activity_scheduled.xml @@ -58,6 +58,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/cyanea_primary_dark_reference" + app:tabIndicatorColor="@color/cyanea_accent_dark_reference" app:tabGravity="fill" app:tabMode="scrollable" /> diff --git a/app/src/main/res/layout/fragment_profile_timelines.xml b/app/src/main/res/layout/fragment_profile_timelines.xml index e1af8970..3506aaa9 100644 --- a/app/src/main/res/layout/fragment_profile_timelines.xml +++ b/app/src/main/res/layout/fragment_profile_timelines.xml @@ -25,6 +25,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/cyanea_primary_dark_reference" + app:tabIndicatorColor="@color/cyanea_accent_dark_reference" app:tabGravity="fill" app:tabMaxWidth="0dp" />