本文介绍了我不能分割在Android的动作吧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
操作栏的作品,但我不知道为什么我不能分割它在我的应用程序..有两项活动,闪屏是第一位的......,我不知道缺少了什么......这是我的清单code:
The action bar works, but I don't know why i can't split it in my app.. There's two activities, the splash screen comes first..,I don't know what's missing.. here's my manifest code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="example.paint"
android:versionCode="1"
android:versionName="1.0" >
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />
<uses-sdk android:minSdkVersion="14" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name">
<activity
android:name=".Splash"
android:label="@string/app_name"
android:exported="true"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Paint"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:uiOptions="splitActionBarWhenNarrow">
<intent-filter>
</intent-filter>
<meta-data android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />
</activity>
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>
</manifest>
任何帮助将是非常美联社preciated!
Any help would be much appreciated!
非常感谢你!
推荐答案
建议使用HoloEveryWhere:
recommend that use HoloEveryWhere:
请参阅教程,下载演示,和好运气
See the tutorials, download the demo, and good luck
这篇关于我不能分割在Android的动作吧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!