一、去掉所有Activity界面的标题栏
修改AndroidManifest.xml
在application 标签中添加android:theme=”@android:style/Theme.NoTitleBar”
二、去掉所有Activity界面的TitleBar 和StatusBar
修改AndroidManifest.xml
<application
                android:icon="@drawable/ic_launcher"
                android:label="@string/app_name"        android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
>


三、强制竖屏、横屏
修改AndroidManifest.xml
在每一个Activity标签中添加android:screenOrientation=”landscape”强制横屏
<activity
                        android:label="@string/app_name"
                        android:name=".MainActivity"
                     android:screenOrientation="landscape"
                         >


添加android:screenOrientation=”portrait”强制竖屏

<activity
                        android:label="@string/app_name"
                        android:name=".MainActivity"
                        android:screenOrientation="portrait"
                         >