Files
app_Settings/res/layout/accessibility_text_reading_preview_app_grid.xml
Daniel Norman bb4bd5cd0e feat(expressive): More expressive updates for Display size & text
- Updates each preview page to include a unique title
- Updated preview padding to closer match UX mocks and to look more
  consistent across the 3 default previews.
- Uses categories to group the sliders separate from the toggles.
  Includes titles for the categories so that these categories are
  understandable for screen reader users.
- Updates the Message preview icons to use a black icon color
  (the old gray color had a very low contrast against the icon bg)

Fix: 399173131
Test: atest com.android.settings.accessibility
Test: see screenshots in bug
Test: interacted with the previews using TalkBack; observed that
      TalkBack still reads each preview's content description
Flag: EXEMPT low risk visual changes
Change-Id: Ied418adc66931b6665de9f1454d7ac1bdb4b0e87
2025-04-23 19:33:37 +00:00

38 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:contentDescription="@string/preview_pager_home_title"
android:clipChildren="true" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/preview_pager_home_title"
android:importantForAccessibility="noHideDescendants"
style="@style/AccessibilityTextReadingPreviewPageTitle" />
<com.android.settings.display.AppGridView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:numColumns="3"
android:gravity="center"
android:nestedScrollingEnabled="true"
android:importantForAccessibility="noHideDescendants"
app:appCount="6"/>
</LinearLayout>