单项选择题

Android中,如何实例化在布局文件中已有的控件?
A、new Xxx()
B、findViewById()
C、getElementById()
D、getResources()

微信扫码免费搜题