<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_main" tools:context=".ui.MainActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="200sp" android:text="@string/app_name" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" android:id="@+id/appName" android:textStyle="bold" android:textColor="@color/text_primary" android:textSize="60sp" android:layout_centerHorizontal="true" android:fontFamily="@font/sora_medium" /> <RelativeLayout android:layout_width="200sp" android:layout_height="match_parent" android:layout_below="@id/appName" android:layout_centerHorizontal="true" android:layout_marginTop="30sp"> <androidx.appcompat.widget.AppCompatButton android:layout_width="match_parent" android:foreground="@drawable/ripple_foreground" android:layout_height="55sp" android:text="@string/questions_button" android:textSize="18sp" android:layout_centerHorizontal="true" android:background="@drawable/buttonshape_main" android:fontFamily="@font/sora_medium" android:onClick="onQuestionsButtonClicked" android:id="@+id/questionsButton" /> <androidx.appcompat.widget.AppCompatButton android:layout_width="match_parent" android:layout_height="55sp" android:text="@string/history" android:textSize="18sp" android:layout_below="@+id/questionsButton" android:id="@+id/historyButton" android:layout_centerHorizontal="true" android:layout_marginTop="15sp" android:foreground="@drawable/ripple_foreground" android:fontFamily="@font/sora_medium" android:background="@drawable/buttonshape_main" android:onClick="onHistoryButtonClicked" /> <androidx.appcompat.widget.AppCompatButton android:layout_width="match_parent" android:layout_height="55sp" android:foreground="@drawable/ripple_foreground" android:text="@string/settings" android:textSize="18sp" android:layout_below="@+id/historyButton" android:layout_centerHorizontal="true" android:layout_marginTop="15sp" android:id="@+id/stats_button" android:fontFamily="@font/sora_medium" android:background="@drawable/buttonshape_main" android:onClick="onSettingsButtonClicked" /> </RelativeLayout> </RelativeLayout>