android android:noHistory="true" 的作用

来源:互联网 发布:java怎么输入 编辑:程序博客网 时间:2024/05/16 13:03
写在配置文件中  
<activity
            android:name=".user.SearchCompanyActivity"
            android:label="@string/title_activity_regist"
            android:noHistory="true"
            android:windowSoftInputMode="adjustResize|stateHidden"
            android:launchMode="singleTop"/>
其作用和finish() 一样  当跳转页面后  返回 就不会回到此页
0 0
原创粉丝点击