| 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" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 android:maxLines="2" | 34 android:maxLines="2" |
| 35 android:ellipsize="end" | 35 android:ellipsize="end" |
| 36 android:textSize="14sp" | 36 android:textSize="14sp" |
| 37 android:textColor="@color/snippets_text_color" | 37 android:textColor="@color/snippets_text_color" |
| 38 chrome:leading="20dp" /> | 38 chrome:leading="20dp" /> |
| 39 | 39 |
| 40 <TextView | 40 <TextView |
| 41 android:id="@+id/article_publisher" | 41 android:id="@+id/article_publisher" |
| 42 android:layout_width="match_parent" | 42 android:layout_width="match_parent" |
| 43 android:layout_height="wrap_content" | 43 android:layout_height="wrap_content" |
| 44 android:layout_marginTop="16dp" | 44 android:layout_marginTop="@dimen/snippets_publisher_margin_top_with_arti
cle_snippet" |
| 45 android:layout_alignParentStart="true" | 45 android:layout_alignParentStart="true" |
| 46 android:layout_below="@+id/article_snippet" | 46 android:layout_below="@+id/article_snippet" |
| 47 android:drawablePadding="8dp" | 47 android:drawablePadding="8dp" |
| 48 android:maxLines="1" | 48 android:maxLines="1" |
| 49 android:ellipsize="end" | 49 android:ellipsize="end" |
| 50 android:textSize="12sp" | 50 android:textSize="12sp" |
| 51 android:textColor="@color/snippets_publisher_name_color" | 51 android:textColor="@color/snippets_publisher_name_color" |
| 52 android:textDirection="locale" /> | 52 android:textDirection="locale" /> |
| 53 | 53 |
| 54 <ImageView | 54 <ImageView |
| 55 android:id="@+id/article_thumbnail" | 55 android:id="@+id/article_thumbnail" |
| 56 android:background="@color/snippets_thumnail_placeholder_bg" | 56 android:background="@color/snippets_thumnail_placeholder_bg" |
| 57 android:layout_width="@dimen/snippets_thumbnail_size" | 57 android:layout_width="@dimen/snippets_thumbnail_size" |
| 58 android:layout_height="@dimen/snippets_thumbnail_size" | 58 android:layout_height="@dimen/snippets_thumbnail_size" |
| 59 android:layout_alignParentTop="true" | 59 android:layout_alignParentTop="true" |
| 60 android:layout_alignParentEnd="true" | 60 android:layout_alignParentEnd="true" |
| 61 android:layout_marginStart="16dp" | 61 android:layout_marginStart="16dp" |
| 62 android:scaleType="centerCrop" | 62 android:scaleType="centerCrop" |
| 63 android:contentDescription="@null" | 63 android:contentDescription="@null" |
| 64 android:src="@null" /> | 64 android:src="@null" /> |
| 65 </RelativeLayout> | 65 </RelativeLayout> |
| OLD | NEW |