Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / android / java / res / layout / website_settings_editable.xml
blob5eae128fb3738a44d0a9529d818b566ba3512cee
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3    Copyright 2013 The Chromium Authors. All rights reserved.
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:layout_width="match_parent"
10     android:layout_height="match_parent"
11     android:background="#ffffff"
12     android:orientation="vertical" >
14     <LinearLayout
15         android:layout_width="match_parent"
16         android:layout_height="wrap_content"
17         android:orientation="vertical"
18         android:paddingEnd="@dimen/website_settings_popup_padding_sides"
19         android:paddingStart="@dimen/website_settings_popup_padding_sides" >
21         <view class="org.chromium.chrome.browser.WebsiteSettingsPopup$ElidedUrlTextView"
22             android:id="@+id/website_settings_url"
23             android:layout_width="match_parent"
24             android:layout_height="wrap_content"
25             android:ellipsize="end"
26             android:lineSpacingExtra="4dp"
27             android:paddingTop="16dp"
28             android:textColor="@color/url_emphasis_default_text"
29             android:textSize="16sp"/>
31         <TextView
32             android:id="@+id/website_settings_connection_message"
33             android:layout_width="match_parent"
34             android:layout_height="wrap_content"
35             android:lineSpacingExtra="3dp"
36             android:paddingTop="12dp"
37             android:textColor="@color/website_settings_popup_text"
38             android:textSize="14sp" />
40         <Button
41             android:id="@+id/website_settings_copy_url_button"
42             android:layout_gravity="end"
43             android:layout_width="wrap_content"
44             android:layout_height="@dimen/website_settings_popup_button_height"
45             android:layout_marginEnd="@dimen/website_settings_popup_button_margin_sides"
46             android:layout_marginStart="@dimen/website_settings_popup_button_margin_sides"
47             android:layout_marginBottom="8dp"
48             android:layout_marginTop="24dp"
49             android:paddingEnd="@dimen/website_settings_popup_button_padding_sides"
50             android:paddingStart="@dimen/website_settings_popup_button_padding_sides"
51             android:text="@string/page_info_copy_url_button"
52             android:textColor="@color/light_active_color"
53             style="@style/ButtonCompatBorderless" />
54     </LinearLayout>
56     <!-- Horizontal separator -->
57     <View
58         android:id="@+id/website_settings_horizontal_separator"
59         android:layout_width="match_parent"
60         android:layout_height="1dip"
61         android:background="#e7e7e7" />
63     <LinearLayout
64         android:id="@+id/website_settings_lower_dialog_area"
65         android:layout_width="match_parent"
66         android:layout_height="wrap_content"
67         android:orientation="vertical"
68         android:paddingStart="@dimen/website_settings_popup_padding_sides"
69         android:paddingEnd="@dimen/website_settings_popup_padding_sides" >
71         <LinearLayout
72             android:id="@+id/website_settings_permissions_list"
73             android:layout_width="match_parent"
74             android:layout_height="wrap_content"
75             android:orientation="vertical" >
76         </LinearLayout>
78         <FrameLayout
79             android:layout_width="match_parent"
80             android:layout_height="wrap_content"
81             android:gravity="end"
82             android:paddingTop="16dp"
83             android:paddingBottom="16dp" >
85             <Button
86                 android:id="@+id/website_settings_site_settings_button"
87                 android:layout_width="wrap_content"
88                 android:layout_height="@dimen/website_settings_popup_button_height"
89                 android:layout_marginEnd="@dimen/website_settings_popup_button_margin_sides"
90                 android:layout_marginStart="@dimen/website_settings_popup_button_margin_sides"
91                 android:paddingEnd="@dimen/website_settings_popup_button_padding_sides"
92                 android:paddingStart="@dimen/website_settings_popup_button_padding_sides"
93                 android:text="@string/page_info_site_settings_button"
94                 android:textColor="@color/website_settings_popup_button_text"
95                 style="@style/ButtonCompatBorderless" />
96         </FrameLayout>
97     </LinearLayout>
99 </LinearLayout>