| Index: chrome/android/java/res/layout/contextual_search_peek_promo_text_view.xml
|
| diff --git a/chrome/android/java/res/layout/contextual_search_peek_promo_text_view.xml b/chrome/android/java/res/layout/contextual_search_peek_promo_text_view.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a1fa7b2e3fdf3015120933c384ceef7812e025dc
|
| --- /dev/null
|
| +++ b/chrome/android/java/res/layout/contextual_search_peek_promo_text_view.xml
|
| @@ -0,0 +1,35 @@
|
| +<?xml version="1.0" encoding="utf-8"?>
|
| +<!--
|
| + Copyright 2015 The Chromium Authors. All rights reserved.
|
| +
|
| + Use of this source code is governed by a BSD-style license that can be
|
| + found in the LICENSE file.
|
| +-->
|
| +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| + android:id="@+id/contextual_search_peek_promo_text_view"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:orientation="horizontal"
|
| + android:paddingStart="@dimen/contextual_search_peek_promo_padding"
|
| + android:paddingEnd="@dimen/contextual_search_peek_promo_padding">
|
| + <TextView
|
| + android:id="@+id/contextual_search_peek_promo_new"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_marginEnd="@dimen/contextual_search_peek_promo_padding"
|
| + android:background="@drawable/contextual_search_peek_promo_new_background"
|
| + android:text="@string/contextual_search_peek_promo_new"
|
| + android:textAllCaps="true"
|
| + android:textColor="@color/light_active_color"
|
| + android:textSize="14sp"
|
| + />
|
| + <!-- TODO(pedrosimonetti): Find a better layout for handling multiline text -->
|
| + <TextView
|
| + android:id="@+id/contextual_search_peek_promo_text"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:text="@string/contextual_search_peek_promo_text"
|
| + android:textColor="#FFF"
|
| + android:textSize="14sp"
|
| + />
|
| +</LinearLayout>
|
|
|