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

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

Issue 1453983003: [Contextual Search] Tweak Peek Promo fonts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only "new" view should be bold Created 5 years, 1 month 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 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 The Chromium Authors. All rights reserved.
4 4
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:id="@+id/contextual_search_peek_promo_text_view" 9 android:id="@+id/contextual_search_peek_promo_text_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:orientation="horizontal" 12 android:orientation="horizontal"
13 android:paddingStart="@dimen/contextual_search_peek_promo_padding" 13 android:paddingStart="@dimen/contextual_search_peek_promo_padding"
14 android:paddingEnd="@dimen/contextual_search_peek_promo_padding"> 14 android:paddingEnd="@dimen/contextual_search_peek_promo_padding">
15 <TextView 15 <TextView
16 android:id="@+id/contextual_search_peek_promo_new" 16 android:id="@+id/contextual_search_peek_promo_new"
17 android:layout_width="wrap_content" 17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
19 android:layout_marginEnd="@dimen/contextual_search_peek_promo_padding" 19 android:layout_marginEnd="@dimen/contextual_search_peek_promo_padding"
20 android:background="@drawable/contextual_search_peek_promo_new_backgroun d" 20 android:background="@drawable/contextual_search_peek_promo_new_backgroun d"
21 android:fontFamily="sans-serif-medium"
21 android:text="@string/contextual_search_peek_promo_new" 22 android:text="@string/contextual_search_peek_promo_new"
22 android:textAllCaps="true" 23 android:textAllCaps="true"
23 android:textColor="@color/light_active_color" 24 android:textColor="@color/light_active_color"
24 android:textSize="14sp" 25 android:textSize="14sp"
25 /> 26 />
26 <!-- TODO(pedrosimonetti): Find a better layout for handling multiline text --> 27 <!-- TODO(pedrosimonetti): Find a better layout for handling multiline text -->
27 <TextView 28 <TextView
28 android:id="@+id/contextual_search_peek_promo_text" 29 android:id="@+id/contextual_search_peek_promo_text"
29 android:layout_width="wrap_content" 30 android:layout_width="wrap_content"
30 android:layout_height="wrap_content" 31 android:layout_height="wrap_content"
32 android:fontFamily="sans-serif"
31 android:text="@string/contextual_search_peek_promo_text" 33 android:text="@string/contextual_search_peek_promo_text"
32 android:textColor="#FFF" 34 android:textColor="#FFF"
33 android:textSize="14sp" 35 android:textSize="14sp"
34 /> 36 />
35 </LinearLayout> 37 </LinearLayout>
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