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

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

Issue 2061803002: 📰 The Status card reports disabled sync states (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplifyBridge
Patch Set: yolo: another big bag of changes Created 4 years, 5 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_and_peeking_card_height" 14 android:padding="@dimen/snippets_padding_and_peeking_card_height"
15 android:background="@color/snippets_background_color"> 15 android:background="@color/snippets_background_color">
16 16
17 <org.chromium.ui.widget.TextViewWithLeading 17 <org.chromium.ui.widget.TextViewWithLeading
18 android:id="@+id/status_headline" 18 android:id="@+id/status_title"
19 android:text="@string/ntp_status_card_title_empty"
20 android:layout_width="match_parent" 19 android:layout_width="match_parent"
21 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
22 android:textSize="16sp" 21 android:textSize="16sp"
23 android:textColor="@color/snippets_headline_text_color" 22 android:textColor="@color/snippets_headline_text_color"
24 chrome:leading="24dp" /> 23 chrome:leading="24dp" />
25 24
26 <org.chromium.ui.widget.TextViewWithLeading 25 <org.chromium.ui.widget.TextViewWithLeading
27 android:id="@+id/status_snippet" 26 android:id="@+id/status_body"
28 android:text="@string/ntp_status_card_body_empty"
29 android:layout_width="match_parent" 27 android:layout_width="match_parent"
30 android:layout_height="wrap_content" 28 android:layout_height="wrap_content"
31 android:layout_marginTop="8dp" 29 android:layout_marginTop="8dp"
32 android:textSize="14sp" 30 android:textSize="14sp"
33 android:textColor="@color/snippets_text_color" 31 android:textColor="@color/snippets_text_color"
34 chrome:leading="20dp" /> 32 chrome:leading="20dp" />
35 33
36 <!-- Negative marginEnd to balance the parent's padding. Buttons are 34 <!-- Negative marginEnd to balance the parent's padding. Buttons are
37 supposed to have 8dp margin while we have a 16dp margin at the parent 35 supposed to have 8dp margin while we have a 16dp margin at the parent
38 level. --> 36 level. -->
39 <Button 37 <Button
40 android:id="@+id/reload_button" 38 android:id="@+id/status_action_button"
41 style="@style/ButtonCompatBorderless" 39 style="@style/ButtonCompatBorderless"
42 android:layout_marginTop="16dp" 40 android:layout_marginTop="16dp"
43 android:layout_marginEnd="-8dp" 41 android:layout_marginEnd="-8dp"
44 android:layout_width="wrap_content" 42 android:layout_width="wrap_content"
45 android:layout_height="wrap_content" 43 android:layout_height="wrap_content"
46 android:text="@string/reload"
47 android:textAllCaps="true" 44 android:textAllCaps="true"
48 android:textColor="@color/light_active_color" 45 android:textColor="@color/light_active_color"
49 android:textSize="15sp" /> 46 android:textSize="15sp" />
50 47
51 </LinearLayout> 48 </LinearLayout>
OLDNEW
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698