{"id":120,"date":"2014-05-13T18:01:45","date_gmt":"2014-05-13T18:01:45","guid":{"rendered":"http:\/\/linux.suriyasuneel.com\/?p=120"},"modified":"2015-02-22T01:51:23","modified_gmt":"2015-02-22T01:51:23","slug":"android-searchview-in-actionbar","status":"publish","type":"post","link":"http:\/\/linux.suriyasuneel.com\/?p=120","title":{"rendered":"Android SearchView in ActionBar"},"content":{"rendered":"<p>The manifest file that will call jc_search_activity.java<\/p>\n<p>&nbsp;<\/p>\n<pre>&lt;activity\r\nandroid:name=\"com.jc.suadmin.first_page\"\r\nandroid:label=\"@string\/app_name\"\r\nandroid:theme=\"@style\/AppTheme\" &gt;\r\n&lt;intent-filter&gt;\r\n&lt;action android:name=\"android.intent.action.MAIN\" \/&gt;\r\n&lt;category android:name=\"android.intent.category.LAUNCHER\" \/&gt;\r\n&lt;\/intent-filter&gt;\r\n&lt;meta-data android:name=\"android.app.default_searchable\" android:value=\".jc_search_activity\" \/&gt;\r\n&lt;\/activity&gt;\r\n&lt;activity\r\nandroid:name=\".jc_search_activity\"\r\nandroid:label=\"@string\/app_name\"&gt;\r\n\r\n&lt;intent-filter&gt;\r\n&lt;action android:name=\"android.intent.action.SEARCH\" \/&gt;\r\n&lt;\/intent-filter&gt;\r\n&lt;meta-data android:name=\"android.app.searchable\" android:resource=\"@xml\/searchable\"\/&gt;\r\n&lt;\/activity&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The manifest file that will call jc_search_activity.java &nbsp; &lt;activity android:name=&#8221;com.jc.suadmin.first_page&#8221; android:label=&#8221;@string\/app_name&#8221; android:theme=&#8221;@style\/AppTheme&#8221; &gt; &lt;intent-filter&gt; &lt;action android:name=&#8221;android.intent.action.MAIN&#8221; \/&gt; &lt;category android:name=&#8221;android.intent.category.LAUNCHER&#8221; \/&gt; &lt;\/intent-filter&gt; &lt;meta-data android:name=&#8221;android.app.default_searchable&#8221; android:value=&#8221;.jc_search_activity&#8221; \/&gt; &lt;\/activity&gt; &lt;activity android:name=&#8221;.jc_search_activity&#8221; android:label=&#8221;@string\/app_name&#8221;&gt; &lt;intent-filter&gt; &lt;action android:name=&#8221;android.intent.action.SEARCH&#8221; \/&gt; &lt;\/intent-filter&gt; &lt;meta-data android:name=&#8221;android.app.searchable&#8221; android:resource=&#8221;@xml\/searchable&#8221;\/&gt; &lt;\/activity&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/120"}],"collection":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=120"}],"version-history":[{"count":3,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":123,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=\/wp\/v2\/posts\/120\/revisions\/123"}],"wp:attachment":[{"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/linux.suriyasuneel.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}