Merge "Some more a11y fixes" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-01 20:38:29 +00:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:orientation="vertical"
android:layout_marginBottom="6dp">
<LinearLayout

View File

@@ -104,6 +104,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:minHeight="48dp"
android:layout_marginStart="30dp"
android:layout_marginBottom="6dp"
>

View File

@@ -90,6 +90,7 @@ public class NotificationHistoryActivity extends Activity {
expand.setContentDescription(container.getVisibility() == View.VISIBLE
? getString(R.string.condition_expand_hide)
: getString(R.string.condition_expand_show));
expand.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
});
TextView label = viewForPackage.findViewById(R.id.label);