Programmatically change drawableLeft of Button

后端 未结 5 1215
太阳男子
太阳男子 2021-02-09 00:50

I\'m using a Button

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-09 01:27

    I recomend that instead of using a button you use an Imageview and add an onclick listener to it. That way you can just do Imageview.setbitmap(bitmap) and create a bitmap from one of your drawables

提交回复
热议问题