Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / android / java / res / layout / contextual_search_view.xml
blob339a4239d580a8d9e18edc5b7f4282df018ca44e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3      Use of this source code is governed by a BSD-style license that can be
4      found in the LICENSE file. -->
6 <!-- Contextual Search view. -->
7 <org.chromium.chrome.browser.compositor.bottombar.contextualsearch.ContextualSearchControl
8     xmlns:android="http://schemas.android.com/apk/res/android"
9     xmlns:chrome="http://schemas.android.com/apk/res-auto"
10     android:id="@+id/contextual_search_view"
11     android:layout_width="match_parent"
12     android:layout_height="wrap_content"
13     android:layout_gravity="bottom"
14     android:background="#FFF"
15     android:gravity="center"
16     android:orientation="horizontal"
17     android:paddingStart="40dp"
18     android:paddingEnd="40dp"
19     >
20     <!-- Search Bar Text -->
21     <TextView
22         android:id="@+id/surrounding_text_start"
23         android:layout_width="0dp"
24         android:layout_height="match_parent"
25         android:layout_marginStart="7dp"
26         android:ellipsize="none"
27         android:fadingEdge="horizontal"
28         android:fadingEdgeLength="30dp"
29         android:gravity="end"
30         android:layout_weight="1"
31         android:requiresFadingEdge="horizontal"
32         android:singleLine="true"
33         android:textColor="#CCC"
34         android:textSize="@dimen/contextual_search_text_size"
35         />
36     <TextView
37         android:id="@+id/main_text"
38         android:layout_width="wrap_content"
39         android:layout_height="match_parent"
40         android:layout_marginStart="5dp"
41         android:layout_marginEnd="5dp"
42         android:gravity="center_horizontal"
43         android:ellipsize="end"
44         android:singleLine="true"
45         android:textColor="#000"
46         android:textSize="@dimen/contextual_search_text_size"
47         />
48     <TextView
49         android:id="@+id/surrounding_text_end"
50         android:layout_width="0dp"
51         android:layout_height="match_parent"
52         android:layout_marginEnd="7dp"
53         android:ellipsize="none"
54         android:fadingEdge="horizontal"
55         android:fadingEdgeLength="30dp"
56         android:gravity="start"
57         android:layout_weight="1"
58         android:requiresFadingEdge="horizontal"
59         android:singleLine="true"
60         android:textColor="#CCC"
61         android:textSize="@dimen/contextual_search_text_size"
62         />
63 </org.chromium.chrome.browser.compositor.bottombar.contextualsearch.ContextualSearchControl>