笔记:配置父Activity
来源:互联网 发布:淘宝上传图片最佳尺寸 编辑:程序博客网 时间:2024/05/22 12:50
<application ... > ... <activity android:name="com.example.myfirstapp.DisplayMessageActivity" android:label="@string/title_activity_display_message" android:parentActivityName="com.example.myfirstapp.MainActivity" > <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.example.myfirstapp.MainActivity" /> </activity></application>
The android:parentActivityName
attribute declares the name of this activity's parent activity within the app's logical hierarchy. The system uses this value to implement default navigation behaviors, such as Up navigationon Android 4.1 (API level 16) and higher. You can provide the same navigation behaviors for older versions of Android by using the Support Library and adding the <meta-data>
element as shown here.
0 0
- 笔记:配置父Activity
- Activity笔记
- 笔记--Activity
- Activity笔记
- Activity笔记
- activity配置信息详解
- Android配置Activity
- Activity-LauncherMode配置(4)
- Activity的配置过程
- Activity配置属性
- Activity注册以及配置
- Android-Activity配置改变
- Activity软盘配置
- Pro Android学习笔记(一三七):Home Screen Widgets(3):配置Activity
- Android开发笔记: Activity
- android笔记 Activity
- Android Activity 笔记 1
- Android学习笔记----Activity
- 矩阵--原地转置--面试题
- Android基础:获取手机联系人工具类
- C经典 使用递归求x的y次方
- Android如何防止apk程序被反编译
- c++map基本操作
- 笔记:配置父Activity
- 通过adb从手机中导出安装包或导入
- 阶梯博弈(Staircase Nim)
- jquery 函数
- win10下什么拼音输入法好用
- 客户端js判断文件类型和文件大小即限制上传大小图片预览
- BZOJ 1018|SHOI 2008|堵塞的交通|线段树
- js跨域请求jsonp数据
- Android学习(35) -- smart-image-view 获取网络图片