【问题标题】:how to add a picture on the entire screen without disturbing the statusbar?如何在不干扰状态栏的情况下在整个屏幕上添加图片?
【发布时间】:2016-07-07 13:01:12
【问题描述】:

我在某些应用程序中看到它,如何将其添加到我的应用程序中?

【问题讨论】:

标签: android android-layout android-actionbar


【解决方案1】:

android:label="@string/foo" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">

【讨论】:

    【解决方案2】:

    状态栏总是透明的。

    你想要的是没有工具栏

    将主题应用于清单中的应用程序标签或您的个人活动,如果您想要这样做:

    Theme.Holo.Light.NoActionBar
    

    现在您可以随意使用整个屏幕,您可以将图像设置为 match_parent 并全屏查看

    【讨论】:

      【解决方案3】:

      在标签中指定身高和体重作为匹配父项 在样式表中使操作不可见 parent="Theme.App Compat.Light.noActionBar"

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-01-25
        • 1970-01-01
        • 2015-02-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多