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 <LinearLayout | |
7 xmlns:android="http://schemas.android.com/apk/res/android" | |
8 android:id="@+id/opt_out_promo" | |
9 android:layout_width="match_parent" | |
10 android:layout_height="wrap_content" | |
11 android:orientation="vertical"> | |
12 | |
13 <ImageView | |
14 android:id="@+id/tabs_moved_illustration" | |
15 android:layout_width="match_parent" | |
16 android:layout_height="wrap_content" | |
17 android:gravity="center" | |
18 android:adjustViewBounds="true" | |
19 android:background="#4FC3F7" | |
20 android:contentDescription="@null" /> | |
21 | |
22 <TextView | |
23 android:layout_width="wrap_content" | |
24 android:layout_height="wrap_content" | |
25 android:textSize="16sp" | |
26 android:layout_marginTop="24dp" | |
27 android:layout_marginStart="32dp" | |
28 android:layout_marginEnd="32dp" | |
29 android:text="@string/tabs_and_apps_opt_out_title" | |
30 android:textColor="@color/default_text_color" /> | |
31 | |
32 <org.chromium.ui.widget.TextViewWithClickableSpans | |
33 android:id="@+id/opt_out_text" | |
34 android:layout_width="match_parent" | |
35 android:layout_height="wrap_content" | |
36 android:layout_marginTop="8dp" | |
37 android:layout_marginStart="32dp" | |
38 android:layout_marginEnd="32dp" | |
39 android:bufferType="spannable" | |
40 android:textSize="14sp" | |
41 android:textColor="@color/opt_out_text_color" | |
42 android:lineSpacingMultiplier="1.4" /> | |
43 | |
44 <Button | |
45 style="@style/ButtonCompatBorderless" | |
46 android:id="@+id/got_it_button" | |
47 android:layout_width="wrap_content" | |
48 android:layout_height="wrap_content" | |
49 android:layout_gravity="end" | |
50 android:layout_marginTop="24dp" | |
51 android:layout_marginBottom="16dp" | |
52 android:layout_marginEnd="32dp" | |
53 android:text="@string/tabs_and_apps_got_it_button" | |
54 android:textColor="@color/light_active_color" /> | |
55 </LinearLayout> | |
OLD | NEW |