我的布局有一个问题,在PagerTitleStrip和ActionBar之间有一个缺口。这是我的布局和它的外观,它似乎显示良好的预览窗口,但不是在我的设备上。
<?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>差距..。
发布于 2015-02-28 04:17:04
我想通了。在我的活动中,我将操作栏设置为导航选项卡模式,它在寻呼机标题栏中被取消/不可用。一旦我把它移开,空间就消失了。
https://stackoverflow.com/questions/28775831
复制相似问题