app/src/main/res/layout/activity_rating.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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".RatingActivity">
<RatingBar
android:id="@+id/ratingActivityBar"
android:layout_width="wrap_content"
android:layout_height="68dp"
android:layout_marginTop="80dp"
android:numStars="5"
app:layout_constraintEnd_toEndOf="@+id/textView"
app:layout_constraintStart_toStartOf="@+id/textView"
app:layout_constraintTop_toBottomOf="@+id/textView" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="156dp"
android:fontFamily="@font/inter_bold"
android:text="Tell us what you think !"
android:textAlignment="center"
android:textColor="#100F0F"
android:textSize="60sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/submitRatingButton"
android:layout_width="125dp"
android:layout_height="62dp"
android:layout_marginTop="50dp"
android:fontFamily="@font/inter_bold"
android:text="Submit"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="@+id/textView"
app:layout_constraintStart_toStartOf="@+id/textView"
app:layout_constraintTop_toBottomOf="@+id/ratingActivityBar" />
</androidx.constraintlayout.widget.ConstraintLayout>