Hack to prevent disappearing icons

This commit is contained in:
M66B
2019-06-20 10:33:29 +02:00
parent 7843134b47
commit 5215bfce98
5 changed files with 23 additions and 1 deletions

View File

@@ -387,6 +387,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
tvNoInternetAttachments = attachments.findViewById(R.id.tvNoInternetAttachments);
bnvActions = vsBody.findViewById(R.id.bnvActions);
for (int i = 0; i < bnvActions.getMenu().size(); i++)
bnvActions.getMenu().getItem(i).getIcon().mutate();
if (compact) {
bnvActions.setLabelVisibilityMode(LabelVisibilityMode.LABEL_VISIBILITY_UNLABELED);
ViewGroup.LayoutParams lparam = bnvActions.getLayoutParams();