Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b17a56e0 authored by Shweta Chahar's avatar Shweta Chahar Committed by Android (Google) Code Review
Browse files

Merge "Set the layout of seekbar as the preference_iconless_slider and remove...

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
parents a77940d0 6426435b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"
+0 −6
Original line number Diff line number Diff line
@@ -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.
     */