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