首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PagerTitleStrip之上的Android缺口

PagerTitleStrip之上的Android缺口
EN

Stack Overflow用户
提问于 2015-02-27 23:03:37
回答 1查看 329关注 0票数 0

我的布局有一个问题,在PagerTitleStrip和ActionBar之间有一个缺口。这是我的布局和它的外观,它似乎显示良好的预览窗口,但不是在我的设备上。

代码语言:javascript
复制
    <?xml version="1.0" encoding="utf-8"?>
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
           android:id="@+id/fuelActivityViewPager"
           android:layout_width="match_parent"
           android:layout_height="match_parent"
           android:gravity="center"
           android:orientation="vertical">

    <android.support.v4.view.PagerTitleStrip
        style="@style/titleStrip"
        android:id="@+id/pagerTitleStrip"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="top"/>

</android.support.v4.view.ViewPager>

差距..。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-02-28 04:17:04

我想通了。在我的活动中,我将操作栏设置为导航选项卡模式,它在寻呼机标题栏中被取消/不可用。一旦我把它移开,空间就消失了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28775831

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档