How to set text of android button in onCreate Method?

前端 未结 0 768
广开言路
广开言路 2020-12-28 17:45

I want to set the text of my button in onCreate Method, but it doesn\'t work.

Code in MainActivity-Class:

Button button;

Code in onCre

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