Android Listview项目正在应用程序栏下隐藏

Android Listview项目正在应用程序栏下隐藏,listview,Listview,我已经用A、B、C、D、E、F设置了一个数组,并通过数组适配器连接到列表视图。但是,当应用程序启动时,很少有条目(A、B、C)隐藏在应用程序栏布局下 我已经为列表视图正确设置了坐标。请让我知道如何解决这个问题 正在附加此的布局 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:

我已经用A、B、C、D、E、F设置了一个数组,并通过数组适配器连接到列表视图。但是,当应用程序启动时,很少有条目(A、B、C)隐藏在应用程序栏布局下

我已经为列表视图正确设置了坐标。请让我知道如何解决这个问题

正在附加此的布局

<?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:layout_width="match_parent"
     android:layout_height="match_parent"
     tools:context=".MainActivity">


    <ListView
    android:id="@+id/nameListView"
    android:layout_width="395dp"
    android:layout_height="807dp"
    android:layout_marginStart="8dp"
    android:layout_marginTop="8dp"
    android:layout_marginEnd="8dp"
    android:layout_marginBottom="8dp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

   </androidx.constraintlayout.widget.ConstraintLayout>