1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
8 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:id="@+id/cast_frame_layout"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:layout_gravity="center_vertical"
13 android:minHeight="200dp">
15 android:id="@+id/cast_background_image"
16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content"
18 android:layout_gravity="center"
19 android:gravity="center"
20 android:paddingStart="12dp"
21 android:paddingEnd="12dp"
23 android:scaleType="fitCenter"
24 android:adjustViewBounds="true"
25 android:contentDescription="@null"/>
27 android:id="@+id/cast_screen_title"
28 android:layout_width="wrap_content"
29 android:layout_height="match_parent"
30 android:layout_gravity="center"
31 android:gravity="center"
32 android:textSize="14sp"
33 android:textStyle="bold"
34 android:textColor="@color/cast_media_controller_text" />
35 <org.chromium.third_party.android.media.MediaController
36 android:id="@+id/cast_media_controller"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:layout_gravity="bottom">
40 </org.chromium.third_party.android.media.MediaController>