Когда я запускаю свой проект android в эмуляторе android (Nexus 5X), он показывает правильный макет, который я разработал. но если я запускаю проект в Аппаратное устройство (Samsung Galaxy J2 Prime), оно показывает различный вывод. (Поля не совсем верны. В Аппаратном устройстве оно придерживается дна, см. поля внизу ) 1 - Выход аппаратного устройства 2 - Выход эмулятора
И это 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://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
tools:context=".OrderStatus">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/listOrders"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="550dp">
</androidx.recyclerview.widget.RecyclerView>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/listCalls"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="100dp">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>
</RelativeLayout>