How do I invoke the search dialog using onSearchRequested()

前端 未结 4 1390
执笔经年
执笔经年 2021-02-15 17:51

I\'m trying to implement the search dialog and I am unable to display the search from an Activity.

I have my main activity defined in my manifest file, this activity sho

4条回答
  •  野性不改
    2021-02-15 18:18

    You are missing tag in your activity tag in manifest. replace your activity declaration by following.

    
            
                
                
            
    
            
    
        
    

提交回复
热议问题