android:name=".文件名(注意点名的点)"             android:label="@string/app_name" >                            
                           
                 android:name=".文件名(注意点名的点)"  

[html]  view plain copy
  1. android:alwaysRetainTaskState=["true" | "false"]  
  2.               android:clearTaskOnLaunch=["true" | "false"]  
  3.               android:configChanges=["mcc", "mnc", "locale",  
  4.                                      "touchscreen", "keyboard", "keyboardHidden",  
  5.                                      "navigation", "screenLayout", "fontScale", "uiMode",  
  6.                                      "orientation", "screenSize", "smallestScreenSize"]  
  7.               android:enabled=["true" | "false"]  
  8.               android:excludeFromRecents=["true" | "false"]  
  9.               android:exported=["true" | "false"]  
  10.               android:finishOnTaskLaunch=["true" | "false"]  
  11.               android:hardwareAccelerated=["true" | "false"]  
  12.               android:icon="drawable resource"  
  13.               android:label="string resource"  
  14.               android:launchMode=["multiple" | "singleTop" |  
  15.                                   "singleTask" | "singleInstance"]  
  16.               android:multiprocess=["true" | "false"]  
  17.               android:name="string"  
  18.               android:noHistory=["true" | "false"]    
  19.               android:permission="string"  
  20.               android:process="string"  
  21.               android:screenOrientation=["unspecified" | "user" | "behind" |  
  22.                                          "landscape" | "portrait" |  
  23.                                          "reverseLandscape" | "reversePortrait" |  
  24.                                          "sensorLandscape" | "sensorPortrait" |  
  25.                                          "sensor" | "fullSensor" | "nosensor"]  
  26.               android:stateNotNeeded=["true" | "false"]  
  27.               android:taskAffinity="string"  
  28.               android:theme="resource or theme"  
  29.               android:uiOptions=["none" | "splitActionBarWhenNarrow"]  
  30.               android:windowSoftInputMode=["stateUnspecified",  
  31.                                            "stateUnchanged", "stateHidden",  
  32.                                            "stateAlwaysHidden", "stateVisible",  
  33.                                            "stateAlwaysVisible", "adjustUnspecified",  
  34.                                            "adjustResize", "adjustPan"] >     
  35.         . . .  
  36.       
  37.   
  38. android:allowTaskReparenting=["true" | "false"]   
  39. 是否允许activity更换从属的任务,比如从短信息任务 切换到浏览器任务。   
  40.   
  41. android:alwaysRetainTaskState=["true" | "false"]   
  42. 是否保留状态不变, 比如切换回home, 再从新打开, activity处于最后的状态   
  43.   
  44. android:clearTaskOnLaunch=["true"" | "false"]   
  45. 比如 P 是 activity, Q 是被P 触发的 activity, 然后返回Home, 从新启动 P, 是否显示 Q   
  46.   
  47. android:configChanges=[one or more of: "mcc" "mnc" "locale" "touchscreen" "keyboard" "keyboardHidden" "navigation" "orientation" "fontScale"]   
  48. 当配置list发生修改时, 是否调用 onConfigurationChanged() 方法 比如 "locale|navigation|orientation".   
  49. android:enabled=["true" | "false"]   
  50. activity 是否可以被实例化,   
  51.   
  52. android:excludeFromRecents=["true" | "false"]   
  53. 是否可被显示在最近打开的activity列表里   
  54.   
  55. android:exported=["true" | "false"]   
  56. 是否允许activity被其它程序调用   
  57.   
  58. android:finishOnTaskLaunch=["true" | "false"]   
  59. 是否关闭已打开的activity当用户重新启动这个任务的时候   
  60.   
  61. android:icon="drawable resource"   
  62. android:label="string resource"   
  63.   
  64. android:launchMode=["multiple" | "singleTop" |"singleTask" | "singleInstance"]   
  65. activity启动方式, "standard" "singleTop" "singleTask" "singleInstance" 其中前两个为一组, 后两个为一组   
  66.   
  67. android:multiprocess=["true" | "false"]   
  68. android:name="string"   
  69. android:noHistory=["true" | "false"]   
  70. 是否需要移除这个activity当用户切换到其他屏幕时。 这个属性是 API level 3 中引入的   
  71. android:permission="string"   
  72.   
  73. android:process="string"   
  74. 一个activity运行时所在的进程名,所有程序组件运行在应用程序默认的进程中,这个进程名跟应用程序的包名一致。   
  75. 中的元素process属性能够为所有组件设定一个新的默认值。但是任何组件都可以覆盖这个默认值,允许你   
  76. 将你的程序放在多进程中运行。 如果这个属性被分配的名字以:开头,当这个activity运行时,一个新的专属于这个程序的   
  77. 进程将会被创建。如果这个进程名以小写字母开头,这个activity将会运行在全局的进程中,被它的许可所提供。   
  78.   
  79. android:screenOrientation=["unspecified" | "user" | "behind" |"landscape" | "portrait" | "sensor" | "nonsensor"]   
  80. activity显示的模式, "unspecified" 默认值 "landscape" 风景画模式,宽度比高度大一些 "portrait" 肖像模式, 高度比   
  81. 宽度大。 "user" 用户的设置 "behind" "sensor" "nosensor",其它几个属性3.0后被引入。   
  82.   
  83. android:stateNotNeeded=["true" | "false"]   
  84. 是否 activity被销毁和成功重启并不保存状态   
  85.   
  86. android:taskAffinity="string"   
  87. activity的亲属关系, 默认情况同一个应用程序下的activity有相同的关系   
  88.   
  89. android:theme="resource or theme"   
  90. activity的样式主题, 如果没有设置,则activity的主题样式从属于应用程序, 参见元素的theme属性   
  91.   
  92. android:windowSoftInputMode=[one or more of: "stateUnspecified""stateUnchanged" "stateHidden" "stateAlwaysHidden"   
  93. "stateVisible""stateAlwaysVisible""adjustUnspecified""adjustResize" "adjustPan"] >   
  94. activity主窗口与软键盘的交互模式, 自从API level 3 被引入。   

更多相关文章

  1. Android获得全局进程信息以及进程使用的内存情况
  2. Android获取 应用程序大小,数据大小,缓存大小
  3. android开发--RelativeLayout用到的一些重要的属性
  4. android Aidl 实现进程间通讯
  5. [转] 软键盘android:windowSoftInputMode属性使用
  6. FregServer进程,获取ServiceManager代理对象
  7. Android应用程序键盘(Keyboard)消息处理机制分析(26)
  8. Android_布局属性大全
  9. android shape 常用到属性的设置

随机推荐

  1. PHP 即将来到 Google Android?
  2. 在Android(安卓)Studio上测试运行,Unity发
  3. Android下使用TinyXml读取xml配置文件(Coc
  4. android自学笔记《一》——android简介
  5. android 发送邮件--实现 send email for
  6. Android简明开发教程一:概述
  7. Unexpected namespace prefix "xmlns" fo
  8. Android(安卓)应用程序不能全屏显示
  9. Android使用MediaRecorder实现录音功能相
  10. 下载Android(安卓)Sdk源码方法