Android 最基础生命周期及旋转屏幕问题
public class MainActivity extends Activity { private static final String TAG ="MainActivity"; @Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Log.d(TAG, "onCreate");
} @Override
protected void onStart() { super.onStart();
Log.d(TAG, "onStart");
} @Override
protected void onRestart() { super.onRestart();
Log.d(TAG, "onRestart");
} @Override
protected void onResume() { super.onResume();
Log.d(TAG, "onResume");
} @Override
protected void onPause() { super.onPause();
Log.d(TAG, "onPause");
} @Override
protected void onStop() { super.onStop();
Log.d(TAG, "onStop");
} @Override
protected void onDestroy() { super.onDestroy();
Log.d(TAG, "onDestroy");
} @Override
public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig);
Log.d(TAG, "onConfigurationChanged");
}
Activity各个生命周期
启动:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgsAAABaCAIAAAC5cILiAAAQPklEQVR4nO2dTYKrIBCEPRcH4hq5AhtP4Z59LpFNjjCH8C1UaOhqNG/iqEl9q0yigC1Q/DhWNxJCCCGI7ugCEEIIOSlUCEIIIRgqBCGEEAwVghBCCIYKQQghBEOFIIQQgsEKEf2t625d14dn8X1w1fcP3+Ejf82U8hDVD6oMZyjthVmiB0L9tfju1rl7+jO44k/A8+5WA/i8u99Xvy0ZvXrkdyJuh3PsEEyAQkR/6/xjHMcxDvOHcRzHMbibCz/yyOBufqqDcVhpQi8ypRxcXcV1Gc5Q2g9Ah3orz7sTYf/r03ciDs71qbbkz7/mGXrvh6pmouN2CMs5Q30QIanC8+468ZkhKmmuMsk+N7ar9cPv0OfW3Va7DEeWNs9OvB9EzZNjxnTMrfOP4FbGks/Qd9WQMw7LYH9Oauq28pHzReGMpoHwMmO4VV1eFWqQO2QuUs6udXoOyOCm7IzTjycOzg9TZxFc731vhHoc0STsGfqu652a7I5znKvqpyqPERaV0XKiu1e/gnkhTHP6ciqM/Hxd1ETNuhdBzxus2qjSbDelD8NQiDkostIP3vd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Nv6t3SZ1wqarXmmwKYbGJXdN49/ET3BuV44PSuI5tCh8b0hIQrVG92Lh3oRA8hbajCjlqfYeRYhLEpLbV8VYi8fqYWai99N4ZcKhbawc/Gsx8uN2V3rln4bjjTuaYfHYCd1dCtD6Rbgf+d9LPNbrB/B+Xz9+Wnw1kAtPpS4q+jlag+4nuy5z6srA7oDagEAAKAO1AIAAEAdqAUAAIA6UAsAAAB1oBYAAADqQC0AAADUgVoAAACoA7UAAABQB2oBAACgDtQCAABAHagFAACAOlALAAAAdaAWAAAA6kAtAAAA1IFaAAAAqAO1AAAAUAdqAQAAoA7UAgAAQB2oBQAAgDpQCwAAAHWgFgAAAOr8P44YqisgKKc+AAAAAElFTkSuQmCC" alt="" />
在AndroidManifest.xml 添加
android:configChanges="orientation"
切屏时和不加一样
根据Android SDK描述,在API13及以上还要加上screenSize。因为横竖屏变化,屏幕横竖尺寸也变化
android:configChanges="orientation|keyboardHidden|screenSize"
"orientation" The screen orientation has changed — the user has rotated the device. Note: If your application targets API level 13 or higher
(as declared by the minSdkVersion and targetSdkVersion attributes),
then you should also declare the "screenSize" configuration,
because it also changes when a device switches between portrait and landscape orientations.
然后再Activity中添加方法:
@Override
public void onConfigurationChanged(Configuration newConfig) {
Log.d(TAG, "onConfigurationChanged");
super.onConfigurationChanged(newConfig); }
那么再旋转屏幕时,就会执行onConfigurationChanged方法
改变Activity的配置可能会使Activity重启动(默认情况下会重启),如果不想重新启动就需要配置configChanges属性,它可以配置多个用“|”分格。
当 在activity加上android:configChanges="keyboardHidden|orientation"属性,就不会重启 activity.而只是调用onConfigurationChanged(Configuration newConfig).这样就可以在这个方法里调整显示方式.
在xml文件里面可以进行配置configChanges也可以在代码中动态配置
android:configChanges=["mcc", "mnc", "locale",
"touchscreen", "keyboard", "keyboardHidden",
"navigation", "screenLayout", "fontScale",
"uiMode", "orientation", "screenSize",
"smallestScreenSize"]
还有屏幕旋转的相关配置:android:screenOrientation 这个属性是控制Activity启动时候的方向
android:screenOrientation=["unspecified" | "behind" |
"landscape" | "portrait" |
"reverseLandscape" | "reversePortrait" |
"sensorLandscape" | "sensorPortrait" |
"userLandscape" | "userPortrait" |
"sensor" | "fullSensor" | "nosensor" |
"user" | "fullUser" | "locked"]
android:screenOrientation="landscape"---控制Acitvity为横屏显示。
android:screenOrientation="portrait"---控制Activity为竖屏显示
unspecified--系统默认显示
user---用户当前的首选方向
behind---与当前堆栈下面的Activity同向
sensor---根据传感器定(常用)
nosensor---忽略传感器;系统根据unspecified显示
Android 最基础生命周期及旋转屏幕问题的更多相关文章
- 详解Android Activity---Activity的生命周期
转载注明来自: http://www.cnblogs.com/wujiancheng/ 一.正常情况下Activity的生命周期: Activity的生命周期大概可以归为三部分 整个的生命周期:o ...
- Android开发——Activity生命周期
Android开发--Activity生命周期 Activity作为四大组件之首,也是使用最频繁的一种组件.本文将主要讲解Activity生命周期,包括正常情况下的Activity生命周期和异常情况下 ...
- android开发之生命周期
android开发之生命周期 一:Activity的生命周期: 这几天了了解了安卓Activity的生命周期,对于生命周期有了大概的理解: 一个Activity的生命周期也就是Activity从生成到 ...
- Android内的生命周期整理
1. Android App的生命周期: 2. Application的生命周期: 3. Activity的生命周期: 3.1 Fragment的生命周期: 4. Service的生命周期:5. Br ...
- Android Activity的生命周期简单总结
Android Activity的生命周期简单总结 这里的内容参考官方的文档,这篇文章的目的不是去总结Activity是如何启动,如何创造,以及暂停和销毁的,而是从实际开发中分析在Activity各个 ...
- 重温Android和Fragment生命周期
重温下Android和Fragment生命周期,理解生命周期方法的作用,什么时候调用,可以做一些什么操作. 1.Android生命周期 1.1 生命周期图 1.2 生命周期函数说明 onCreate: ...
- 浅谈Android之Activity生命周期
Activity作为四大组件之一,出现的频率相当高,基本上我们在android的各个地方都能看见它的踪影,因此深入了解Activity,对于开发高质量应用程序是很有帮助的.今天我们就来详细地聊聊Ac ...
- 【Android】Activity生命周期(亲测)
测试手机:Nexus 5 系统:4.4 一.测试 测试代码: package com.example.androidalarm; import android.app.Activity; impo ...
- Android编程: Activity生命周期和LogCat使用
学习内容:Activity生命周期和LogCat使用 ====Activity生命周期==== 图示(转载): 创建 onCreate重启 onRestart开始 onStart恢复 ...
随机推荐
- expect嵌套shell循环
#!/bin/bash Detailtxt="test.txt" while read line do dest=`echo $line|awk '{print $1}'` ip= ...
- Django中html里的分页显示
分页一(very low) 因为数据量过大,而又想直观便捷的查看数据,进而通过分页显示就可以完成这项工作 app中views.py LIST=[] #全局定义一个LIST for i in range ...
- [译] 用HTML5捕获音频和视频
原文地址:http://www.html5rocks.com/en/tutorials/getusermedia/intro/ 概述 有了HTML5,我们就可以在不借助Flash或者Silverlig ...
- JS三种消息框的使用
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...
- Css中实现一个盒子固定宽度,另一个盒子宽度自适应的方法
Css中实现一个盒子固定宽度,另一个盒子宽度自适应的方法 网上方法很多,个人认为以下两种思想是最为常用的. 一种是让第一个盒子脱离文档流,第二个盒子离左边有一定距离. 第二种方法是使用flex布局,不 ...
- 【codeforces】【比赛题解】#854 CF Round #433 (Div.2)
cf一如既往挺丧 看丧题点我! [A]分数 Petya是数学迷,特别是有关于分数的数学.最近他学了所谓一个分数被叫做“真分数”当且仅当其分子小于分母,而一个分数被叫做“最简分数”当且仅当其分子分母互质 ...
- Resouce, platform_device 和 platform_driver 的关系【转】
转自:http://blog.csdn.net/uruita/article/details/7278313 從2.6版本開始引入了platform這個概念,在開發底層驅動程序時,首先要確認的就是設備 ...
- Windows版Oracle重建EM---备注
前提条件添加环境变量 ORACLE_HOSTNAME=<主机名:如:DESKTOP-P6J1a>ORACLE_SID=orclORACLE_UNQNAME=orcl 执行删除命令 C:\U ...
- 第一个Django项目:HelloWorld
OS:Windows家庭中文版, Python:3.6.3,Django:2.0.3 在前一篇文章中,Django已经顺利安装到了Python中,下面,开发第一个Python项目吧! 1.django ...
- bootstrap表单按回车会自动刷新页面的问题
想给form表单增加回车自动提交的功能 $('#password').keydown(function(event){ if (event.keyCode == 13) $('#login').cli ...