|
|
@ -7210,6 +7210,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
context.getString(expanded ? R.string.title_accessibility_collapse : R.string.title_accessibility_expand)));
|
|
|
|
context.getString(expanded ? R.string.title_accessibility_collapse : R.string.title_accessibility_expand)));
|
|
|
|
ibExpander.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
|
|
|
|
ibExpander.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibAnswer,
|
|
|
|
|
|
|
|
context.getString(R.string.title_reply)));
|
|
|
|
|
|
|
|
|
|
|
|
if (ibAvatar.getVisibility() == View.VISIBLE && ibAvatar.isEnabled())
|
|
|
|
if (ibAvatar.getVisibility() == View.VISIBLE && ibAvatar.isEnabled())
|
|
|
|
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibAvatar,
|
|
|
|
info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.ibAvatar,
|
|
|
|
context.getString(R.string.title_accessibility_view_contact)));
|
|
|
|
context.getString(R.string.title_accessibility_view_contact)));
|
|
|
@ -7249,6 +7252,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
if (action == R.id.ibExpander) {
|
|
|
|
if (action == R.id.ibExpander) {
|
|
|
|
onToggleMessage(message);
|
|
|
|
onToggleMessage(message);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
} else if (action == R.id.ibAnswer) {
|
|
|
|
|
|
|
|
onActionAnswer(message, view);
|
|
|
|
|
|
|
|
return true;
|
|
|
|
} else if (action == R.id.ibAvatar) {
|
|
|
|
} else if (action == R.id.ibAvatar) {
|
|
|
|
onViewContact(message);
|
|
|
|
onViewContact(message);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|