android 已知 button的id,如何得到button的对象

不要case的方法
2025-05-15 13:28:51
推荐回答(1个)
回答1:

如果view已经添加到了activity里,调用findViewById(id)即可。