| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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:id="@+id/snippets_card_view" | 9 android:id="@+id/snippets_card_view" |
| 10 android:layout_width="match_parent" | 10 android:layout_width="match_parent" |
| 11 android:layout_height="wrap_content" | 11 android:layout_height="wrap_content" |
| 12 android:padding="@dimen/snippets_padding_and_peeking_card_height" | 12 android:padding="@dimen/snippets_padding_and_peeking_card_height" |
| 13 android:background="@color/snippets_background_color"> | 13 android:background="@drawable/ntp_card"> |
| 14 | 14 |
| 15 <org.chromium.ui.widget.TextViewWithLeading | 15 <org.chromium.ui.widget.TextViewWithLeading |
| 16 android:id="@+id/article_headline" | 16 android:id="@+id/article_headline" |
| 17 android:layout_width="match_parent" | 17 android:layout_width="match_parent" |
| 18 android:layout_height="wrap_content" | 18 android:layout_height="wrap_content" |
| 19 android:layout_alignParentStart="true" | 19 android:layout_alignParentStart="true" |
| 20 android:layout_toStartOf="@+id/article_thumbnail" | 20 android:layout_toStartOf="@+id/article_thumbnail" |
| 21 android:lines="2" | 21 android:lines="2" |
| 22 android:ellipsize="end" | 22 android:ellipsize="end" |
| 23 android:textSize="16sp" | 23 android:textSize="16sp" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 android:background="@color/snippets_thumnail_placeholder_bg" | 57 android:background="@color/snippets_thumnail_placeholder_bg" |
| 58 android:layout_width="@dimen/snippets_thumbnail_size" | 58 android:layout_width="@dimen/snippets_thumbnail_size" |
| 59 android:layout_height="@dimen/snippets_thumbnail_size" | 59 android:layout_height="@dimen/snippets_thumbnail_size" |
| 60 android:layout_alignParentTop="true" | 60 android:layout_alignParentTop="true" |
| 61 android:layout_alignParentEnd="true" | 61 android:layout_alignParentEnd="true" |
| 62 android:layout_marginStart="16dp" | 62 android:layout_marginStart="16dp" |
| 63 android:scaleType="centerCrop" | 63 android:scaleType="centerCrop" |
| 64 android:contentDescription="@null" | 64 android:contentDescription="@null" |
| 65 android:src="@null" /> | 65 android:src="@null" /> |
| 66 </RelativeLayout> | 66 </RelativeLayout> |
| OLD | NEW |