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

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

Issue 2962713002: Fix inconsistent and incorrect Roboto Medium usage (Closed)
Patch Set: Fix inconsistent and incorrect Roboto Medium usage Created 3 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 <!-- 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 android:visibility="invisible"> 15 android:visibility="invisible">
16 <TextView 16 <TextView
17 style="@style/RobotoMediumStyle"
17 android:id="@+id/contextual_search_peek_promo_new" 18 android:id="@+id/contextual_search_peek_promo_new"
18 android:layout_width="wrap_content" 19 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
20 android:layout_marginEnd="@dimen/contextual_search_peek_promo_padding" 21 android:layout_marginEnd="@dimen/contextual_search_peek_promo_padding"
21 android:background="@drawable/contextual_search_peek_promo_new_backgroun d" 22 android:background="@drawable/contextual_search_peek_promo_new_backgroun d"
22 android:fontFamily="sans-serif-medium"
23 android:text="@string/contextual_search_peek_promo_new" 23 android:text="@string/contextual_search_peek_promo_new"
24 android:textAllCaps="true" 24 android:textAllCaps="true"
25 android:textColor="@color/light_active_color" 25 android:textColor="@color/light_active_color"
26 android:textSize="14sp" 26 android:textSize="14sp"
27 /> 27 />
28 <!-- TODO(pedrosimonetti): Find a better layout for handling multiline text --> 28 <!-- TODO(pedrosimonetti): Find a better layout for handling multiline text -->
29 <TextView 29 <TextView
30 android:id="@+id/contextual_search_peek_promo_text" 30 android:id="@+id/contextual_search_peek_promo_text"
31 android:layout_width="wrap_content" 31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content" 32 android:layout_height="wrap_content"
33 android:fontFamily="sans-serif" 33 android:fontFamily="sans-serif"
34 android:text="@string/contextual_search_peek_promo_text" 34 android:text="@string/contextual_search_peek_promo_text"
35 android:textColor="#FFF" 35 android:textColor="#FFF"
36 android:textSize="14sp" 36 android:textSize="14sp"
37 /> 37 />
38 </LinearLayout> 38 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698