app/src/main/res/layout/profile_setup_finished.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"
tools:context=".profile_setup.ProfileFinished">
<ProgressBar
android:id="@+id/progressBar_p9"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="@dimen/progress_bar_height"
android:progress="100"
app:layout_constraintBottom_toTopOf="@+id/text_p9"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/text_p9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/progressBar_p9"
android:layout_marginStart="@dimen/margin"
android:layout_marginTop="@dimen/margin"
android:layout_marginEnd="@dimen/margin_end"
android:text="@string/ready_to_go"
android:textColor="#000000"
android:textSize="36sp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/buttonMainScreen"
android:layout_width="@dimen/pill_shape_width"
android:layout_height="@dimen/pill_shape_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/margin"
android:onClick="startMainScreen"
android:text="@string/goto_main_screen"
app:shapeAppearanceOverlay="@style/PillShapeButton" />
</RelativeLayout>