本篇將記錄Android SDK下包android內(nèi)API內(nèi)容:
包android包含平臺內(nèi)置的,為系統(tǒng)特性定義的權(quán)限的資源類。(Contains resource classes used by applications included in the platform and defines application permissions for system features.)
1、注意不要使用android包下的 drawable圖標(biāo)資源,因為在不同平臺版本中可能會變更,導(dǎo)致產(chǎn)生與你設(shè)計無法預(yù)見的沖突。(In particular, you should not use drawable resources from the android package, because they may change between platform versions, causing unforeseen conflicts with your design. )
2、通常來說,style資源是系統(tǒng)資源中你可以直接使用的。(Typically, styles
are the only resources you should use directly from these resources.)
3、類
android.Manifest
android.Manifest.permission
android.Manifest.permission_group
permission_group(應(yīng)用權(quán)限組)包含:
日歷 calendar
相機(jī) camera
聯(lián)系人 contacts
地理 location
麥克風(fēng) microphone
電話 phone
傳感器 sensor
短信 sms
存儲 storage
4、R資源
R.anim UI動畫效果
R.attr 屬性設(shè)置
R.id 為在java中動態(tài)創(chuàng)建的布局控件設(shè)置實例id
R.interpolator
R.layout Android系統(tǒng)布局——自帶的布局android.R.layout詳解
————————————不熟悉的單詞??——————————————
unforeseen 無法預(yù)料的
typically 通常
animator 動畫設(shè)計(師)
fraction 分?jǐn)?shù),分?jǐn)?shù),小部分
interpolator 插補(bǔ)器,插值器,內(nèi)插程序
accelerate 加速
curve 曲線,彎道,曲線