|
|
@ -256,6 +256,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
private TextView tvResend;
|
|
|
|
private TextView tvResend;
|
|
|
|
private TextView tvPlainTextOnly;
|
|
|
|
private TextView tvPlainTextOnly;
|
|
|
|
private EditTextCompose etBody;
|
|
|
|
private EditTextCompose etBody;
|
|
|
|
|
|
|
|
private ImageView ivMarkdown;
|
|
|
|
private TextView tvNoInternet;
|
|
|
|
private TextView tvNoInternet;
|
|
|
|
private TextView tvSignature;
|
|
|
|
private TextView tvSignature;
|
|
|
|
private CheckBox cbSignature;
|
|
|
|
private CheckBox cbSignature;
|
|
|
@ -414,6 +415,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
tvResend = view.findViewById(R.id.tvResend);
|
|
|
|
tvResend = view.findViewById(R.id.tvResend);
|
|
|
|
tvPlainTextOnly = view.findViewById(R.id.tvPlainTextOnly);
|
|
|
|
tvPlainTextOnly = view.findViewById(R.id.tvPlainTextOnly);
|
|
|
|
etBody = view.findViewById(R.id.etBody);
|
|
|
|
etBody = view.findViewById(R.id.etBody);
|
|
|
|
|
|
|
|
ivMarkdown = view.findViewById(R.id.ivMarkdown);
|
|
|
|
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
|
|
|
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
|
|
|
tvSignature = view.findViewById(R.id.tvSignature);
|
|
|
|
tvSignature = view.findViewById(R.id.tvSignature);
|
|
|
|
cbSignature = view.findViewById(R.id.cbSignature);
|
|
|
|
cbSignature = view.findViewById(R.id.cbSignature);
|
|
|
@ -1102,6 +1104,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
tvPlainTextOnly.setVisibility(View.GONE);
|
|
|
|
tvPlainTextOnly.setVisibility(View.GONE);
|
|
|
|
etBody.setText(null);
|
|
|
|
etBody.setText(null);
|
|
|
|
etBody.setHint(null);
|
|
|
|
etBody.setHint(null);
|
|
|
|
|
|
|
|
ivMarkdown.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
grpHeader.setVisibility(View.GONE);
|
|
|
|
grpHeader.setVisibility(View.GONE);
|
|
|
|
grpExtra.setVisibility(View.GONE);
|
|
|
|
grpExtra.setVisibility(View.GONE);
|
|
|
@ -7777,6 +7780,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
etBody.setHint(hint);
|
|
|
|
etBody.setHint(hint);
|
|
|
|
|
|
|
|
|
|
|
|
grpBody.setVisibility(View.VISIBLE);
|
|
|
|
grpBody.setVisibility(View.VISIBLE);
|
|
|
|
|
|
|
|
ivMarkdown.setVisibility(markdown ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
cbSignature.setChecked(draft.signature);
|
|
|
|
cbSignature.setChecked(draft.signature);
|
|
|
|
tvSignature.setAlpha(draft.signature ? 1.0f : Helper.LOW_LIGHT);
|
|
|
|
tvSignature.setAlpha(draft.signature ? 1.0f : Helper.LOW_LIGHT);
|
|
|
|