1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2015 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:layout_gravity="bottom" 22 android:background="@color/common_tv_background" 23 android:paddingStart="40dp" 24 android:paddingEnd="56dp" 25 android:paddingTop="44dp" 26 android:paddingBottom="27dp"> 27 <ImageView 28 android:id="@+id/icon" 29 android:layout_width="64dp" 30 android:layout_height="64dp" 31 android:layout_marginTop="8dp" 32 android:layout_alignParentTop="true" 33 android:layout_alignParentStart="true" 34 android:scaleType="centerInside" 35 android:src="@drawable/ic_tvoption_channel_sources" /> 36 <Button 37 android:id="@+id/setup" 38 style="@style/Widget.Setup.GuidedActionItemContainerStyle" 39 android:layout_width="306dp" 40 android:layout_height="45dp" 41 android:layout_marginTop="7dp" 42 android:layout_alignParentEnd="true" 43 android:layout_marginStart="56dp" 44 android:background="@null" 45 android:foreground="@drawable/setup_selector_background" 46 android:gravity="start" 47 android:text="@string/new_sources_action_setup"/> 48 <Button 49 android:id="@+id/skip" 50 style="@style/Widget.Setup.GuidedActionItemContainerStyle" 51 android:layout_width="306dp" 52 android:layout_height="45dp" 53 android:layout_alignParentEnd="true" 54 android:layout_below="@id/setup" 55 android:background="@null" 56 android:foreground="@drawable/setup_selector_background" 57 android:gravity="start" 58 android:text="@string/new_sources_action_skip"/> 59 <TextView 60 android:id="@+id/title" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:layout_alignParentTop="true" 64 android:layout_marginTop="11dp" 65 android:layout_marginBottom="18dp" 66 android:layout_toEndOf="@id/icon" 67 android:layout_toStartOf="@+id/setup" 68 android:fontFamily="@string/light_font" 69 android:textColor="#EEEEEE" 70 android:text="@string/new_sources_title" 71 android:textSize="34sp"/> 72 <TextView 73 android:id="@+id/description" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:layout_below="@id/title" 77 android:layout_marginBottom="8dp" 78 android:layout_toEndOf="@id/icon" 79 android:layout_toStartOf="@id/setup" 80 android:fontFamily="@string/light_font" 81 android:text="@string/new_sources_description" 82 android:textColor="#ADEEEEEE"/> 83</RelativeLayout> 84