Comparing background of a button to a drawable (Android)

后端 未结 0 1364
执笔经年
执笔经年 2020-12-30 16:07

im trying to compare the background of a button to a drawable resource like this:

if (selectedButton.getBackground().getConstantState()
==getResources().getDr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题