Merge "Update R accessibility assets and strings (4/n)" into rvc-dev
This commit is contained in:
BIN
res/drawable/accessibility_captions.png
Normal file
BIN
res/drawable/accessibility_captions.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB |
BIN
res/drawable/accessibility_dwell.png
Normal file
BIN
res/drawable/accessibility_dwell.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
@@ -22,8 +22,9 @@
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/color_mode_preview_height"
|
||||
android:layout_height="@dimen/autoclick_preview_height"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/accessibility_color_inversion_preview"/>
|
||||
android:src="@drawable/accessibility_dwell"/>
|
||||
|
||||
</FrameLayout>
|
30
res/layout/accessibility_captions_preview.xml
Normal file
30
res/layout/accessibility_captions_preview.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2020 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.
|
||||
-->
|
||||
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/captioning_preview_height"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/accessibility_captions" />
|
||||
|
||||
</FrameLayout>
|
BIN
res/raw/accessibility_color_inversion.mp4
Normal file
BIN
res/raw/accessibility_color_inversion.mp4
Normal file
Binary file not shown.
@@ -56,6 +56,8 @@
|
||||
|
||||
<dimen name="captioning_preview_height">200dp</dimen>
|
||||
|
||||
<dimen name="autoclick_preview_height">200dp</dimen>
|
||||
|
||||
<dimen name="color_mode_preview_height">320dp</dimen>
|
||||
|
||||
<dimen name="ring_progress_bar_thickness">4dp</dimen>
|
||||
|
@@ -19,6 +19,15 @@
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:title="@string/accessibility_autoclick_preference_title">
|
||||
|
||||
<com.android.settingslib.widget.LayoutPreference
|
||||
android:key="accessibility_autoclick_preview"
|
||||
android:layout="@layout/accessibility_autoclick_preview"
|
||||
android:persistent="false"
|
||||
android:selectable="false"
|
||||
android:title="@string/summary_placeholder"
|
||||
settings:allowDividerBelow="true"
|
||||
settings:searchable="false" />
|
||||
|
||||
<com.android.settingslib.widget.RadioButtonPreference
|
||||
android:key="accessibility_control_autoclick_default"
|
||||
android:title="@string/accessibility_autoclick_default_title"
|
||||
|
@@ -21,14 +21,14 @@
|
||||
android:persistent="false"
|
||||
android:title="@string/accessibility_display_inversion_preference_title">
|
||||
|
||||
<com.android.settingslib.widget.LayoutPreference
|
||||
<com.android.settings.widget.VideoPreference
|
||||
android:key="color_inversion_preview"
|
||||
android:layout="@layout/color_inversion_preview"
|
||||
android:persistent="false"
|
||||
android:selectable="false"
|
||||
android:title="@string/summary_placeholder"
|
||||
settings:allowDividerAbove="true"
|
||||
settings:allowDividerBelow="true"
|
||||
settings:animation="@raw/accessibility_color_inversion"
|
||||
settings:controller="com.android.settings.widget.VideoPreferenceController"
|
||||
settings:searchable="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -21,11 +21,21 @@
|
||||
android:persistent="false"
|
||||
android:title="@string/accessibility_captioning_title">
|
||||
|
||||
<com.android.settingslib.widget.LayoutPreference
|
||||
android:key="captions_preview"
|
||||
android:layout="@layout/accessibility_captions_preview"
|
||||
android:persistent="false"
|
||||
android:selectable="false"
|
||||
android:title="@string/summary_placeholder"
|
||||
settings:allowDividerBelow="true"
|
||||
settings:searchable="false" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="captioning_preference_switch"
|
||||
android:persistent="false"
|
||||
android:summary="@string/accessibility_caption_master_switch_summary"
|
||||
android:title="@string/accessibility_caption_master_switch_title" />
|
||||
android:title="@string/accessibility_caption_master_switch_title"
|
||||
settings:allowDividerAbove="true" />
|
||||
|
||||
<Preference
|
||||
android:fragment="com.android.settings.accessibility.CaptionAppearanceFragment"
|
||||
|
Reference in New Issue
Block a user