0

我想放滑块而不是状态栏

截屏

我怎样才能做到这一点?

这是我的 XML:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://s[enter image description here][1]chemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/home_fragment">



        <com.denzcoskun.imageslider.ImageSlider
            android:id="@+id/image_slider"
            android:layout_width="match_parent"
            android:layout_height="210dp"
            app:auto_cycle="true"
            app:delay="0"
            android:layout_gravity="top"
            app:destination="@id/home_fragment"
            app:period="1500" />
    
    <GridView
        android:id="@+id/grid_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="8dp"
        android:horizontalSpacing="16dp"
        android:layout_marginTop="10dp"
        android:verticalSpacing="20dp"
        android:listSelector="@android:color/transparent"
        android:layout_below="@+id/image_slider"
        android:padding="20dp"
        android:numColumns="2"
        android:animationCache="false"
        android:clipToPadding="false"/>
</RelativeLayout>
4

0 回答 0