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_good_ending_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_good_ending_foreground" 28 android:layout_width="760dp" 29 android:layout_height="320dp" 30 android:adjustViewBounds="true" 31 32 > 33 </View> 34 </FrameLayout> 35 36 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 37 android:layout_width="fill_parent" 38 android:layout_height="fill_parent"> 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="70dp" 43 android:textSize = "20sp" 44 android:textColor = "#FFFFFF" 45 android:gravity = "center" 46 android:layout_alignParentRight="true" 47 android:layout_marginTop = "20dp" 48 android:layout_marginRight = "20dp" 49 android:text="@string/thanks_for_playing" 50 android:typeface = "serif" 51 android:background="@drawable/custom_toast_border" 52 android:padding = "10dp" 53 /> 54 55 </RelativeLayout> 56 57 </FrameLayout>