2022-05-26 09:56:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-05-26 14:42:32 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-05-26 09:56:06 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2022-12-19 13:40:02 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2022-05-26 14:42:32 +00:00
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/confetti_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:paddingHorizontal="23dp">
|
2022-07-27 15:05:22 +00:00
|
|
|
<Space
|
2022-05-26 09:56:06 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="157dp">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ghost_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:src="@drawable/death_ghost"
|
|
|
|
|
android:layout_centerHorizontal="true" />
|
|
|
|
|
<ImageView
|
2022-05-26 14:42:32 +00:00
|
|
|
android:id="@+id/heart_view"
|
2022-05-26 09:56:06 +00:00
|
|
|
android:layout_width="110dp"
|
|
|
|
|
android:layout_height="110dp"
|
|
|
|
|
android:src="@drawable/ic_broken_heart"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_alignParentBottom="true"/>
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Title2"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:text="@string/you_ran_out_of_health"
|
|
|
|
|
android:layout_marginHorizontal="@dimen/spacing_xlarge"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/loss_description"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="@dimen/spacing_xlarge"
|
|
|
|
|
android:layout_marginVertical="@dimen/spacing_medium"
|
|
|
|
|
android:textColor="@color/text_primary"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:lineSpacingExtra="4dp"
|
|
|
|
|
android:gravity="center" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/death_description"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:lineSpacingExtra="4dp"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:layout_marginHorizontal="@dimen/spacing_xlarge"
|
|
|
|
|
android:gravity="center"/>
|
2022-07-27 15:05:22 +00:00
|
|
|
<Space
|
2022-05-26 09:56:06 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/restart_button"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="69dp"
|
|
|
|
|
android:text="@string/faint_button"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
style="@style/HabiticaButton.Maroon"
|
|
|
|
|
android:layout_marginBottom="6dp"/>
|
|
|
|
|
<com.habitrpg.android.habitica.ui.views.ads.AdButton
|
|
|
|
|
android:id="@+id/ad_button"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
app:text="@string/watch_ad_to_open"
|
|
|
|
|
app:activeBackground="@drawable/ad_button_background_content"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
app:textColor="@color/text_primary"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/text_quad"
|
|
|
|
|
android:text="@string/faint_broken_equipment"
|
|
|
|
|
android:layout_margin="@dimen/spacing_large"/>
|
2022-05-26 14:42:32 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
</FrameLayout>
|