app/src/main/res/layout/fragment_scoreboard.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="20dp"
tools:context=".fragments.ScoreboardFragment">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/scoreboard_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_marginTop="50dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/scoreboard_title"
android:textSize="34sp" />
</FrameLayout>