1. 程式人生 > >android應用程式的介面程式設計

android應用程式的介面程式設計

要點

android的介面與view元件

view元件和viewgroup元件

android控制程式的三種方式

通過繼承view開發自定義view

android常見的佈局管理器

文字框元件:textview和edittext

按鈕元件:button

特殊按鈕元件:radiobutton、checkbox、togglebutton、switch

時間顯示元件:analogclock、textclock

圖片瀏覽元件:imageview、imagebutton、zoombutton、quickcontactbadge

adapterview元件和adapter

listview和gridview的功能與用法

expandablelistview元件的功能和用法

spinner和gallery的功能與用法

autocompletetextview的功能與用法

adatperviewflipper和stackview的功能與用法

progressbar進度條的功能與用法

seekbar的功能與用法

ratingbar的功能與用法

viewanimator和viewswitch的功能與用法

imageswitch、textswitch、viewflipper的功能與用法

使用toast建立簡單提示

calendarview的功能與用法

datepicker、timerPicker和numberpicker的功能與用法

searchview的功能與用法

tabhost的功能與用法

scrollciew的功能與用法

使用notification傳送全域性通知

使用alerdialog建立對話方塊

使用alerdialog建立各種複雜的對話方塊

具有對話方塊風格的視窗

使用popuwindow建立對話方塊

開發選項選單和子選單

為選單項提供響應

使用actionbar顯示選項選單

為actionbar新增actionview

actionbar結合fragment實現tab導航

actionbar結合fragment實現下拉式導航