Popup menu with icon on Android

前端 未结 8 1801
耶瑟儿~
耶瑟儿~ 2020-12-16 21:02

My menu xml code menu.xml:

         


        
8条回答
  •  北海茫月
    2020-12-16 21:29

    It's because when you use the showAsAction="never" attribute, the default overflow does not return your icon. You could create your own overflow like this:

    
          
        
    
        
    
        
    
        
         
      
    
    

提交回复
热议问题