|
|
@ -256,7 +256,6 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
private TextView tvPlainTextOnly;
|
|
|
|
private TextView tvPlainTextOnly;
|
|
|
|
private EditTextCompose etBody;
|
|
|
|
private EditTextCompose etBody;
|
|
|
|
private ImageView ivMarkdown;
|
|
|
|
private ImageView ivMarkdown;
|
|
|
|
private ImageButton ibTemplate;
|
|
|
|
|
|
|
|
private TextView tvNoInternet;
|
|
|
|
private TextView tvNoInternet;
|
|
|
|
private TextView tvSignature;
|
|
|
|
private TextView tvSignature;
|
|
|
|
private CheckBox cbSignature;
|
|
|
|
private CheckBox cbSignature;
|
|
|
@ -416,7 +415,6 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
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);
|
|
|
|
ivMarkdown = view.findViewById(R.id.ivMarkdown);
|
|
|
|
ibTemplate = view.findViewById(R.id.ibTemplate);
|
|
|
|
|
|
|
|
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);
|
|
|
@ -817,14 +815,6 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
ibTemplate.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
ibTemplate.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
onMenuAnswerInsert(v);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (compose_color != Color.TRANSPARENT)
|
|
|
|
if (compose_color != Color.TRANSPARENT)
|
|
|
|
tvSignature.setTextColor(compose_color);
|
|
|
|
tvSignature.setTextColor(compose_color);
|
|
|
|
tvSignature.setTypeface(StyleHelper.getTypeface(compose_font, getContext()));
|
|
|
|
tvSignature.setTypeface(StyleHelper.getTypeface(compose_font, getContext()));
|
|
|
|