OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 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 |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <RelativeLayout | 6 <RelativeLayout |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="wrap_content" | 10 android:layout_height="wrap_content" |
11 android:padding="@dimen/snippets_padding_and_peeking_card_height"> | 11 android:padding="@dimen/snippets_padding_and_peeking_card_height"> |
12 | 12 |
13 <ImageView | 13 <ImageView |
14 android:id="@+id/image" | 14 android:id="@+id/image" |
15 android:layout_width="112dp" | 15 android:layout_width="112dp" |
16 android:layout_height="112dp" | 16 android:layout_height="112dp" |
17 android:layout_alignParentTop="true" | 17 android:layout_alignParentTop="true" |
18 android:layout_centerHorizontal="true" | 18 android:layout_centerHorizontal="true" |
19 android:layout_marginTop="8dp" | 19 android:layout_marginTop="72dp" |
20 android:layout_marginBottom="8dp" | 20 android:layout_marginBottom="40dp" |
21 android:layout_marginStart="8dp" | 21 android:layout_marginStart="8dp" |
22 android:layout_marginEnd="8dp" | 22 android:layout_marginEnd="8dp" |
23 android:src="@drawable/ntp_all_dismissed" | 23 android:src="@drawable/ntp_all_dismissed" |
24 android:contentDescription="@null" | 24 android:contentDescription="@null" |
25 android:importantForAccessibility="no" /> | 25 android:importantForAccessibility="no" /> |
26 | 26 |
27 <org.chromium.ui.widget.TextViewWithLeading | 27 <org.chromium.ui.widget.TextViewWithLeading |
28 android:id="@+id/title_text" | 28 android:id="@+id/title_text" |
29 android:layout_width="match_parent" | 29 android:layout_width="match_parent" |
30 android:layout_height="wrap_content" | 30 android:layout_height="wrap_content" |
(...skipping 18 matching lines...) Expand all Loading... |
49 android:textColor="@color/snippets_text_color" | 49 android:textColor="@color/snippets_text_color" |
50 chrome:leading="20dp" /> | 50 chrome:leading="20dp" /> |
51 | 51 |
52 <Button | 52 <Button |
53 android:id="@+id/action_button" | 53 android:id="@+id/action_button" |
54 style="@style/ButtonCompatBorderless" | 54 style="@style/ButtonCompatBorderless" |
55 android:layout_width="wrap_content" | 55 android:layout_width="wrap_content" |
56 android:layout_height="wrap_content" | 56 android:layout_height="wrap_content" |
57 android:layout_below="@id/body_text" | 57 android:layout_below="@id/body_text" |
58 android:layout_centerHorizontal="true" | 58 android:layout_centerHorizontal="true" |
59 android:layout_marginTop="16dp" | 59 android:layout_marginTop="24dp" |
60 android:text="@string/ntp_all_dismissed_refresh" | 60 android:text="@string/ntp_all_dismissed_refresh" |
61 android:textAllCaps="true" | 61 android:textAllCaps="true" |
62 android:textColor="@color/light_active_color" | 62 android:textColor="@color/light_active_color" |
63 android:textSize="15sp" /> | 63 android:textSize="15sp" /> |
64 | 64 |
65 </RelativeLayout> | 65 </RelativeLayout> |
OLD | NEW |