Umano Android SlideingUppanel不是';不要进入状态栏
这与,基本上是相反的要求是完全不同的,但我已经尝试了按照解决方案倒过来,但我仍然没有滑动到我的状态栏下面。下面是显示我的结果的gif: 代码如下: 活动\u main.xmlUmano Android SlideingUppanel不是';不要进入状态栏,android,android-statusbar,slidingpanelayout,Android,Android Statusbar,Slidingpanelayout,这与,基本上是相反的要求是完全不同的,但我已经尝试了按照解决方案倒过来,但我仍然没有滑动到我的状态栏下面。下面是显示我的结果的gif: 代码如下: 活动\u main.xml <com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.co
<com.sothree.slidinguppanel.SlidingUpPanelLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_main_sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="false"
android:focusable="true"
android:gravity="bottom"
android:fitsSystemWindows="true"
sothree:umanoPanelHeight="56dp"
sothree:umanoShadowHeight="4dp">
<!--MAIN CONTENT-->
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".activities.MainActivity">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar_mainactivity"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<android.support.design.widget.TabLayout
android:id="@+id/tab_layout_mainactivity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabMode="scrollable"
app:tabGravity="fill"
/>
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/pager_mainactivity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>
<!--SLIDING LAYOUT-->
<FrameLayout
android:id="@+id/sliding_panel"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/activity_main_mini_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<fragment
android:id="@+id/mini_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
class=".fragments.MiniLayoutFragment"/>
</FrameLayout>
那我现在能做什么呢?我曾尝试将这些行放在我的style.xml中,但它们不起作用
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
@android:color/transparent
真的
真的
@空的
真的
假的
您是否尝试删除此android:fitsystemwindows=“true”
?@jerrol是的,但不起作用。。我也试过你的代码,但我的代码正在运行。试着看看这个问题,也许问题就在我的style.xml里面,你的呢?true
这只是我的风格。你是否尝试删除这个android:fitsystemwindows=“true”
?@jerrol是的,但它不起作用。。我也试过你的代码,但我的代码正在工作,试着看看这一点,问题可能在我的style.xml中,你的呢?true
这只是我的风格。