白屏闪烁怎么解决,设置了透明背景也不行,白屏闪烁怎么解决,设置了透明背景也不行
一.自定义Theme
//1.设置背景图Theme---程序启动快,界面先显示背景图,然后再刷新其他界面控件。给人刷新不同步感觉
<style name="Theme.AppStartLoad" parent="android:Theme">
<item name="android:windowBackground">@drawable/ipod_bg</item>
<item name="android:windowNoTitle">true</item>
</style>
//2、设置透明Theme---给人程序启动慢感觉,界面一次性刷出来,刷新同步
<style name="Theme.AppStartLoadTranslucent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
</style>
二.修改AndroidManifest.xml
<applicationandroid:allowBackup="true"android:icon="@drawable/ipod_icon"android:label="@string/app_name"android:launchMode="singleTask"><!-- iPod主界面 --><activityandroid:name="com.apical.apicalipod.IPodMainActivity"
<!-- 使用上面定义的样式 mythou-->
android:theme="@style/Theme.AppStartLoad"
android:label="@string/app_name" >
<intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LAUNCHER" /></intent-filter></activity>
//......
</applicat
接口有问题,检查下
有返回值的情况是报错了,返回的是全局异常信息,所以能收到返回值。
调用成功不能跳转可能是因为跳转逻辑写的不对。
你这里的错误很明显了啊
方法返回null造成的
可以贴下ex的具体报错信息吗?
对比发包信息