摘要:
1. Fragments A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity... 阅读全文
摘要:
1. Activities An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the... 阅读全文
摘要:
1. Intent and Intent Filters An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate... 阅读全文
摘要:
1. App Fundamentals2. Device Compatibility3. System Permissions1. App Fundamentals 1.1 App Components Activities An activity represents a sin... 阅读全文
摘要:
1. 什么是Fragment2. 什么时候使用Fragment3. Fragment程序的编写方法4. Fragment的生命周期5. Fragment与Activity之间的交互6. Fragment的回调机制1. 什么是Fragment 同时封装布局和代码的组件2. 什么时候使用Fragmen... 阅读全文
摘要:
1. 定制控件的方式2. 带标签的文本编辑框(不带命名空间)3. 带图标的文本框(带命名空间)4. 控件属性验证1. 定制控件的方式 继承其他控件类 Ctrl + 左键 --->EditText 组合方式. 当前控件类从容器类继承, 并将若干个控件添加到当前容器中 绘制控件. 也... 阅读全文