A few lines of the logcat
11-26 01:14:04.752 16902-16902/com.androidbelieve.drawerwithswipetabs W/dalvikvm: VFY: unable to resolve virtual method 3268: Landroid/support/v4/app/Fragment;.performOptionsMenuClosed (Landroid/view/Menu;)V
11-26 01:14:04.752 16902-16902/com.androidbelieve.drawerwithswipetabs D/dalvikvm: VFY: replacing opcode 0x6f at 0x04ac
11-26 01:14:07.315 16902-16902/com.androidbelieve.drawerwithswipetabs D/AbsListView: onDetachedFromWindow
11-26 01:14:08.896 16902-16902/com.androidbelieve.drawerwithswipetabs I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
11-26 01:14:08.936 16902-16902/com.androidbelieve.drawerwithswipetabs D/AbsListView: Get MotionRecognitionManager
11-26 01:14:08.936 16902-16902/com.androidbelieve.drawerwithswipetabs I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
2-Screenshot of the app on my phone.
XML
I - Create a searchable configuration in a
searchable.xml
saved in res/xml directory.II - Declare your searchable activity in the
AndroidManifest.xml
file.III- Declare your SearchView inside any
layout.xml
STYLING
I. Declare custom styles in your
styles.xml
file.II. Apply this style
JAVA
I- Setting up the SearchView in the
OnCreate
methodII- Receiving search query
III- Listening to the user inputs (getting inputs)