1<?xml version="1.0" encoding="utf-8"?> 2<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_content" 5 > 6 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 android:layout_width="wrap_content" 8 android:layout_height="wrap_content" 9 > 10 <View xmlns:android="http://schemas.android.com/apk/res/android" 11 android:id="@+id/animation_background" 12 android:background="@drawable/ui_ending_bad_kabocha_background" 13 android:layout_width="650dp" 14 android:layout_height="320dp" 15 android:adjustViewBounds="true" 16 17 > 18 </View> 19 </FrameLayout> 20 21 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 22 android:layout_width="wrap_content" 23 android:layout_height="wrap_content" 24 > 25 <View xmlns:android="http://schemas.android.com/apk/res/android" 26 android:id="@+id/animation_foreground" 27 android:background="@drawable/ui_ending_bad_kabocha_foreground" 28 android:layout_width="760dp" 29 android:layout_height="320dp" 30 android:adjustViewBounds="true" 31 32 > 33 </View> 34 </FrameLayout> 35 36 <AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content"> 39 <TextView android:id="@+id/game_over" 40 xmlns:android="http://schemas.android.com/apk/res/android" 41 android:layout_width="160dp" 42 android:layout_height="50dp" 43 android:textSize = "20sp" 44 android:textColor = "#FFFFFF" 45 android:gravity = "center" 46 android:layout_x="20dp" 47 android:layout_y="250dp" 48 android:text="@string/game_over" 49 android:typeface = "serif" 50 android:background="@drawable/custom_toast_border" 51 android:padding = "10dp" 52 /> 53 54 </AbsoluteLayout> 55</FrameLayout>