Правильно перекрывающиеся виды - PullRequest
0 голосов
/ 08 января 2020

Итак, у меня проблема с тем, что мое представление о карте продолжает отображать информацию о моем виде в таблице, что я могу сделать? Как я могу поместить вид карты в фоновом режиме?

Снимок экрана: Screenshot

XML:

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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/games_fragment"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="#fcfcfc">

    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="159dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="#DA7B93"></LinearLayout>
    </androidx.cardview.widget.CardView>


    <GridView
        android:id="@+id/gridview"
        android:layout_width="409dp"
        android:layout_height="574dp"
        android:columnWidth="100dp"
        android:numColumns="2"
        android:verticalSpacing="2dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"></GridView>

</androidx.constraintlayout.widget.ConstraintLayout>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...