android內置搜索對話框(浮動搜索)例子

差點忘了,先上圖看效果吧: 步驟: (1)配置search bar的相關信息,新建一個位於res/xml下的一個searchable.xml的配置文件 <?xml version="1.0" encoding="utf-8"?> <searchable xmlns:android="http://schemas.android.com/apk/res/android" android:hint="
相關文章
相關標籤/搜索