Merge "Set the layout of seekbar as the preference_iconless_slider and remove the higher speech rate preference variables. The layout is changed to preference_iconless_slider so that the speech rate slider layout is same as the layout of seekbars in android settings." into nyc-dev

am: b17a56e07f

* commit 'b17a56e07fcd127a900c7030499b3328dc87237d':
  Set the layout of seekbar as the preference_iconless_slider and remove the higher speech rate preference variables. The layout is changed to preference_iconless_slider so that the speech rate slider layout is same as the layout of seekbars in android settings.
This commit is contained in:
shwetachahar
2016-02-29 10:41:47 +00:00
committed by android-build-merger
2 changed files with 2 additions and 7 deletions

View File

@@ -29,7 +29,8 @@
android:title="@string/tts_default_rate_title"
android:summary="@string/tts_default_rate_summary"
android:defaultValue="50"
android:max="600" />
android:max="600"
android:layout="@layout/preference_iconless_slider" />
<Preference android:key="reset_speech_rate"
android:persistent="false"

View File

@@ -89,18 +89,12 @@ public class TextToSpeechSettings extends SettingsPreferenceFragment implements
private PreferenceCategory mEnginePreferenceCategory;
private SeekBarPreference mDefaultRatePref;
private SwitchPreference mHigherRateSwitchPref;
private Preference mResetSpeechRate;
private Preference mPlayExample;
private Preference mEngineStatus;
private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE;
/**
* Whether higher speech rate is enabled.
*/
private boolean mHigherRateSwitch = false;
/**
* The currently selected engine.
*/