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

Commit 12bd1f31 authored by Yashar Ahmedizadeh's avatar Yashar Ahmedizadeh Committed by Abhisek Devkota
Browse files

Settings: Add option to disable search bar in recents (1/2)

Coded from scratch by yashade2001.
Firstly written for Project D.I.S.C.O. ROM.
Thanks to TheMrcool212 for his help.

Change-Id: I8a7665e7c796a584baf0e457b09f9a5af62439cd
parent f4589627
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1058,4 +1058,8 @@
    <string name="lockscreen_settings">Lock screen</string>
    <string name="category_lights">Lights</string>
    <string name="power_usage_history_title">Battery usage</string>

    <!-- Show/Hide Search Bar -->
    <string name="recents_show_searchbar">Show search bar in recents menu</string>
    <string name="keywords_recents_show_searchbar">recent recents disable enable show hide search bar searchbar</string>
</resources>
+8 −0
Original line number Diff line number Diff line
@@ -110,6 +110,14 @@
                settings:keywords="@string/keywords_display_font_size"
                android:summary="@string/summary_font_size"
                android:dialogTitle="@string/dialog_title_font_size" />

        <!-- Search in Recents -->
        <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
                android:key="recents_show_search_bar"
                android:title="@string/recents_show_searchbar"
                settings:keywords="@string/keywords_recents_show_searchbar"
                android:defaultValue="true"
                settings:advanced="true" />
    </PreferenceCategory>

    <PreferenceCategory