app/src/main/res/layout/activity_place.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:layout_marginLeft="6dp"
android:layout_marginTop="6dp"
android:layout_marginRight="6dp"
android:orientation="vertical"
tools:context=".PlaceActivity">
<Spinner
android:id="@+id/spinner_place_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="16dp"
android:layout_marginRight="5dp"
android:elevation="5dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/places_Place_recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="6dp" />
</LinearLayout>