|
|
|
@ -7653,6 +7653,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
context.getString(expanded ? R.string.title_accessibility_collapse : R.string.title_accessibility_expand)));
|
|
|
|
|
ibExpander.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
|
|
|
|
|
|
|
|
|
|
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibSeen,
|
|
|
|
|
context.getString(message.ui_seen ? R.string.title_unseen : R.string.title_seen)));
|
|
|
|
|
|
|
|
|
|
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibAnswer,
|
|
|
|
|
context.getString(R.string.title_reply)));
|
|
|
|
|
|
|
|
|
@ -7701,6 +7704,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
if (action == R.id.ibExpander) {
|
|
|
|
|
onToggleMessage(message);
|
|
|
|
|
return true;
|
|
|
|
|
} else if (action == R.id.ibSeen) {
|
|
|
|
|
onMenuUnseen(message);
|
|
|
|
|
return true;
|
|
|
|
|
} else if (action == R.id.ibAnswer) {
|
|
|
|
|
onActionAnswer(message, view);
|
|
|
|
|
return true;
|
|
|
|
|