視覺元件
取得銀幕大小
文字型元件
TextView
但是、若把 android:autoLink="all" 這行移除再執行,則會看到下列結果.
AutoCompleteTextView
圖片相關元件
Dialog
AlertDialog
DialogInterface
DatePickerDialog
ProgressDialog
TimePickerDialog
資料綁定元件
GallaryGrid
ViewListView
PopupList
ScrollView
Spinner
TabHost
ViewFlipper
ViewSwitcher
XML 屬性的設定
統一的風格元件
第1節 在整個專案中使用統一的風格 (Theme)
Applying a Theme to your Application
If you do not explicitly specify a theme for your UI, Android will use the default theme defined by android.R.style.Theme. Many times you will want to use a different system theme (such as Theme.Dark) or create your own theme (as described in Style and Theme Resources).
To set your theme in XML, simply specify the desired theme in your AndroidManifest.xml file with the theme attribute. This can be used with the <application> tag (shown here) to specify a default theme for all of your activities, and/or with the <activity> to control the theme of a particular activity.
推薦給同仁
您想要瞭解更多的免費小竅門以便提升你的網站排名嗎?
請馬上聯繫我們網站管理員:
MSN: chenlinwu@cmmail.com
Email: info@rank-ad.com