http://developer.android.com/intl/zh-CN/guide/topics/ui/index.html
- Layout
http://developer.android.com/intl/zh-CN/guide/topics/ui/declaring-layout.html
http://developer.android.com/intl/zh-CN/guide/topics/ui/layout-objects.html
- FrameLayout
- LinearLayout
- TableLayout
- RelativeLayout
- Menu
http://developer.android.com/intl/zh-CN/guide/topics/ui/menus.html
Types:
- Options Menu
- Context Menu
- Sub Menu
- Dialog
http://developer.android.com/intl/zh-CN/guide/topics/ui/dialogs.html
- AlertDialog
- ProgressDialog
- DatePickerDialog
- TimePickerDialog
- UI Event
http://developer.android.com/intl/zh-CN/guide/topics/ui/ui-events.html
-Event Listener:
At first, must register event listener with View.set...Listener, such as viewObj.setOnClickListener, the event listerer contains following callback
- Click/LongClick
- Focus Change
- Key
- Touch
- Create Context Menu
-Event Handler:
- onKeyDown
- onKeyUp
- onTrackBallEvent
- onTouchEvent
- onFocusChanged
- Notify User
http://developer.android.com/intl/zh-CN/guide/topics/ui/notifiers/index.html
- Toast Notification
- Satus Bar Notificaton
- Dialog Notification
- Build Custom Component
http://developer.android.com/intl/zh-CN/guide/topics/ui/custom-components.html
-View/ViewGroup:
http://developer.android.com/intl/zh-CN/reference/android/widget/package-summary.html
- Button/ToggleButton
- TextView/AutoCompleteTextView
- EditText
- ListView
- CheckBox
- RadioButton/RadioGroup
- Gallery
- Spiner
- ImageSwitcher
- TextSwitcher
- ProgressBar
- ImageView/ImageButton
- ScrollView
- UI Design GuideLine
http://developer.android.com/intl/zh-CN/guide/practices/ui_guidelines/index.html
How to design good-looking UI:
- ...
阅读(904) | 评论(0) | 转发(0) |