请在 下方输入 要搜索的题目:

在Android 中需要找一个id为label的TextView组件,下列哪个语句是正确的()


A、TextView tv=this.findViewById(R.id.label);;

B、TextView tv=(TextView)findViewById(R.id.label);;

C、TextView tv=(TextView)findViewById(R.layout. label);;

D、TextView tv=(TextView)findViewById(R.string.label);

发布时间:2025-02-21 03:10:59
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:TextView tv=(TextView)findViewById(R.id.label);
专业技术学习
专业技术学习
搜搜题库系统