|
|
|
@ -1616,6 +1616,15 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
|
menu.findItem(R.id.menu_answer_create).setEnabled(state == State.LOADED);
|
|
|
|
|
menu.findItem(R.id.menu_clear).setEnabled(state == State.LOADED);
|
|
|
|
|
|
|
|
|
|
SpannableStringBuilder ssbZoom = new SpannableStringBuilder(getString(R.string.title_zoom));
|
|
|
|
|
ssbZoom.append(' ');
|
|
|
|
|
for (int i = 0; i <= zoom; i++)
|
|
|
|
|
ssbZoom.append('+');
|
|
|
|
|
menu.findItem(R.id.menu_zoom)
|
|
|
|
|
.setIcon(R.drawable.twotone_format_size_24)
|
|
|
|
|
.setTitle(ssbZoom);
|
|
|
|
|
PopupMenuLifecycle.insertIcon(context, menu.findItem(R.id.menu_zoom));
|
|
|
|
|
|
|
|
|
|
int colorEncrypt = Helper.resolveColor(context, R.attr.colorEncrypt);
|
|
|
|
|
int colorActionForeground = Helper.resolveColor(context, R.attr.colorActionForeground);
|
|
|
|
|
|
|
|
|
|