●·● 目錄:
package: android.widget
Android UI controls
A½ ………… View 類
A1 ………… TextView 類
A2 ………… Button 類
A3 ………… EditText 類
A4 ………… RadioGroup 類
A5 ………… RadioButton 類
A6 ………… CheckBox 類
A7 ………… ProgressBar 類
A8 ………… ListView 類
ExpandableListView 類
A9 ………… Spinner 類
Aa ………… SeekBar 類
Ab ………… RatingBar 類
Ac ………… ImageView 類
Ad ………… Toast 類
Ae ………… WebView 類
Af ………… ToggleButton 類
Ag ………… AutoCompleteTextView 類
Ah ………… TimePicker 類
Android layout controls
D1 ………… FrameLayout 類
D1¼ ………… ScrollView 類
D1½ ………… HorizontalScrollView 類
D2 ………… LinearLayout 類
D3 ………… RelativeLayout 類
D4 ………… GridView 類
D6 ………… TableLayout 類
D7 ………… TableRow 類
---------------------------------------------------------------------------------------------------------
╔═════════╗
╠════╣ 第A½個 ╠══════════════════════════════════════════════════╣
╚═════════╝
●·● View 類:
1. 其它控制項的基類,此類具有的方法屬性,繼承自它的類就都有。
2. View XML Attributes:
- android:focusable:控制項在預設情況下是是不能擷取焦點的, 只有設定為 true 後才可以. 例如 EditText 是預設可以擷取焦點的, 若是不想運行程式後立刻被 EditView 擷取焦點, 則可以對 LinearLayout 或是 RelativeLayout 設定此屬性為 true.
- android:focusableInTouchMode:可以通過touch來獲得focus(true).