From 46f38575ec5116ccbfb74ef0cf1176e11d218071 Mon Sep 17 00:00:00 2001 From: Niels Egberts Date: Mon, 20 Mar 2017 19:57:17 +0000 Subject: [PATCH] New iteration of the Text-to-Speech settings. - Moves speech rate and pitch back to first page. - Voice selection is now expected to happen in Engine settings - Play/reset buttons are now actual buttons. Test: mmma packages/apps/Settings Change-Id: I917298473ec473e11eccededee1cb948b0afe911 --- res/layout/tts_action_buttons.xml | 48 ++++ res/values/strings.xml | 9 +- res/xml/tts_engine_picker.xml | 3 +- res/xml/tts_settings.xml | 70 +++-- .../search/SearchIndexableResources.java | 2 - .../settings/tts/TextToSpeechSettings.java | 263 ++++++++++++------ .../settings/tts/TtsSlidersFragment.java | 207 -------------- 7 files changed, 263 insertions(+), 339 deletions(-) create mode 100644 res/layout/tts_action_buttons.xml delete mode 100644 src/com/android/settings/tts/TtsSlidersFragment.java diff --git a/res/layout/tts_action_buttons.xml b/res/layout/tts_action_buttons.xml new file mode 100644 index 00000000000..090df4254dd --- /dev/null +++ b/res/layout/tts_action_buttons.xml @@ -0,0 +1,48 @@ + + + + + +