Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: chrome/android/java/res/layout/new_tab_page_snippets_card.xml

Issue 2064753006: Isolate the snippet publisher string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 android:id="@+id/article_publisher" 42 android:id="@+id/article_publisher"
43 android:layout_width="match_parent" 43 android:layout_width="match_parent"
44 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
45 android:layout_marginTop="16dp" 45 android:layout_marginTop="16dp"
46 android:layout_alignParentStart="true" 46 android:layout_alignParentStart="true"
47 android:layout_below="@+id/article_snippet" 47 android:layout_below="@+id/article_snippet"
48 android:drawablePadding="8dp" 48 android:drawablePadding="8dp"
49 android:maxLines="1" 49 android:maxLines="1"
50 android:ellipsize="end" 50 android:ellipsize="end"
51 android:textSize="12sp" 51 android:textSize="12sp"
52 android:textColor="@color/snippets_publisher_name_color" /> 52 android:textColor="@color/snippets_publisher_name_color"
53 android:textDirection="locale" />
53 54
54 <ImageView 55 <ImageView
55 android:id="@+id/article_thumbnail" 56 android:id="@+id/article_thumbnail"
56 android:background="@color/snippets_thumnail_placeholder_bg" 57 android:background="@color/snippets_thumnail_placeholder_bg"
57 android:layout_width="@dimen/snippets_thumbnail_size" 58 android:layout_width="@dimen/snippets_thumbnail_size"
58 android:layout_height="@dimen/snippets_thumbnail_size" 59 android:layout_height="@dimen/snippets_thumbnail_size"
59 android:layout_alignParentTop="true" 60 android:layout_alignParentTop="true"
60 android:layout_alignParentEnd="true" 61 android:layout_alignParentEnd="true"
61 android:layout_marginStart="16dp" 62 android:layout_marginStart="16dp"
62 android:scaleType="centerCrop" 63 android:scaleType="centerCrop"
63 android:contentDescription="@null" 64 android:contentDescription="@null"
64 android:src="@null" /> 65 android:src="@null" />
65 </RelativeLayout> 66 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698