diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-05-17 00:58:46 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-17 00:58:46 +0000 |
commit | 1bff1f6fa431b36e9cc96b085a0ab519cd52b1b9 (patch) | |
tree | 5bc78cfca0bf571b752c5fc48321f98a93f18a0e /java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml | |
parent | b86b1a295178dc77d1b6b4af59d561d54c7469cf (diff) | |
parent | 4a8890f37496bf669734772068b3d684007c42f9 (diff) |
Merge "Implement accessibility for the new voicemail fragment."
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_error_message_fragment.xml')
-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> |