diff --git a/app/src/main/java/org/schabi/newpipe/settings/SettingsActivity.java b/app/src/main/java/org/schabi/newpipe/settings/SettingsActivity.java index 787740cc2..88c8fcba5 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/SettingsActivity.java +++ b/app/src/main/java/org/schabi/newpipe/settings/SettingsActivity.java @@ -226,6 +226,8 @@ public class SettingsActivity extends AppCompatActivity .add(FRAGMENT_HOLDER_ID, searchFragment, PreferenceSearchFragment.NAME) .addToBackStack(PreferenceSearchFragment.NAME) .commit(); + + KeyboardUtil.showKeyboard(this, searchEditText); } else if (searchFragment != null) { fm.beginTransaction().remove(searchFragment).commit(); fm.popBackStack( diff --git a/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceSearchResultHighlighter.java b/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceSearchResultHighlighter.java index 4ddb2caa8..e48ca28ce 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceSearchResultHighlighter.java +++ b/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceSearchResultHighlighter.java @@ -70,7 +70,7 @@ public final class PreferenceSearchResultHighlighter { } } highlightFallback(prefsFragment, prefResult); - }, 150); + }, 200); return; } }