diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index 6a4b1a21..880b7d07 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -864,12 +864,14 @@ public class StatusAdapter extends RecyclerView.Adapter } //Button sizes depending of the defined scale float normalSize = Helper.convertDpToPixel(28, context); + float normalSize2 = Helper.convertDpToPixel(24, context); holder.binding.actionButtonReply.getLayoutParams().width = (int) (normalSize * scaleIcon); holder.binding.actionButtonReply.getLayoutParams().height = (int) (normalSize * scaleIcon); holder.binding.actionButtonReply.requestLayout(); holder.binding.actionButtonBoost.setImageSize((int) (normalSize * scaleIcon)); holder.binding.actionButtonFavorite.setImageSize((int) (normalSize * scaleIcon)); - holder.binding.actionButtonBookmark.setImageSize((int) (normalSize * scaleIcon)); + holder.binding.actionButtonBookmark.setImageSize((int) (normalSize2 * scaleIcon)); + holder.binding.statusAddCustomEmoji.getLayoutParams().width = (int) (normalSize * scaleIcon); holder.binding.statusAddCustomEmoji.getLayoutParams().height = (int) (normalSize * scaleIcon); holder.binding.statusAddCustomEmoji.requestLayout(); @@ -1075,6 +1077,8 @@ public class StatusAdapter extends RecyclerView.Adapter holder.binding.toggleTruncate.setVisibility(View.GONE); } }); + } else { + holder.binding.toggleTruncate.setVisibility(View.GONE); } if (statusToDeal.translationContent != null) { holder.binding.containerTrans.setVisibility(View.VISIBLE); diff --git a/app/src/main/res/layout/drawer_status.xml b/app/src/main/res/layout/drawer_status.xml index e283cd08..e1524889 100644 --- a/app/src/main/res/layout/drawer_status.xml +++ b/app/src/main/res/layout/drawer_status.xml @@ -314,7 +314,7 @@ app:cardCornerRadius="8dp" app:cardElevation="0dp" app:strokeWidth="1dp" - tools:visibility="visible"> + > - - - - + android:orientation="horizontal" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + + + + - - - - - +