【问题标题】:How to remove the Qbs container from left page of Aosp launcher3如何从 Aosp launcher3 的左侧页面中删除 Qbs 容器
【发布时间】:2017-06-28 21:54:10
【问题描述】:

How to add custom view in android's JellyBean Launcher 根据上面链接中所说的,我已将左侧页面添加到现有的 android AOSP launcher3 代码中,它看起来像屏幕截图。

但始终在第一个屏幕中搜索容器(Qbs 容器),我如何在第一个屏幕中删除并将其放置在主屏幕中。 enter image description here

【问题讨论】:

  • 我也在尝试向launcher3添加一个向左滑动的屏幕,可以添加屏幕,但是这个屏幕不允许向左或向右滑动。你遇到过这个问题吗?

标签: android android-source android-launcher


【解决方案1】:

要从第一个屏幕中删除搜索容器,

FrameLayout gBar = (FrameLayout) findViewById(R.id.g_bar);
gBar.setVisibility(View.INVISIBLE);

【讨论】:

    猜你喜欢
    • 2011-10-05
    • 1970-01-01
    • 1970-01-01
    • 2011-12-11
    • 2023-02-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多