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