Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- | |
| 3 Copyright 2015 The Chromium Authors. All rights reserved. | |
| 4 | |
| 5 Use of this source code is governed by a BSD-style license that can be | |
| 6 found in the LICENSE file. | |
| 7 --> | |
| 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 9 android:id="@+id/contextual_search_peek_promo" | |
| 10 android:layout_width="match_parent" | |
| 11 android:layout_height="@dimen/contextual_search_peek_promo_height" | |
| 12 android:orientation="horizontal" | |
| 13 android:paddingStart="@dimen/contextual_search_peek_promo_padding" | |
| 14 android:paddingEnd="@dimen/contextual_search_peek_promo_padding" | |
| 15 android:textSize="14sp"> | |
|
aurimas (slooooooooow)
2015/10/03 00:54:02
Does android:textSize on a linear layout set the t
pedro (no code reviews)
2015/10/05 02:13:21
You're right. Moved declaration to each TextView.
| |
| 16 <TextView | |
| 17 android:id="@+id/contextual_search_peek_promo_new" | |
| 18 android:layout_width="wrap_content" | |
| 19 android:layout_height="wrap_content" | |
| 20 android:layout_marginEnd="@dimen/contextual_search_peek_promo_padding" | |
| 21 android:background="@drawable/contextual_search_peek_promo_new_backgroun d" | |
| 22 android:text="@string/contextual_search_peek_promo_new" | |
| 23 android:textAllCaps="true" | |
| 24 android:textColor="@color/light_active_color" | |
| 25 /> | |
| 26 <!-- TODO(pedrosimonetti): Find a better layout for handling multiline text --> | |
| 27 <TextView | |
| 28 android:id="@+id/contextual_search_peek_promo_text" | |
| 29 android:layout_width="wrap_content" | |
| 30 android:layout_height="wrap_content" | |
| 31 android:text="@string/contextual_search_peek_promo_text" | |
| 32 android:textColor="#FFF" | |
| 33 /> | |
| 34 </LinearLayout> | |
| OLD | NEW |