Android SDK简要认识(1)——android包

本篇将记录Android SDK下包android内API内容:

包android包含平台内置的,为系统特性定义的权限的资源类。(Contains resource classes used by applications included in the platform and defines application permissions for system features.)

1、注意不要使用android包下的 drawable图标资源,因为在不同平台版本中可能会变更,导致产生与你设计无法预见的冲突。(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资源是系统资源中你可以直接使用的。(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(应用权限组)包含:
日历 calendar
相机 camera
联系人 contacts
地理 location
麦克风 microphone
电话 phone
传感器 sensor
短信 sms
存储 storage

4、R资源
R.anim UI动画效果
R.attr 属性设置
R.id 为在java中动态创建的布局控件设置实例id
R.interpolator
R.layout Android系统布局——自带的布局android.R.layout详解

————————————不熟悉的单词😓——————————————
unforeseen 无法预料的
typically 通常
animator 动画设计(师)
fraction 分数,分数,小部分
interpolator 插补器,插值器,内插程序
accelerate 加速
curve 曲线,弯道,曲线

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容