1.首先,在manifest中添加style属性
<activity
android:name="MainApp"
android:configChanges="keyboardHidden|orientation"
android:label="@string/app_name"
android:screenOrientation="portrait"
<span style="color:#ff0000;">android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" </span>>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2.在layout中设置布局文件大小
<span style="color:#33cc00;">RelativeLayout 全局layout,背景色为黑色</span>
<Re