單項選擇題
A.setAutoCancel:設(shè)置該通知是否自動清除。若為true,則點擊該通知后,通知會自動消失;若為false,則點擊該通知后,通知不會消失。 B.setContentTitle:設(shè)置通知欄里面的內(nèi)容文本。 C.setWhen:設(shè)置推送時間,格式為“小時:分鐘”。推送時間在通知欄右方顯示。 D.setSmalllcon:設(shè)置狀態(tài)欄里面的圖標(biāo)(小圖標(biāo))。
A.setProgress B.setDrawable C.setProgressStyle D.setProgressDrawable
A.setProgress B.progress C.set D.SetProgress
A.DrawRoundRect B.DrawRect C.DrawRound D.SetRoundRect
A.setWidth B.setStroke C.setStrokeWidth D.width=
A.取值match_parent表示與上級視圖一樣尺寸 B.取值wrap_content表示按照自身內(nèi)容的實際尺寸 C.weight權(quán)重 D.直接指定了具體的dp數(shù)值
A.定義構(gòu)造函數(shù),讀取自定義屬性值并進行初始化設(shè)置。 B.重寫測量函數(shù)onMesure,計算該視圖的寬高尺寸。 C.重寫繪圖函數(shù)onDraw或者dispatchDraw,在當(dāng)前視圖內(nèi)部繪制指定形狀。 D.重寫recycle方法釋放資源
A.obtainStyledAttributes B.getStyledAttributes C.getStyle D.obtainAttributes
A.setColor B.setTextColor C.setBackGroundColor D.color=
填空題