1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2015 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18              android:orientation="vertical"
19              android:layout_width="match_parent"
20              android:layout_height="match_parent"
21        >
22    <com.android.systemui.egg.MLand
23            android:id="@+id/world"
24            android:layout_width="match_parent"
25            android:layout_height="match_parent">
26    </com.android.systemui.egg.MLand>
27    <FrameLayout
28            android:id="@+id/welcome"
29            android:layout_width="match_parent"
30            android:layout_height="match_parent"
31            android:visibility="gone"
32            android:background="#a0000000"
33            android:clickable="true"
34            >
35        <FrameLayout
36            android:id="@+id/play_button"
37            android:layout_width="72dp"
38            android:layout_height="72dp"
39            android:layout_gravity="center"
40            android:clickable="true"
41            android:background="@drawable/ripplebg"
42            android:focusable="true"
43            android:onClick="startButtonPressed"
44            >
45            <ImageView
46                android:id="@+id/play_button_image"
47                android:layout_width="48dp"
48                android:layout_height="48dp"
49                android:scaleType="fitCenter"
50                android:layout_gravity="center"
51                android:tint="#000000"
52                android:src="@drawable/play"
53                />
54            <TextView
55                android:id="@+id/play_button_text"
56                android:layout_width="wrap_content"
57                android:layout_height="wrap_content"
58                android:layout_gravity="center"
59                android:alpha="0"
60                android:textSize="40dp"
61                android:textColor="#000000"
62                />
63        </FrameLayout>
64    </FrameLayout>
65    <LinearLayout
66        android:layout_width="wrap_content"
67        android:layout_height="wrap_content"
68        android:layout_gravity="top|center_horizontal"
69        android:orientation="horizontal"
70        android:gravity="center_vertical"
71        android:id="@+id/player_setup"
72        >
73        <ImageButton
74            style="@android:style/Widget.Material.Button.Borderless"
75            android:id="@+id/player_minus_button"
76            android:layout_width="48dp"
77            android:layout_height="48dp"
78            android:padding="10dp"
79            android:scaleType="centerInside"
80            android:onClick="playerMinus"
81            android:src="@drawable/minus"
82            />
83        <LinearLayout
84            android:id="@+id/scores"
85            android:layout_width="wrap_content"
86            android:layout_height="64dp"
87            android:padding="12dp"
88            android:orientation="horizontal"
89            android:clipToPadding="false"
90            >
91        </LinearLayout>
92        <ImageButton
93            style="@android:style/Widget.Material.Button.Borderless"
94            android:id="@+id/player_plus_button"
95            android:layout_width="48dp"
96            android:layout_height="48dp"
97            android:padding="10dp"
98            android:scaleType="centerInside"
99            android:onClick="playerPlus"
100            android:src="@drawable/plus"
101            />
102    </LinearLayout>
103</FrameLayout>
104