diff options
author | linyuh <linyuh@google.com> | 2018-05-16 16:18:46 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-16 16:19:29 -0700 |
commit | 4a8890f37496bf669734772068b3d684007c42f9 (patch) | |
tree | 5bc78cfca0bf571b752c5fc48321f98a93f18a0e /java/com/android/dialer/voicemail/listui/error/res/layout | |
parent | b86b1a295178dc77d1b6b4af59d561d54c7469cf (diff) |
Implement accessibility for the new voicemail fragment.
Bug: 70989658
Test: Manual
PiperOrigin-RevId: 196907085
Change-Id: If3db2d6906245f052e756b315365b9d306f9d06d
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/error/res/layout')
-rw-r--r-- | java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml b/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml index 4bea8b152..7e74bae10 100644 --- a/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml +++ b/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml @@ -15,6 +15,7 @@ --> <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:id="@+id/error_card" style="@style/CallLogCardStyle" android:gravity="center_vertical" @@ -41,7 +42,9 @@ android:layout_width="@dimen/voicemail_promo_card_icon_size" android:layout_height="@dimen/voicemail_promo_card_icon_size" android:layout_gravity="top" - android:src="@drawable/ic_voicemail_error_24px"/> + android:importantForAccessibility="no" + android:src="@drawable/ic_voicemail_error_24px" + tools:ignore="ContentDescription"/> <LinearLayout android:layout_width="match_parent" @@ -82,10 +85,10 @@ <TextView android:id="@+id/secondary_action_raised" style="@style/RaisedErrorActionStyle" - android:paddingEnd="@dimen/alert_action_between_padding" android:layout_marginEnd="8dp" - android:nextFocusForward="@+id/secondary_action" - android:clickable="true"/> + android:paddingEnd="@dimen/alert_action_between_padding" + android:clickable="true" + android:nextFocusForward="@+id/secondary_action"/> <TextView android:id="@+id/secondary_action" @@ -103,9 +106,8 @@ <TextView android:id="@+id/primary_action_raised" style="@style/RaisedErrorActionStyle" - android:nextFocusForward="@+id/promo_card" android:clickable="true" - /> + android:nextFocusForward="@+id/promo_card"/> </LinearLayout> </LinearLayout> |