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

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

Issue 2438033002: Ntp: tweak "all dismissed" spacing for latest mock. (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 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"
11 android:padding="@dimen/snippets_padding_and_peeking_card_height"> 11 android:padding="@dimen/snippets_padding_and_peeking_card_height">
12 12
13 <ImageView 13 <ImageView
14 android:id="@+id/image" 14 android:id="@+id/image"
15 android:layout_width="112dp" 15 android:layout_width="112dp"
16 android:layout_height="112dp" 16 android:layout_height="112dp"
17 android:layout_alignParentTop="true" 17 android:layout_alignParentTop="true"
18 android:layout_centerHorizontal="true" 18 android:layout_centerHorizontal="true"
19 android:layout_marginTop="8dp" 19 android:layout_marginTop="72dp"
20 android:layout_marginBottom="8dp" 20 android:layout_marginBottom="40dp"
21 android:layout_marginStart="8dp" 21 android:layout_marginStart="8dp"
22 android:layout_marginEnd="8dp" 22 android:layout_marginEnd="8dp"
23 android:src="@drawable/ntp_all_dismissed" 23 android:src="@drawable/ntp_all_dismissed"
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"
(...skipping 18 matching lines...) Expand all
49 android:textColor="@color/snippets_text_color" 49 android:textColor="@color/snippets_text_color"
50 chrome:leading="20dp" /> 50 chrome:leading="20dp" />
51 51
52 <Button 52 <Button
53 android:id="@+id/action_button" 53 android:id="@+id/action_button"
54 style="@style/ButtonCompatBorderless" 54 style="@style/ButtonCompatBorderless"
55 android:layout_width="wrap_content" 55 android:layout_width="wrap_content"
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="16dp" 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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698