added firework on goal and different goal screen (with button to toolshop), but not happy with second one Have to change it in layout file TopBarData has been removed -> All data (DataStorageHandler, TutorialManager, LevelManager, SoundManager, Typeface, User) is stored in the GameActivity and can be recieved by getters Toolshop-tutorial can now be reset and works instantaniously
63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Game Over"
|
|
android:id="@+id/message_title"
|
|
android:layout_centerVertical="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:textSize="55sp"/>
|
|
|
|
<Button
|
|
android:id="@+id/message_nextlevelbutton"
|
|
style="@style/GameButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/message_title"
|
|
android:layout_toLeftOf="@+id/message_title"
|
|
android:layout_toStartOf="@+id/message_title"
|
|
android:text="Next level"/>
|
|
|
|
<Button
|
|
android:id="@+id/message_exitbutton"
|
|
style="@style/GameButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="To menu"
|
|
android:layout_alignBaseline="@+id/message_restartbutton"
|
|
android:layout_alignBottom="@+id/message_restartbutton"
|
|
android:layout_alignLeft="@+id/message_toolshopbutton"
|
|
android:layout_alignStart="@+id/message_toolshopbutton"/>
|
|
|
|
<Button
|
|
android:id="@+id/message_toolshopbutton"
|
|
style="@style/GameButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="21dp"
|
|
android:layout_marginStart="21dp"
|
|
android:text="Tools"
|
|
android:layout_above="@+id/message_title"
|
|
android:layout_toRightOf="@+id/message_title"
|
|
android:layout_toEndOf="@+id/message_title"
|
|
android:layout_marginBottom="14dp"/>
|
|
|
|
<Button
|
|
android:id="@+id/message_restartbutton"
|
|
style="@style/GameButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@+id/message_title"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignStart="@+id/message_title"
|
|
android:layout_marginBottom="14dp"
|
|
android:layout_marginLeft="50dp"
|
|
android:layout_marginStart="50dp"
|
|
android:text="Restart level"
|
|
android:visibility="visible"/>
|
|
|
|
</RelativeLayout> |