题目内容

在MainActivity中需要找到一个id是sysdate的DatePicker组件,下面哪种写法是正确的?( )

A. DatePicker mydate=findViewById(R.id. sysdate);
B. DatePicker mydate =findViewById(R.id. datePicker_1);
C. DatePicker mydate =findViewById(R.id. DatePicker);
DatePicker mydate =findViewById(R.id. string.sysdate);

查看答案
更多问题

在MainActivity中需要找到一个id是bookName的Button组件,下面哪种写法是正确的?( )

A. Button btn=findViewById(R.id. bookName);
Button btn=findViewById(R.id. code);
C. Button btn=findViewById(R.id. button_1);
D. Button btn=findViewById(R.id. string.bookName);

1G通信时代的主要特点是采用模拟信号,只能通电话。( )

世界上第一台搭载Android系统并上市销售的手机,是HTC Dream G1。( )

DatePicker控件默认的情况下,会显示日历控件( )。

答案查题题库