-
線性布局LinearLayout常用屬性查看全部
-
線性布局LinearLayout
查看全部 -
RadioGroup
查看全部 -
CheckBox:復選框
查看全部 -
ToggleButton
查看全部 -
MultiAutoCompleteTextView
查看全部 -
AutoCompleteTextView 2查看全部
-
AutoCompleteTextView查看全部
-
今天講了兩個控件
查看全部 -
hdp高等分辨率 mdp中等分辨率 ldp低分辨率 xhdp更高分辨率查看全部
-
sing查看全部
-
3.答案是A 解析:設置EditText的android:inputType屬性可以限制文本輸入類型比如android:inputType="textPassword"為設置輸入格式為密碼格, android:inputType="phone"為設置輸入格式為撥號鍵盤
查看全部 -
2.
答案是A
解析:一般情況下,布局屬性與對象的setXXX方法一一對應,比如設置字體顏色,在xml中屬性是android:textColor,而在Activity中則是setTextColor方法
查看全部 -
1.C 解析:使用findViewById方法獲取一個View對象,參數為控件的id,同時還需要把View對象強制轉換成相應的類型
查看全部 -
1.什么事ImageView:
ImageView是顯示圖片的一個控件;
?2.ImageView屬性:
android:src="@drawable/ic_launchar" ---ImageView的內容圖像
android:background="@drawable/ic_launcher" ---ImageView背景圖片
查看全部
舉報
0/150
提交
取消