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 b4860ef4f..9f20c6a4b 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 @@ -395,14 +395,14 @@ public class ComposeAdapter extends RecyclerView.Adapter statusCount + 1) { if (canBeRemoved(statusList.get(statusList.size() - 1))) { - holder.binding.addRemoveStatus.setImageResource(R.drawable.ic_compose_thread_remove_status); + holder.binding.addRemoveStatus.setIconResource(R.drawable.ic_compose_thread_remove_status); holder.binding.addRemoveStatus.setContentDescription(context.getString(R.string.remove_status)); holder.binding.addRemoveStatus.setOnClickListener(v -> { manageDrafts.onItemDraftDeleted(statusList.get(holder.getLayoutPosition()), holder.getLayoutPosition()); notifyItemChanged((getItemCount() - 1)); }); } else { - holder.binding.addRemoveStatus.setImageResource(R.drawable.ic_compose_thread_add_status); + holder.binding.addRemoveStatus.setIconResource(R.drawable.ic_compose_thread_add_status); holder.binding.addRemoveStatus.setContentDescription(context.getString(R.string.add_status)); holder.binding.addRemoveStatus.setOnClickListener(v -> { manageDrafts.onItemDraftAdded(holder.getLayoutPosition()); @@ -410,7 +410,7 @@ public class ComposeAdapter extends RecyclerView.Adapter { manageDrafts.onItemDraftAdded(holder.getLayoutPosition()); @@ -1251,19 +1251,19 @@ public class ComposeAdapter extends RecyclerView.Adapter holder.binding.visibilityPanel.setVisibility(View.GONE)); holder.binding.buttonVisibilityDirect.setOnClickListener(v -> { holder.binding.visibilityPanel.setVisibility(View.GONE); - holder.binding.buttonVisibility.setImageResource(R.drawable.ic_compose_visibility_direct); + holder.binding.buttonVisibility.setIconResource(R.drawable.ic_compose_visibility_direct); statusDraft.visibility = MastodonHelper.visibility.DIRECT.name(); }); holder.binding.buttonVisibilityPrivate.setOnClickListener(v -> { holder.binding.visibilityPanel.setVisibility(View.GONE); - holder.binding.buttonVisibility.setImageResource(R.drawable.ic_compose_visibility_private); + holder.binding.buttonVisibility.setIconResource(R.drawable.ic_compose_visibility_private); statusDraft.visibility = MastodonHelper.visibility.PRIVATE.name(); }); holder.binding.buttonVisibilityUnlisted.setOnClickListener(v -> { holder.binding.visibilityPanel.setVisibility(View.GONE); - holder.binding.buttonVisibility.setImageResource(R.drawable.ic_compose_visibility_unlisted); + holder.binding.buttonVisibility.setIconResource(R.drawable.ic_compose_visibility_unlisted); statusDraft.visibility = MastodonHelper.visibility.UNLISTED.name(); }); holder.binding.buttonVisibilityPublic.setOnClickListener(v -> { holder.binding.visibilityPanel.setVisibility(View.GONE); - holder.binding.buttonVisibility.setImageResource(R.drawable.ic_compose_visibility_public); + holder.binding.buttonVisibility.setIconResource(R.drawable.ic_compose_visibility_public); statusDraft.visibility = MastodonHelper.visibility.PUBLIC.name(); unlisted_changed = true; }); diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index 19874f8e5..03cdd8dcf 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -106,7 +106,6 @@ android:layout_margin="10dp" android:contentDescription="@string/make_an_action" android:scaleType="fitCenter" - android:tint="@color/white" android:visibility="gone" app:layout_constraintStart_toEndOf="@id/avatar_container" app:layout_constraintTop_toBottomOf="@id/banner_container" diff --git a/app/src/main/res/layout/activity_admin_account.xml b/app/src/main/res/layout/activity_admin_account.xml index 974846b20..84fba13c8 100644 --- a/app/src/main/res/layout/activity_admin_account.xml +++ b/app/src/main/res/layout/activity_admin_account.xml @@ -246,7 +246,6 @@ android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:backgroundTint="?colorPrimaryDark" app:layout_collapseMode="pin"> + android:layout_height="wrap_content"> @@ -24,7 +26,7 @@ android:layout_height="wrap_content" android:layout_gravity="center" - android:textColor="?colorAccent" + android:textColor="?colorPrimary" android:text="@string/fetch_more_messages" android:textAlignment="center" android:textAppearance="@style/TextAppearance.Material3.BodyMedium" @@ -33,7 +35,9 @@ - + android:icon="@drawable/ic_baseline_close_24" /> - diff --git a/app/src/main/res/layout/drawer_keyword.xml b/app/src/main/res/layout/drawer_keyword.xml index 8f9b12c91..510f5b92c 100644 --- a/app/src/main/res/layout/drawer_keyword.xml +++ b/app/src/main/res/layout/drawer_keyword.xml @@ -1,5 +1,6 @@ - + app:strokeColor="?colorPrimary" /> \ No newline at end of file diff --git a/app/src/main/res/layout/drawer_status.xml b/app/src/main/res/layout/drawer_status.xml index c89f7133a..101a550d8 100644 --- a/app/src/main/res/layout/drawer_status.xml +++ b/app/src/main/res/layout/drawer_status.xml @@ -549,13 +549,13 @@ android:gravity="end" android:visibility="gone"> - + app:icon="@drawable/ic_baseline_share_24" /> - @@ -78,23 +79,23 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@id/content"> - + app:icon="@drawable/ic_compose_emoji" /> - @@ -138,34 +139,34 @@ android:layout_marginHorizontal="6dp" app:layout_constraintTop_toBottomOf="@id/attachments_list_container" /> - - - @@ -174,6 +175,7 @@ style="@style/Widget.Material3.Button.OutlinedButton" android:layout_marginTop="6dp" android:layout_width="wrap_content" + android:textColor="?colorPrimary" android:layout_height="wrap_content" android:gravity="center" android:textAlignment="center" @@ -208,14 +210,15 @@ app:layout_constraintStart_toEndOf="@id/button_language" app:layout_constraintTop_toBottomOf="@id/character_count" /> - diff --git a/app/src/main/res/layout/popup_release_notes.xml b/app/src/main/res/layout/popup_release_notes.xml index 6691fa065..1d251813a 100644 --- a/app/src/main/res/layout/popup_release_notes.xml +++ b/app/src/main/res/layout/popup_release_notes.xml @@ -80,7 +80,6 @@ android:layout_margin="10dp" android:contentDescription="@string/make_an_action" android:scaleType="fitCenter" - android:tint="@color/white" android:visibility="gone" app:layout_constraintStart_toEndOf="@id/avatar_container" app:layout_constraintTop_toBottomOf="@id/banner_container"