一个飞溅片段后从隐藏动作条ActionBarActivity [英] Hiding ActionBar from ActionBarActivity after a Splash Fragment

查看:90
本文介绍了一个飞溅片段后从隐藏动作条ActionBarActivity的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上发射是调用片段(闪),然后回到ActionBarActivity的ActionBarActivity。问题是前飞溅显形的动作条显示出来,然后飞溅。

Basically the launcher is the ActionBarActivity that calls the Fragment(splash) and then back to ActionBarActivity. THe problem is before the splash became visible the actionbar shows up and then the splash.

推荐答案

基本上你想要的是删除,当你闪屏加载动作条?试试把这个项目当前的主题,里面有关于 RES /价值/ styles.xml

Basically what you want is to remove the actionbar when your splashscreen loads?. Try put this item inside your current theme on res/values/styles.xml

        <item name="android:windowNoTitle">true</item>

它是这样的,例如:

It goes like this for example:

 <style name="MyActivityTheme" parent="@android:style/Theme.Holo">
   <item name="android:windowNoTitle">true</item>

    <!-- other activity and action bar styles here -->
</style>

我希望它能帮助。 :)

I hope it helps. :)

这篇关于一个飞溅片段后从隐藏动作条ActionBarActivity的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆