`
119568242
  • 浏览: 420246 次
  • 性别: Icon_minigender_1
  • 来自: 深圳/湛江
社区版块
存档分类
最新评论

[转]Android开发者指南-Manifest.xml-activity[原创译文]

 
阅读更多

 

<activity android:allowTaskReparenting=["true" | "false"

          android:alwaysRetainTaskState=["true" | "false"

          android:clearTaskOnLaunch=["true" | "false"

          android:configChanges=["mcc", "mnc", "locale"

                                 "touchscreen", "keyboard", "keyboardHidden"

                                 "navigation", "screenLayout", "fontScale","uiMode"

                                 "orientation", "screenSize","smallestScreenSize"

          android:enabled=["true" | "false"

          android:excludeFromRecents=["true" | "false"

          android:exported=["true" | "false"

          android:finishOnTaskLaunch=["true" | "false"

          android:hardwareAccelerated=["true" | "false"

          android:icon="drawable resource" 

          android:label="string resource" 

          android:launchMode=["multiple" | "singleTop" 

                              "singleTask" | "singleInstance"

          android:multiprocess=["true" | "false"

          android:name="string" 

          android:noHistory=["true" | "false"]   

          android:permission="string" 

          android:process="string" 

          android:screenOrientation=["unspecified" | "user" | "behind" 

                                     "landscape" | "portrait" 

                                     "reverseLandscape" | "reversePortrait" 

                                     "sensorLandscape" | "sensorPortrait" 

                                     "sensor" | "fullSensor" | "nosensor"

          android:stateNotNeeded=["true" | "false"

          android:taskAffinity="string" 

          android:theme="resource or theme" 

          android:windowSoftInputMode=["stateUnspecified"

                                       "stateUnchanged", "stateHidden"

                                       "stateAlwaysHidden", "stateVisible"

                                       "stateAlwaysVisible","adjustUnspecified"

                                       "adjustResize", "adjustPan"] >    

    . . . 

</activity>

 

http://blog.sina.com.cn/s/blog_48d491300100zmg0.html


 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics