| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. --> | |
| 5 | |
| 6 <merge | |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" > | |
| 8 | |
| 9 <ScrollView | |
| 10 android:layout_height="match_parent" | |
| 11 android:layout_width="match_parent" | |
| 12 android:layout_marginBottom="57dp" | |
| 13 android:fillViewport="true" | |
| 14 android:scrollbarStyle="outsideOverlay" > | |
| 15 | |
| 16 <LinearLayout | |
| 17 android:layout_height="wrap_content" | |
| 18 android:layout_width="match_parent" | |
| 19 android:paddingStart="40dp" | |
| 20 android:paddingEnd="40dp" | |
| 21 android:gravity="center" | |
| 22 android:orientation="vertical" > | |
| 23 | |
| 24 <ImageView | |
| 25 android:layout_height="140dp" | |
| 26 android:layout_width="140dp" | |
| 27 android:src="@drawable/physical_web_logo" | |
| 28 android:contentDescription="@null" /> | |
| 29 <TextView | |
| 30 android:layout_height="wrap_content" | |
| 31 android:layout_width="wrap_content" | |
| 32 android:layout_marginTop="10dp" | |
| 33 android:layout_marginBottom="20dp" | |
| 34 android:text="@string/physical_web_optin_title" | |
| 35 android:textSize="24sp" | |
| 36 android:textColor="@android:color/black" /> | |
| 37 <TextView | |
| 38 android:id="@+id/physical_web_optin_description" | |
| 39 android:layout_height="wrap_content" | |
| 40 android:layout_width="match_parent" | |
| 41 android:text="@string/physical_web_optin_description" | |
| 42 android:textSize="16sp" | |
| 43 android:textColor="@color/light_normal_color" | |
| 44 android:textColorLink="@color/light_active_color" /> | |
| 45 | |
| 46 </LinearLayout> | |
| 47 | |
| 48 </ScrollView> | |
| 49 | |
| 50 <View | |
| 51 style="@style/ButtonBarTopDivider" | |
| 52 android:layout_gravity="bottom" | |
| 53 android:layout_marginBottom="56dp" /> | |
| 54 | |
| 55 <LinearLayout | |
| 56 android:layout_width="match_parent" | |
| 57 android:layout_height="56dp" | |
| 58 android:layout_gravity="bottom" | |
| 59 android:orientation="horizontal" > | |
| 60 | |
| 61 <!--suppress ButtonStyle --> | |
| 62 <Button | |
| 63 android:id="@+id/physical_web_decline" | |
| 64 android:layout_width="0dp" | |
| 65 android:layout_height="match_parent" | |
| 66 android:layout_weight="1" | |
| 67 android:background="?attr/listChoiceBackgroundIndicator" | |
| 68 android:gravity="start|center_vertical" | |
| 69 android:textDirection="locale" | |
| 70 android:paddingStart="16dp" | |
| 71 android:paddingEnd="16dp" | |
| 72 android:text="@string/no_thanks" | |
| 73 android:textAllCaps="true" | |
| 74 android:textColor="@color/light_normal_color" | |
| 75 android:textSize="14sp" /> | |
| 76 | |
| 77 <!--suppress ButtonStyle --> | |
| 78 <Button | |
| 79 android:id="@+id/physical_web_enable" | |
| 80 android:layout_width="0dp" | |
| 81 android:layout_height="match_parent" | |
| 82 android:layout_weight="1" | |
| 83 android:background="?attr/listChoiceBackgroundIndicator" | |
| 84 android:gravity="end|center_vertical" | |
| 85 android:textDirection="locale" | |
| 86 android:paddingStart="16dp" | |
| 87 android:paddingEnd="16dp" | |
| 88 android:text="@string/enable" | |
| 89 android:textAllCaps="true" | |
| 90 android:textColor="@color/light_active_color" | |
| 91 android:textSize="14sp" /> | |
| 92 | |
| 93 </LinearLayout> | |
| 94 | |
| 95 </merge> | |
| OLD | NEW |