Android XML File java.lang.nullpointerexception

后端 未结 3 1855
迷失自我
迷失自我 2021-01-21 04:59

I am building a brand new android project. It\'s not my 1st android app so I\'m much more frustrated not being able to get rid of this error...

I use an XML File, which

3条回答
  •  北海茫月
    2021-01-21 05:44

    Because the drawable that's not showing up is itself inside a RelativeLayout, you need to put some position attributes in the cadremenu layout so that Android knows where to place it. For example, try:

    
    
    
    
    
    
    
     
    
    

提交回复
热议问题