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

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

Issue 2638353002: Update and unify nine-patch files for content suggestion and omnibox cards (Closed)
Patch Set: sync Created 3 years, 11 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
OLDNEW
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 <LinearLayout 6 <LinearLayout
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/status_card_view" 9 android:id="@+id/status_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:gravity="end" 12 android:gravity="end"
13 android:orientation="vertical" 13 android:orientation="vertical"
14 android:padding="@dimen/snippets_padding" 14 android:padding="@dimen/snippets_padding"
15 android:background="@drawable/ntp_card_single"> 15 android:background="@drawable/card_single">
16 16
17 <org.chromium.ui.widget.TextViewWithLeading 17 <org.chromium.ui.widget.TextViewWithLeading
18 android:id="@+id/status_title" 18 android:id="@+id/status_title"
19 android:layout_width="match_parent" 19 android:layout_width="match_parent"
20 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
21 android:textSize="16sp" 21 android:textSize="16sp"
22 android:textColor="@color/snippets_headline_text_color" 22 android:textColor="@color/snippets_headline_text_color"
23 chrome:leading="24dp" /> 23 chrome:leading="24dp" />
24 24
25 <org.chromium.ui.widget.TextViewWithLeading 25 <org.chromium.ui.widget.TextViewWithLeading
(...skipping 13 matching lines...) Expand all
39 style="@style/ButtonCompatBorderless" 39 style="@style/ButtonCompatBorderless"
40 android:layout_marginTop="16dp" 40 android:layout_marginTop="16dp"
41 android:layout_marginEnd="-8dp" 41 android:layout_marginEnd="-8dp"
42 android:layout_width="wrap_content" 42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content" 43 android:layout_height="wrap_content"
44 android:textAllCaps="true" 44 android:textAllCaps="true"
45 android:textColor="@color/light_active_color" 45 android:textColor="@color/light_active_color"
46 android:textSize="15sp" /> 46 android:textSize="15sp" />
47 47
48 </LinearLayout> 48 </LinearLayout>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/new_tab_page_snippets_card.xml ('k') | chrome/android/java/res/layout/toolbar_tablet.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698