diff --git a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java index 2c2101d6..42f1e0ff 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java @@ -494,6 +494,9 @@ public class StatusAdapter extends RecyclerView.Adapter LinearLayoutCompat.MarginLayoutParams psc = (LinearLayoutCompat.MarginLayoutParams) holder.binding.statusContent.getLayoutParams(); psc.setMarginStart((int) Helper.convertDpToPixel(6, context)); holder.binding.statusContent.setLayoutParams(psc); + LinearLayoutCompat.MarginLayoutParams psq = (LinearLayoutCompat.MarginLayoutParams) holder.binding.quotedMessage.cardviewContainer.getLayoutParams(); + psq.setMarginStart((int) Helper.convertDpToPixel(6, context)); + holder.binding.quotedMessage.cardviewContainer.setLayoutParams(psq); LinearLayoutCompat.MarginLayoutParams pct = (LinearLayoutCompat.MarginLayoutParams) holder.binding.containerTrans.getLayoutParams(); pct.setMarginStart((int) Helper.convertDpToPixel(6, context)); holder.binding.containerTrans.setLayoutParams(psc); @@ -521,6 +524,10 @@ public class StatusAdapter extends RecyclerView.Adapter LinearLayoutCompat.MarginLayoutParams pab = (LinearLayoutCompat.MarginLayoutParams) holder.binding.actionButtons.getLayoutParams(); pab.setMarginStart((int) Helper.convertDpToPixel(6, context)); holder.binding.actionButtons.setLayoutParams(pab); + } else { + LinearLayoutCompat.MarginLayoutParams psq = (LinearLayoutCompat.MarginLayoutParams) holder.binding.quotedMessage.cardviewContainer.getLayoutParams(); + psq.setMarginStart((int) Helper.convertDpToPixel(48, context)); + holder.binding.quotedMessage.cardviewContainer.setLayoutParams(psq); } String loadMediaType = sharedpreferences.getString(context.getString(R.string.SET_LOAD_MEDIA_TYPE), "ALWAYS");