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

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

Issue 2740113002: 🏡 Deduplicate no content string. (Closed)
Patch Set: Created 3 years, 9 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/cards/StatusItem.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 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 <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:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 10 android:layout_height="wrap_content"
(...skipping 13 matching lines...) Expand all
24 android:contentDescription="@null" 24 android:contentDescription="@null"
25 android:importantForAccessibility="no" /> 25 android:importantForAccessibility="no" />
26 26
27 <org.chromium.ui.widget.TextViewWithLeading 27 <org.chromium.ui.widget.TextViewWithLeading
28 android:id="@+id/title_text" 28 android:id="@+id/title_text"
29 android:layout_width="match_parent" 29 android:layout_width="match_parent"
30 android:layout_height="wrap_content" 30 android:layout_height="wrap_content"
31 android:layout_below="@id/image" 31 android:layout_below="@id/image"
32 android:layout_alignParentStart="true" 32 android:layout_alignParentStart="true"
33 android:gravity="center_horizontal" 33 android:gravity="center_horizontal"
34 android:text="@string/ntp_all_dismissed_title_text" 34 android:text="@string/ntp_title_no_suggestions"
35 android:textSize="16sp" 35 android:textSize="16sp"
36 android:textColor="@color/snippets_headline_text_color" 36 android:textColor="@color/snippets_headline_text_color"
37 chrome:leading="24dp" /> 37 chrome:leading="24dp" />
38 38
39 <org.chromium.ui.widget.TextViewWithLeading 39 <org.chromium.ui.widget.TextViewWithLeading
40 android:id="@+id/body_text" 40 android:id="@+id/body_text"
41 android:layout_width="match_parent" 41 android:layout_width="match_parent"
42 android:layout_height="wrap_content" 42 android:layout_height="wrap_content"
43 android:layout_below="@id/title_text" 43 android:layout_below="@id/title_text"
44 android:layout_alignParentStart="true" 44 android:layout_alignParentStart="true"
(...skipping 11 matching lines...) Expand all
56 android:layout_height="wrap_content" 56 android:layout_height="wrap_content"
57 android:layout_below="@id/body_text" 57 android:layout_below="@id/body_text"
58 android:layout_centerHorizontal="true" 58 android:layout_centerHorizontal="true"
59 android:layout_marginTop="24dp" 59 android:layout_marginTop="24dp"
60 android:text="@string/ntp_all_dismissed_refresh" 60 android:text="@string/ntp_all_dismissed_refresh"
61 android:textAllCaps="true" 61 android:textAllCaps="true"
62 android:textColor="@color/light_active_color" 62 android:textColor="@color/light_active_color"
63 android:textSize="15sp" /> 63 android:textSize="15sp" />
64 64
65 </RelativeLayout> 65 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/StatusItem.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698