Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Revert "Fixed double tap search"
Browse files Browse the repository at this point in the history
This reverts commit de2505d.

Conflicts:
	CHANGELOG.md

Refs #2043
M66B committed Oct 26, 2014
1 parent 569f105 commit b993667
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -26,6 +26,8 @@ See for more information about XPrivacy 3 [this FAQ](https://github.com/M66B/XPr

**Next release**

* Fixed search by reverting to holo search

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)

**Version 3.4.12 BETA**
2 changes: 1 addition & 1 deletion res/menu/main.xml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
android:id="@+id/menu_search"
android:icon="@android:drawable/ic_menu_search"
android:title="@android:string/search_go"
app:actionViewClass="android.support.v7.widget.SearchView"
app:actionViewClass="android.widget.SearchView"
app:showAsAction="collapseActionView|always"/>
<item
android:id="@+id/menu_sort"
3 changes: 2 additions & 1 deletion src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
@@ -38,7 +38,6 @@
import android.os.Handler;
import android.os.Process;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.widget.SearchView;
import android.support.v7.widget.Toolbar;
import android.text.TextUtils;
import android.util.Log;
@@ -72,6 +71,7 @@
import android.widget.RadioGroup;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.SearchView;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;
@@ -490,6 +490,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
SearchView searchView = (SearchView) MenuItemCompat.getActionView(menu.findItem(R.id.menu_search));
if (searchView != null) {
searchView.setIconifiedByDefault(false);

searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override
public boolean onQueryTextChange(String newText) {

0 comments on commit b993667

Please sign in to comment.