OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 Copyright 2015 The Chromium Authors. All rights reserved. | |
4 | |
5 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 4 found in the LICENSE file. --> |
7 --> | |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
9 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 6 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
10 android:layout_width="match_parent" | 7 android:layout_width="match_parent" |
11 android:layout_height="wrap_content" | 8 android:layout_height="wrap_content" |
12 android:orientation="vertical" | 9 android:orientation="vertical" |
13 android:padding="16dp" > | 10 android:padding="16dp" > |
14 | 11 |
15 <TextView | 12 <TextView |
16 android:id="@+id/title" | 13 android:id="@+id/title" |
17 android:layout_width="wrap_content" | 14 android:layout_width="wrap_content" |
18 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
19 android:text="@string/bookmark_sign_in_promo_title" | 16 android:layout_marginBottom="8dp" |
20 android:textColor="@color/default_text_color" | 17 android:textColor="@color/default_text_color" |
21 android:textSize="16sp" | 18 android:textSize="16sp" |
22 android:textStyle="bold" /> | 19 android:textStyle="bold" /> |
23 | 20 |
24 <TextView | 21 <TextView |
25 android:id="@+id/description" | 22 android:id="@+id/description" |
26 android:layout_width="wrap_content" | 23 android:layout_width="wrap_content" |
27 android:layout_height="wrap_content" | 24 android:layout_height="wrap_content" |
28 android:layout_marginTop="8dp" | |
29 android:text="@string/bookmark_sign_in_promo_description" | |
30 android:textColor="@color/default_text_color" | 25 android:textColor="@color/default_text_color" |
31 android:textSize="14sp" /> | 26 android:textSize="14sp" /> |
32 | 27 |
33 <LinearLayout | 28 <LinearLayout |
34 android:layout_width="wrap_content" | 29 android:layout_width="wrap_content" |
35 android:layout_height="wrap_content" | 30 android:layout_height="wrap_content" |
36 android:layout_marginTop="16dp" | 31 android:layout_marginTop="16dp" |
37 android:layout_gravity="end" | 32 android:layout_gravity="end" |
38 android:gravity="center_vertical" | 33 android:gravity="center_vertical" |
39 android:orientation="horizontal" > | 34 android:orientation="horizontal" > |
40 | 35 |
41 <Button | 36 <Button |
42 android:id="@+id/no_thanks" | 37 android:id="@+id/no_thanks" |
43 style="@style/ButtonCompatBorderless" | 38 style="@style/ButtonCompatBorderless" |
44 android:layout_width="wrap_content" | 39 android:layout_width="wrap_content" |
45 android:layout_height="wrap_content" | 40 android:layout_height="wrap_content" |
46 android:text="@string/bookmark_sign_in_promo_no_thanks" | 41 android:text="@string/no_thanks" |
47 android:textAllCaps="true" | 42 android:textAllCaps="true" |
48 android:textColor="@color/light_active_color" | 43 android:textColor="@color/light_active_color" |
49 android:textSize="15sp" /> | 44 android:textSize="15sp" /> |
50 | 45 |
51 <org.chromium.ui.widget.ButtonCompat | 46 <org.chromium.ui.widget.ButtonCompat |
52 android:id="@+id/sign_in" | 47 android:id="@+id/sign_in" |
53 android:layout_width="wrap_content" | 48 android:layout_width="wrap_content" |
54 android:layout_height="wrap_content" | 49 android:layout_height="wrap_content" |
55 android:text="@string/bookmark_sign_in_promo_sign_in" | |
56 android:textAllCaps="true" | 50 android:textAllCaps="true" |
57 android:textColor="@android:color/white" | 51 android:textColor="@android:color/white" |
58 android:textSize="15sp" | 52 android:textSize="15sp" |
59 chrome:buttonColor="@color/light_active_color" /> | 53 chrome:buttonColor="@color/light_active_color" /> |
60 </LinearLayout> | 54 </LinearLayout> |
61 | 55 |
62 </LinearLayout> | 56 </LinearLayout> |
OLD | NEW |