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

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

Issue 2896883003: Unify toolbar, NTP, and tab switcher text styles (Closed)
Patch Set: Change color for suggestion url Created 3 years, 6 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/res/values/colors.xml » ('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 <!-- 6 <!--
7 The TextView is wrapped in a FrameLayout so that the entire view can be cent ered and use a width 7 The TextView is wrapped in a FrameLayout so that the entire view can be cent ered and use a width
8 of wrap_content. A RecyclerView does not support layout_gravity alignment. T he width of the 8 of wrap_content. A RecyclerView does not support layout_gravity alignment. T he width of the
9 TextView must be wrap_content because otherwise clicks on the padding can ac tivate its clickable 9 TextView must be wrap_content because otherwise clicks on the padding can ac tivate its clickable
10 span. 10 span.
11 See http://crbug.com/660083 for more details. 11 See http://crbug.com/660083 for more details.
12 --> 12 -->
13 <FrameLayout 13 <FrameLayout
14 xmlns:android="http://schemas.android.com/apk/res/android" 14 xmlns:android="http://schemas.android.com/apk/res/android"
15 android:layout_width="match_parent" 15 android:layout_width="match_parent"
16 android:layout_height="wrap_content" 16 android:layout_height="wrap_content"
17 android:paddingTop="40dp" 17 android:paddingTop="40dp"
18 android:paddingBottom="18dp" 18 android:paddingBottom="18dp"
19 android:paddingStart="16dp" 19 android:paddingStart="16dp"
20 android:paddingEnd="16dp"> 20 android:paddingEnd="16dp">
21 <TextView 21 <TextView
22 android:id="@+id/text" 22 android:id="@+id/text"
23 android:layout_width="wrap_content" 23 android:layout_width="wrap_content"
24 android:layout_height="wrap_content" 24 android:layout_height="wrap_content"
25 android:layout_gravity="center" 25 android:layout_gravity="center"
26 android:textColor="@color/snippets_text_color" 26 android:textColor="@color/snippets_text_color"
27 android:textSize="12sp" 27 android:textSize="12sp"/>
28 android:textStyle="italic"/>
29 </FrameLayout> 28 </FrameLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698