| OLD | NEW |
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 |
| 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. |
| 6 --> |
| 7 <RelativeLayout |
| 8 xmlns:android="http://schemas.android.com/apk/res/android" |
| 9 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 10 android:layout_width="match_parent" |
| 11 android:layout_height="wrap_content" |
| 12 android:paddingTop="24dp" |
| 13 android:paddingBottom="8dp" |
| 14 android:orientation="vertical"> |
| 15 |
| 16 <ImageView |
| 17 android:id="@+id/lightweight_fre_head_image" |
| 18 android:layout_width="wrap_content" |
| 19 android:layout_height="24dp" |
| 20 android:layout_marginStart="24dp" |
| 21 android:layout_marginBottom="32dp" |
| 22 android:scaleType="fitCenter" |
| 23 android:src="@drawable/product_logo_name" |
| 24 android:contentDescription="@null"/> |
| 25 |
| 26 <org.chromium.ui.widget.TextViewWithClickableSpans |
| 27 android:id="@+id/lightweight_fre_tos_and_privacy" |
| 28 android:layout_width="wrap_content" |
| 29 android:layout_height="wrap_content" |
| 30 android:layout_marginBottom="32dp" |
| 31 android:layout_below="@id/lightweight_fre_head_image" |
| 32 android:paddingStart="24dp" |
| 33 android:paddingEnd="24dp" |
| 34 android:lineSpacingMultiplier="1.64" |
| 35 android:textColor="@color/fre_text_color" |
| 36 android:textSize="@dimen/fre_normal_text_size" |
| 37 android:fontFamily="sans-serif" /> |
| 38 |
| 39 <org.chromium.ui.widget.ButtonCompat |
| 40 android:id="@+id/lightweight_fre_terms_accept" |
| 41 android:layout_width="wrap_content" |
| 42 android:layout_height="36dp" |
| 43 android:layout_marginEnd="8dp" |
| 44 android:layout_below="@id/lightweight_fre_tos_and_privacy" |
| 45 android:layout_alignParentEnd="true" |
| 46 android:paddingStart="@dimen/fre_button_padding" |
| 47 android:paddingEnd="@dimen/fre_button_padding" |
| 48 android:text="@string/fre_accept_continue" |
| 49 android:textAllCaps="true" |
| 50 android:textColor="@android:color/white" |
| 51 android:textSize="@dimen/fre_button_text_size" |
| 52 chrome:buttonColor="@color/light_active_color" |
| 53 chrome:buttonRaised="false"/> |
| 54 |
| 55 <Button |
| 56 android:id="@+id/lightweight_fre_cancel" |
| 57 style="@style/ButtonCompatBorderless" |
| 58 android:layout_width="wrap_content" |
| 59 android:layout_height="36dp" |
| 60 android:layout_below="@id/lightweight_fre_tos_and_privacy" |
| 61 android:layout_toStartOf="@id/lightweight_fre_terms_accept" |
| 62 android:text="@string/cancel" |
| 63 android:textAllCaps="true" |
| 64 android:textColor="@color/light_active_color" |
| 65 android:textSize="@dimen/fre_button_text_size"/> |
| 66 </RelativeLayout> |
| OLD | NEW |