blob: 563441ff3e35c9ab95427317983262020897a35d [file] [log] [blame]
Jaewan Kim8f584b82016-03-22 22:16:59 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2016, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
Jaewan Kima0d4d252016-03-31 13:37:10 +090020<!-- Layout for {@link com.android.systemui.tv.pip.PipControlsView}. -->
21<merge xmlns:android="http://schemas.android.com/apk/res/android">
Jaewan Kim8f584b82016-03-22 22:16:59 +090022
23 <LinearLayout
24 android:layout_width="100dp"
25 android:layout_height="wrap_content"
26 android:orientation="vertical"
27 android:gravity="center">
28
29 <ImageView android:id="@+id/full_button"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:focusable="true"
33 android:src="@drawable/tv_pip_full_button" />
34
35 <TextView android:id="@+id/full_desc"
36 android:layout_width="100dp"
37 android:layout_height="wrap_content"
38 android:layout_marginTop="3dp"
39 android:gravity="center"
40 android:visibility="invisible"
41 android:text="@string/pip_fullscreen"
42 android:fontFamily="sans-serif"
43 android:textSize="12sp"
44 android:textColor="#EEEEEE" />
45 </LinearLayout>
46
47 <LinearLayout
48 android:layout_width="100dp"
49 android:layout_height="wrap_content"
50 android:layout_marginStart="-50dp"
51 android:orientation="vertical"
52 android:gravity="center">
53
54 <ImageView android:id="@+id/close_button"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:focusable="true"
58 android:src="@drawable/tv_pip_close_button" />
59
60 <TextView android:id="@+id/close_desc"
61 android:layout_width="100dp"
62 android:layout_height="wrap_content"
63 android:layout_marginTop="3dp"
64 android:gravity="center"
65 android:visibility="invisible"
66 android:text="@string/pip_close"
67 android:fontFamily="sans-serif"
68 android:textSize="12sp"
69 android:textColor="#EEEEEE" />
70 </LinearLayout>
71
72 <LinearLayout android:id="@+id/play_pause"
73 android:layout_width="100dp"
74 android:layout_height="wrap_content"
75 android:layout_marginStart="-50dp"
76 android:orientation="vertical"
77 android:gravity="center" >
78
79 <ImageView android:id="@+id/play_pause_button"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
82 android:focusable="true"
83 android:src="@drawable/tv_pip_pause_button" />
84
85 <TextView android:id="@+id/play_pause_desc"
86 android:layout_width="100dp"
87 android:layout_height="wrap_content"
88 android:layout_marginTop="3dp"
89 android:gravity="center"
90 android:visibility="invisible"
91 android:text="@string/pip_pause"
92 android:fontFamily="sans-serif"
93 android:textSize="12sp"
94 android:textColor="#EEEEEE" />
95 </LinearLayout>
Jaewan Kima0d4d252016-03-31 13:37:10 +090096</merge>