Index: chrome/android/java/res/layout/contextual_search_peek_promo.xml |
diff --git a/chrome/android/java/res/layout/contextual_search_peek_promo.xml b/chrome/android/java/res/layout/contextual_search_peek_promo.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9b81543539fcadab1e2e18a9ef5ff0d0e9c18361 |
--- /dev/null |
+++ b/chrome/android/java/res/layout/contextual_search_peek_promo.xml |
@@ -0,0 +1,34 @@ |
+<?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" |
+ android:layout_width="match_parent" |
+ android:layout_height="@dimen/contextual_search_peek_promo_height" |
+ android:orientation="horizontal" |
+ android:paddingStart="@dimen/contextual_search_peek_promo_padding" |
+ android:paddingEnd="@dimen/contextual_search_peek_promo_padding" |
+ android:textSize="14sp"> |
+ <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" |
+ /> |
+ <!-- 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" |
+ /> |
+</LinearLayout> |