blob: f031bb466bd7b388d43b73f9e910b6760f3dcb86 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2016, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/pip_onboarding"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#C00288D1"
android:gravity="top|center_horizontal"
android:orientation="vertical">
<!-- A rectangle arounds the PIP.
Size and positions will be programatically set up
to comply with config_defaultPictureInPictureBounds. -->
<ImageView
android:id="@+id/pip_outline"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@drawable/tv_pip_outline" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:fontFamily="sans-serif"
android:textSize="16sp"
android:textColor="#EEEEEE"
android:lineSpacingMultiplier="1.28"
android:text="@string/pip_onboarding_description" />
<Button
android:id="@+id/close"
android:layout_width="wrap_content"
android:layout_height="36dp"
android:layout_marginTop="24dp"
android:gravity="center"
android:paddingStart="24dp"
android:paddingEnd="24dp"
android:fontFamily="sans-serif-condensed"
android:textSize="16sp"
android:textColor="#026089"
android:textAllCaps="true"
android:text="@string/pip_onboarding_button"
android:background="#EEEEEE"
android:elevation="4dp" />
</LinearLayout>