<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2013 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/cast_frame_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center_vertical"
    android:minHeight="200dp">
    <ImageView
        android:id="@+id/cast_background_image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:paddingStart="12dp"
        android:paddingEnd="12dp"
        android:alpha="0.7"
        android:scaleType="fitCenter"
        android:adjustViewBounds="true"
        tools:ignore="ContentDescription"/>
    <TextView
        android:id="@+id/cast_screen_title"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:gravity="center"
        android:textAppearance="@style/TextAppearance.CastScreenTitle"/>
    <org.chromium.third_party.android.media.MediaController
        android:id="@+id/cast_media_controller"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom">
    </org.chromium.third_party.android.media.MediaController>
</FrameLayout>
