1 <?xml version="1.0" encoding="utf-8"?> 2 <FrameLayout 3 android:layout_width="fill_parent" 4 android:layout_height="fill_parent" 5 xmlns:android="http://schemas.android.com/apk/res/android"> 6 <ImageView 7 android:id="@+id/mainMenuBackground" 8 android:src="@drawable/title_background" 9 android:adjustViewBounds="true" 10 android:gravity="center_vertical" 11 android:scaleType="fitXY" 12 android:layout_width="fill_parent" 13 android:layout_height="fill_parent"/> 14 15 16 <ImageView 17 android:id="@+id/mainMenuTitle" 18 android:src="@drawable/title" 19 android:adjustViewBounds="true" 20 android:layout_width="336dp" 21 android:layout_height="153dp" 22 android:layout_gravity="center_horizontal" 23 android:layout_marginTop="20dp"/> 24 25 <LinearLayout 26 android:layout_width="fill_parent" 27 android:layout_height="fill_parent" 28 xmlns:android="http://schemas.android.com/apk/res/android" 29 android:orientation="vertical" 30 android:gravity="bottom" 31 android:id="@+id/mainSectionMenu"> 32 33 34 <ImageView 35 android:id="@+id/startButton" 36 android:src="@drawable/ui_button_start" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:layout_gravity="center_horizontal" 40 android:clickable="true" /> 41 42 <ImageView 43 android:id="@+id/extrasButton" 44 android:src="@drawable/ui_button_extras" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:layout_gravity="center_horizontal" 48 android:paddingTop="10dp" 49 android:clickable="true" /> 50 51 52 53 <ImageView 54 android:id="@+id/optionButton" 55 android:src="@drawable/ui_button_options" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_gravity="center_horizontal" 59 android:paddingTop="10dp" 60 android:clickable="true" /> 61 62 63 64 <TextView 65 android:layout_width="fill_parent" 66 android:layout_height="wrap_content" 67 android:ellipsize="marquee" 68 android:background="#99000000" 69 android:textColor= "#FFFFFF" 70 android:textColorHighlight="#FFFFFF" 71 android:text="@string/whats_new_ticker" 72 android:lines="1" 73 android:marqueeRepeatLimit="marquee_forever" 74 android:textSize="14sp" 75 android:fadingEdge="horizontal" 76 android:fadingEdgeLength="5dp" 77 android:focusable="false" 78 android:id="@+id/ticker" 79 android:singleLine="true" android:layout_gravity="bottom|left"/> 80 </LinearLayout> 81 82 <ImageView 83 android:id="@+id/extrasNew" 84 android:src="@drawable/ui_new" 85 android:layout_height="wrap_content" 86 android:layout_width="wrap_content" 87 android:paddingLeft="280dp" 88 android:paddingTop="160dp" 89 android:visibility="invisible"/> 90 91 </FrameLayout>