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

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

Issue 1379183003: [ContextualSearch] Adds long press promo for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing David's comments and tweaking policy Created 5 years, 2 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
(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">
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698