Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5080)

Unified Diff: chrome/android/java/res/layout/expanded_cast_controller.xml

Issue 928643003: Upstream Chrome for Android Cast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/expanded_cast_controller.xml
diff --git a/chrome/android/java/res/layout/expanded_cast_controller.xml b/chrome/android/java/res/layout/expanded_cast_controller.xml
new file mode 100644
index 0000000000000000000000000000000000000000..340cef1655b4502b790584d8578cd37179fc1fdc
--- /dev/null
+++ b/chrome/android/java/res/layout/expanded_cast_controller.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 The Chromium Authors. All rights reserved.
+
+ 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"
+ 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"
+ android:contentDescription="@null"/>
+ <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:textSize="14sp"
+ android:textStyle="bold"
+ android:textColor="@color/cast_media_controller_text" />
+ <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>

Powered by Google App Engine
This is Rietveld 408576698