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

Commit 6426435b authored by shwetachahar's avatar shwetachahar
Browse files

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.

Bug: 27136737
Change-Id: Ib75b8dec74ef07be87130a3f29249b148f4bcf0b
parent ab1a97c3
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.
     */