不良空白小吃吧
问题描述:
我的活动XML布局文件:不良空白小吃吧
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.votingsystem.tsiro.mainClasses.LoginActivity">
<!-- Framelayout to display Fragments -->
<com.rey.material.widget.FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<io.codetail.widget.RevealFrameLayout
android:id="@+id/revealContainer"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/themeImgv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/theme" />
</io.codetail.widget.RevealFrameLayout>
<RelativeLayout
android:id="@+id/loginActivityFgmtContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" />
<com.rey.material.widget.FrameLayout
android:id="@+id/errorContainerRlt"
android:layout_width="match_parent"
android:layout_height="@dimen/errorContainer_Rlt_height" />
<com.rey.material.widget.SnackBar
android:id="@+id/loginActivitySnkBar"
android:layout_width="match_parent"
android:layout_height="@dimen/loginActivity_SnkBar_height"
android:visibility="invisible"
android:layout_gravity="bottom" />
</com.rey.material.widget.FrameLayout>
设置windowTranslucentStatus为true,主要应用主题消除了图片中显示的空白处。如果windowTranslucentStatus设置为false,任何人都可以告诉我发生了什么问题吗?
答
好了,经过第二次仔细查看我的代码后,我发现我以编程方式将padding设置为自定义快餐栏容器布局......我将其删除并清空了空间“神奇地”删除了...对不起,并张贴这样愚蠢的问题..