将主题更换成带ActionBar
This commit is contained in:
parent
9a33af30e9
commit
1a0b439577
|
@ -89,19 +89,32 @@
|
|||
android:allowBackup="false"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@android:style/Theme.NoTitleBar" >
|
||||
android:theme="@android:style/Theme.Holo.Light" >
|
||||
|
||||
<!-- 在本应用中导入需要使用的包,放在application里面activity外面 -->
|
||||
<uses-library android:name="android.test.runner" />
|
||||
|
||||
<!-- 配置程序启动界面 -->
|
||||
<activity android:name=".Launcher">
|
||||
<activity android:name=".Launcher"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- 程序主界面 -->
|
||||
<activity
|
||||
android:name=".sample.MainActivity"
|
||||
android:label="@string/MainActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="adjustPan" />
|
||||
<!-- android:windowSoftInputMode="adjustPan" 键盘就会覆盖屏幕 -->
|
||||
<!-- android:windowSoftInputMode="stateVisible|adjustResize" 屏幕整体上移 -->
|
||||
|
||||
<!-- 引导界面 -->
|
||||
<activity
|
||||
android:name=".common.GuideActivity"
|
||||
|
@ -136,18 +149,6 @@
|
|||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="stateAlwaysHidden|adjustResize" />
|
||||
|
||||
<!-- 程序主界面 -->
|
||||
<activity
|
||||
android:name=".sample.MainActivity"
|
||||
android:label="MainActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="portrait"
|
||||
android:windowSoftInputMode="adjustPan" />
|
||||
<!-- android:windowSoftInputMode="adjustPan" 键盘就会覆盖屏幕 -->
|
||||
<!-- android:windowSoftInputMode="stateVisible|adjustResize" 屏幕整体上移 -->
|
||||
|
||||
|
||||
<!-- 底部泡泡菜单 -->
|
||||
<activity
|
||||
android:name=".sample.popupwindow.PopDialogMenuActivity"
|
||||
|
|
Loading…
Reference in New Issue