| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ** |
| ** Copyright 2016, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| */ |
| --> |
| |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/pip_onboarding" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| <View |
| android:id="@+id/background" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="#000000" |
| android:alpha="0" /> |
| |
| <ImageView |
| android:id="@+id/remote" |
| android:layout_width="72dp" |
| android:layout_height="273dp" |
| android:layout_marginTop="136dp" |
| android:layout_marginStart="304dp" |
| android:layout_alignParentTop="true" |
| android:layout_alignParentStart="true" |
| android:adjustViewBounds="true" |
| android:src="@drawable/remote" |
| android:alpha="0" /> |
| <ImageView |
| android:id="@+id/remote_button" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:layout_marginTop="256dp" |
| android:layout_marginStart="315dp" |
| android:layout_alignParentTop="true" |
| android:layout_alignParentStart="true" |
| android:scaleType="fitXY" |
| android:src="@drawable/tv_pip_onboarding_remote" |
| android:alpha="0" /> |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="188dp" |
| android:layout_marginStart="406dp" |
| android:layout_alignParentTop="true" |
| android:layout_alignParentStart="true" |
| android:fontFamily="sans-serif" |
| android:textSize="24sp" |
| android:textColor="#EEEEEE" |
| android:text="@string/pip_onboarding_title" |
| android:alpha="0" /> |
| <TextView |
| android:id="@+id/description" |
| android:layout_width="200dp" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="4dp" |
| android:layout_marginStart="408dp" |
| android:layout_below="@id/title" |
| android:layout_alignParentStart="true" |
| android:fontFamily="sans-serif" |
| android:textSize="14sp" |
| android:textColor="#EEEEEE" |
| android:lineSpacingMultiplier="1.46286" |
| android:text="@string/pip_onboarding_description" |
| android:alpha="0" /> |
| <Button |
| android:id="@+id/button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="16dp" |
| android:layout_marginStart="408dp" |
| android:layout_below="@id/description" |
| android:layout_alignParentStart="true" |
| android:gravity="center" |
| android:paddingTop="10dp" |
| android:paddingBottom="10dp" |
| android:paddingStart="24dp" |
| android:paddingEnd="24dp" |
| android:fontFamily="sans-serif-condensed" |
| android:textSize="16sp" |
| android:textColor="#FFFFFF" |
| android:textAllCaps="true" |
| android:text="@string/pip_onboarding_button" |
| android:alpha="0" |
| android:background="#009688" |
| android:elevation="4dp" /> |
| </RelativeLayout> |