|
|
@ -1107,6 +1107,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
ibTranslate.setOnClickListener(this);
|
|
|
|
ibTranslate.setOnClickListener(this);
|
|
|
|
ibTranslate.setOnLongClickListener(this);
|
|
|
|
ibTranslate.setOnLongClickListener(this);
|
|
|
|
ibSummarize.setOnClickListener(this);
|
|
|
|
ibSummarize.setOnClickListener(this);
|
|
|
|
|
|
|
|
ibSummarize.setOnLongClickListener(this);
|
|
|
|
ibFullScreen.setOnClickListener(this);
|
|
|
|
ibFullScreen.setOnClickListener(this);
|
|
|
|
ibForceLight.setOnClickListener(this);
|
|
|
|
ibForceLight.setOnClickListener(this);
|
|
|
|
ibImportance.setOnClickListener(this);
|
|
|
|
ibImportance.setOnClickListener(this);
|
|
|
@ -1230,6 +1231,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
ibTranslate.setOnClickListener(null);
|
|
|
|
ibTranslate.setOnClickListener(null);
|
|
|
|
ibTranslate.setOnLongClickListener(null);
|
|
|
|
ibTranslate.setOnLongClickListener(null);
|
|
|
|
ibSummarize.setOnClickListener(null);
|
|
|
|
ibSummarize.setOnClickListener(null);
|
|
|
|
|
|
|
|
ibSummarize.setOnLongClickListener(null);
|
|
|
|
ibFullScreen.setOnClickListener(null);
|
|
|
|
ibFullScreen.setOnClickListener(null);
|
|
|
|
ibForceLight.setOnClickListener(null);
|
|
|
|
ibForceLight.setOnClickListener(null);
|
|
|
|
ibImportance.setOnClickListener(null);
|
|
|
|
ibImportance.setOnClickListener(null);
|
|
|
@ -4771,6 +4773,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
} else if (id == R.id.ibHeaders) {
|
|
|
|
} else if (id == R.id.ibHeaders) {
|
|
|
|
onMenuShareHtml(message);
|
|
|
|
onMenuShareHtml(message);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
} else if (id == R.id.ibSummarize) {
|
|
|
|
|
|
|
|
context.startActivity(new Intent(context, ActivitySetup.class)
|
|
|
|
|
|
|
|
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
|
|
|
|
|
|
|
|
.putExtra("tab", "integrations"));
|
|
|
|
|
|
|
|
return true;
|
|
|
|
} else if (id == R.id.ibFull) {
|
|
|
|
} else if (id == R.id.ibFull) {
|
|
|
|
boolean full = properties.getValue("full", message.id);
|
|
|
|
boolean full = properties.getValue("full", message.id);
|
|
|
|
if (!full) {
|
|
|
|
if (!full) {
|
|
|
|