<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/backgrounds_menu_grass" android:orientation="vertical"> <include android:id="@+id/goal_screen_topbar" layout="@layout/topbar" android:layout_width="match_parent" android:layout_height="wrap_content"/> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@id/goal_screen_bottom_layout"> <TextView android:id="@+id/goal_screen_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="@string/message_level_finished" android:textColor="@color/level_finished" android:textSize="55sp"/> </RelativeLayout> <RelativeLayout android:id="@+id/goal_screen_bottom_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true"> <include android:id="@+id/goal_screen_restart" layout="@layout/levelbutton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_margin="5dp"/> <include android:id="@+id/goal_screen_next_level" layout="@layout/levelbutton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_margin="5dp"/> </RelativeLayout> </RelativeLayout> </LinearLayout>