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

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

Issue 2360723002: Ntp: add ripple to suggestion cards. (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | 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"
11 android:layout_height="wrap_content" 11 android:layout_height="wrap_content"
12 android:foreground="@drawable/button_borderless_compat"
12 android:padding="@dimen/snippets_padding_and_peeking_card_height" 13 android:padding="@dimen/snippets_padding_and_peeking_card_height"
13 android:background="@drawable/ntp_card_single"> 14 android:background="@drawable/ntp_card_single">
14 15
15 <org.chromium.ui.widget.TextViewWithLeading 16 <org.chromium.ui.widget.TextViewWithLeading
16 android:id="@+id/article_headline" 17 android:id="@+id/article_headline"
17 android:layout_width="match_parent" 18 android:layout_width="match_parent"
18 android:layout_height="wrap_content" 19 android:layout_height="wrap_content"
19 android:layout_alignParentStart="true" 20 android:layout_alignParentStart="true"
20 android:layout_toStartOf="@+id/article_thumbnail" 21 android:layout_toStartOf="@+id/article_thumbnail"
21 android:ellipsize="end" 22 android:ellipsize="end"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698