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

Commit

Permalink
Use native search view
Browse files Browse the repository at this point in the history
Refs #2037
  • Loading branch information
M66B committed Oct 20, 2014
1 parent 3842b9d commit 6881087
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions res/menu/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -83,4 +83,4 @@
</menu>
</item>

</menu>
</menu>
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/ActivityMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import android.os.Environment;
import android.os.Handler;
import android.os.Process;
import android.support.v7.widget.SearchView;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
Expand Down Expand Up @@ -70,6 +69,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;
Expand Down

0 comments on commit 6881087

Please sign in to comment.