how to use an image as a button

后端 未结 5 1689
庸人自扰
庸人自扰 2020-12-23 23:24

this should be an easy one and I really thought that what I was doing was correct but apparently it isn\'t. I have an image that I want to use as a button, I have the button

5条回答
  •  离开以前
    2020-12-23 23:51

    You can Use ImageButtons instead of regular buttons

    The just set your background from your image in your XML

    
    

    A nice tutorial is Here

提交回复
热议问题