單項(xiàng)選擇題文本文字的顏色設(shè)置為紅色為()。

A.android:text=”red”
B.android:textColor=”<F00”
C.android:textColor=”red”
D.android:Color=”<0F0”


您可能感興趣的試卷

你可能感興趣的試題

2.單項(xiàng)選擇題xml文件中使用mipmap中的圖片img.jpg的語句()。

A.R.mipmap.img
B.@mipmap/img.jpg
C.@mipmap/img
D.mipmap.img

3.單項(xiàng)選擇題在activity中使用一個布局界面lay1.xml的語句()。

A.findViewByID(R.id.lay1)
B.addView(lay1.xml)
C.setContentView(R.layout.lay1)
D.setContentView(lay1.xml)

4.單項(xiàng)選擇題設(shè)置組件內(nèi)邊距的屬性為()。

A.android:minWidth
B.android:background
C.android:padding
D.android:layout--margin

5.單項(xiàng)選擇題在xml文件中使用哪個屬性設(shè)置組件唯一的標(biāo)識符?()

A.android:prompt
B.android:text
C.android:name
D.android:id