Youngsang Cho | f164792 | 2015-12-17 13:39:39 -0800 | [diff] [blame] | 1 | <?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 Kim | 977dcdc | 2016-01-20 19:21:08 +0900 | [diff] [blame] | 20 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 21 | android:layout_width="match_parent" |
Jaewan Kim | 977dcdc | 2016-01-20 19:21:08 +0900 | [diff] [blame] | 22 | android:layout_height="match_parent" |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 23 | android:orientation="horizontal" |
| 24 | android:paddingTop="350dp" |
| 25 | android:background="#CC000000" |
| 26 | android:gravity="top|center_horizontal" |
| 27 | android:clipChildren="false"> |
Youngsang Cho | f164792 | 2015-12-17 13:39:39 -0800 | [diff] [blame] | 28 | |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 29 | <LinearLayout |
| 30 | android:layout_width="34dp" |
Jaewan Kim | 977dcdc | 2016-01-20 19:21:08 +0900 | [diff] [blame] | 31 | android:layout_height="wrap_content" |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 32 | android:layout_marginEnd="3dp" |
| 33 | android:orientation="vertical" |
| 34 | android:gravity="center" |
| 35 | android:clipChildren="false"> |
Youngsang Cho | f164792 | 2015-12-17 13:39:39 -0800 | [diff] [blame] | 36 | |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 37 | <ImageView android:id="@+id/full" |
| 38 | android:layout_width="wrap_content" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:focusable="true" |
| 41 | android:src="@drawable/tv_pip_full_button" /> |
Youngsang Cho | f164792 | 2015-12-17 13:39:39 -0800 | [diff] [blame] | 42 | |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 43 | <TextView android:id="@+id/full_desc" |
| 44 | android:layout_width="100dp" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:layout_marginTop="3dp" |
| 47 | android:gravity="center" |
| 48 | android:visibility="invisible" |
| 49 | android:text="@string/pip_fullscreen" |
| 50 | android:fontFamily="sans-serif" |
| 51 | android:textSize="12sp" |
| 52 | android:textColor="#EEEEEE" |
| 53 | android:clipChildren="false" /> |
| 54 | </LinearLayout> |
| 55 | |
| 56 | <LinearLayout |
| 57 | android:layout_width="34dp" |
Jaewan Kim | 977dcdc | 2016-01-20 19:21:08 +0900 | [diff] [blame] | 58 | android:layout_height="wrap_content" |
Jaewan Kim | 1a9dc56 | 2016-02-17 13:41:51 -0800 | [diff] [blame] | 59 | android:layout_marginStart="3dp" |
| 60 | android:layout_marginEnd="3dp" |
| 61 | android:orientation="vertical" |
| 62 | android:gravity="center" |
| 63 | android:visibility="gone" |
| 64 | android:clipChildren="false"> |
| 65 | |
| 66 | <ImageView android:id="@+id/play_pause" |
| 67 | android:layout_width="wrap_content" |
| 68 | android:layout_height="wrap_content" |
| 69 | android:focusable="true" |
| 70 | android:src="@drawable/tv_pip_pause_button" /> |
| 71 | |
| 72 | <TextView android:id="@+id/play_pause_desc" |
| 73 | android:layout_width="100dp" |
| 74 | android:layout_height="wrap_content" |
| 75 | android:layout_marginTop="3dp" |
| 76 | android:gravity="center" |
| 77 | android:visibility="invisible" |
| 78 | android:text="@string/pip_pause" |
| 79 | android:fontFamily="sans-serif" |
| 80 | android:textSize="12sp" |
| 81 | android:textColor="#EEEEEE" |
| 82 | android:clipChildren="false" /> |
| 83 | </LinearLayout> |
| 84 | |
| 85 | <LinearLayout |
| 86 | android:layout_width="34dp" |
| 87 | android:layout_height="wrap_content" |
| 88 | android:layout_marginStart="3dp" |
| 89 | android:orientation="vertical" |
| 90 | android:gravity="center" |
| 91 | android:clipChildren="false"> |
| 92 | |
| 93 | <ImageView android:id="@+id/close" |
| 94 | android:layout_width="wrap_content" |
| 95 | android:layout_height="wrap_content" |
| 96 | android:focusable="true" |
| 97 | android:src="@drawable/tv_pip_close_button" /> |
| 98 | |
| 99 | <TextView android:id="@+id/close_desc" |
| 100 | android:layout_width="100dp" |
| 101 | android:layout_height="wrap_content" |
| 102 | android:layout_marginTop="3dp" |
| 103 | android:gravity="center" |
| 104 | android:visibility="invisible" |
| 105 | android:text="@string/pip_close" |
| 106 | android:fontFamily="sans-serif" |
| 107 | android:textSize="12sp" |
| 108 | android:textColor="#EEEEEE" |
| 109 | android:clipChildren="false" /> |
| 110 | </LinearLayout> |
Jaewan Kim | 977dcdc | 2016-01-20 19:21:08 +0900 | [diff] [blame] | 111 | </LinearLayout> |