truncate publish button
This commit is contained in:
parent
f1ce700c93
commit
f55bd6d6cd
|
@ -638,6 +638,8 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
|
|||
} else {
|
||||
publishButton.setText(publishText);
|
||||
}
|
||||
publishButton.setSingleLine();
|
||||
publishButton.setEllipsize(TextUtils.TruncateAt.END);
|
||||
publishButton.setOnClickListener(this::onPublishClick);
|
||||
LinearLayout wrap=new LinearLayout(getActivity());
|
||||
wrap.setOrientation(LinearLayout.HORIZONTAL);
|
||||
|
|
Loading…
Reference in New Issue