Home | History | Annotate | Download | only in layout
      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 
     20 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:id="@+id/pip_onboarding"
     22     android:layout_width="match_parent"
     23     android:layout_height="match_parent"
     24     android:orientation="vertical">
     25     <View
     26         android:id="@+id/background"
     27         android:layout_width="match_parent"
     28         android:layout_height="match_parent"
     29         android:background="#000000"
     30         android:alpha="0" />
     31 
     32     <ImageView
     33         android:id="@+id/remote"
     34         android:layout_width="72dp"
     35         android:layout_height="273dp"
     36         android:layout_marginTop="136dp"
     37         android:layout_marginStart="304dp"
     38         android:layout_alignParentTop="true"
     39         android:layout_alignParentStart="true"
     40         android:adjustViewBounds="true"
     41         android:src="@drawable/remote"
     42         android:alpha="0" />
     43     <ImageView
     44         android:id="@+id/remote_button"
     45         android:layout_width="50dp"
     46         android:layout_height="50dp"
     47         android:layout_marginTop="256dp"
     48         android:layout_marginStart="315dp"
     49         android:layout_alignParentTop="true"
     50         android:layout_alignParentStart="true"
     51         android:scaleType="fitXY"
     52         android:src="@drawable/tv_pip_onboarding_remote"
     53         android:alpha="0" />
     54     <TextView
     55         android:id="@+id/title"
     56         android:layout_width="wrap_content"
     57         android:layout_height="wrap_content"
     58         android:layout_marginTop="188dp"
     59         android:layout_marginStart="406dp"
     60         android:layout_alignParentTop="true"
     61         android:layout_alignParentStart="true"
     62         android:fontFamily="sans-serif"
     63         android:textSize="24sp"
     64         android:textColor="#EEEEEE"
     65         android:text="@string/pip_onboarding_title"
     66         android:alpha="0" />
     67     <TextView
     68         android:id="@+id/description"
     69         android:layout_width="200dp"
     70         android:layout_height="wrap_content"
     71         android:layout_marginTop="4dp"
     72         android:layout_marginStart="408dp"
     73         android:layout_below="@id/title"
     74         android:layout_alignParentStart="true"
     75         android:fontFamily="sans-serif"
     76         android:textSize="14sp"
     77         android:textColor="#EEEEEE"
     78         android:lineSpacingMultiplier="1.46286"
     79         android:text="@string/pip_onboarding_description"
     80         android:alpha="0" />
     81     <Button
     82         android:id="@+id/button"
     83         android:layout_width="wrap_content"
     84         android:layout_height="wrap_content"
     85         android:layout_marginTop="16dp"
     86         android:layout_marginStart="408dp"
     87         android:layout_below="@id/description"
     88         android:layout_alignParentStart="true"
     89         android:gravity="center"
     90         android:paddingTop="10dp"
     91         android:paddingBottom="10dp"
     92         android:paddingStart="24dp"
     93         android:paddingEnd="24dp"
     94         android:fontFamily="sans-serif-condensed"
     95         android:textSize="16sp"
     96         android:textColor="#FFFFFF"
     97         android:textAllCaps="true"
     98         android:text="@string/pip_onboarding_button"
     99         android:alpha="0"
    100         android:background="#009688"
    101         android:elevation="4dp" />
    102 </RelativeLayout>
    103