<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" > <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" > <View xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/animation_background" android:background="@drawable/ui_ending_bad_kabocha_background" android:layout_width="650dp" android:layout_height="320dp" android:adjustViewBounds="true" > </View> </FrameLayout> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" > <View xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/animation_foreground" android:background="@drawable/ui_ending_bad_kabocha_foreground" android:layout_width="760dp" android:layout_height="320dp" android:adjustViewBounds="true" > </View> </FrameLayout> <AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:id="@+id/game_over" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="160dp" android:layout_height="50dp" android:textSize = "20sp" android:textColor = "#FFFFFF" android:gravity = "center" android:layout_x="20dp" android:layout_y="250dp" android:text="@string/game_over" android:typeface = "serif" android:background="@drawable/custom_toast_border" android:padding = "10dp" /> </AbsoluteLayout> </FrameLayout>