1. Remove an extra PreferenceGroup that was causing some spacing issues. 2. Remove the animations when elements resize because this causes items to slide around unnecessarily. 3. While we're in the file, lambda-ify some of the older code. Bug: 77981482 Bug: 79897262 Test: Manually verified. Change-Id: I9c79beea3a231ba62aeef3543802faebd775e128
58 lines
2.3 KiB
XML
58 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2009 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.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:key="tts_settings_screen"
|
|
android:title="@string/tts_settings_title">
|
|
|
|
<com.android.settings.widget.GearPreference
|
|
android:key="tts_engine_preference"
|
|
android:title="@string/tts_engine_preference_title"
|
|
android:fragment="com.android.settings.tts.TtsEnginePreferenceFragment"
|
|
settings:searchable="false"/>
|
|
|
|
<ListPreference
|
|
android:key="tts_default_lang"
|
|
android:title="@string/tts_default_lang_title"
|
|
android:summary="@string/tts_default_lang_summary"
|
|
android:persistent="false" />
|
|
|
|
<PreferenceCategory android:key="tts_general_section">
|
|
|
|
<!-- The max value for seek bars here should be kept in sync
|
|
with the max value specified in TextToSpeechSettings class. -->
|
|
<com.android.settings.widget.SeekBarPreference
|
|
android:key="tts_default_rate"
|
|
android:title="@string/tts_default_rate_title"
|
|
android:summary="@string/tts_default_rate_summary"
|
|
android:defaultValue="50"
|
|
android:max="600"/>
|
|
|
|
<com.android.settings.widget.SeekBarPreference
|
|
android:key="tts_default_pitch"
|
|
android:title="@string/tts_default_pitch_title"
|
|
android:summary="@string/tts_default_pitch_summary"
|
|
android:defaultValue="100"
|
|
android:max="400"/>
|
|
|
|
<com.android.settings.widget.ActionButtonPreference
|
|
android:key="action_buttons" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|