Durable Storage: Refactor browser test and test the basic "deny" flow.
[chromium-blink-merge.git] / chrome / android / java / res / layout / website_settings.xml
blob4a7ecd30243195665c0417a5eed45408cc47bb9a
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:paddingBottom="8dp"
12     android:background="#ffffff"
13     android:orientation="vertical" >
15     <LinearLayout
16         android:layout_width="match_parent"
17         android:layout_height="wrap_content"
18         android:orientation="vertical"
19         android:paddingBottom="12dp"
20         android:paddingEnd="@dimen/website_settings_popup_padding_sides"
21         android:paddingStart="@dimen/website_settings_popup_padding_sides" >
23         <view class="org.chromium.chrome.browser.WebsiteSettingsPopup$ElidedUrlTextView"
24             android:id="@+id/website_settings_url"
25             android:layout_width="match_parent"
26             android:layout_height="wrap_content"
27             android:ellipsize="end"
28             android:lineSpacingExtra="6dp"
29             android:paddingTop="16dp"
30             android:textAlignment="viewStart"
31             android:textColor="@color/url_emphasis_default_text"
32             android:textSize="16sp"/>
34         <TextView
35             android:id="@+id/website_settings_connection_message"
36             android:layout_width="match_parent"
37             android:layout_height="wrap_content"
38             android:lineSpacingExtra="3dp"
39             android:paddingTop="8dp"
40             android:textColor="@color/website_settings_popup_text"
41             android:textSize="14sp" />
42     </LinearLayout>
44     <LinearLayout
45         android:id="@+id/website_settings_permissions_list"
46         android:layout_width="match_parent"
47         android:layout_height="wrap_content"
48         android:orientation="vertical"
49         android:paddingStart="@dimen/website_settings_popup_padding_sides"
50         android:paddingEnd="@dimen/website_settings_popup_padding_sides" >
51     </LinearLayout>
53     <Button
54         android:id="@+id/website_settings_site_settings_button"
55         android:layout_width="wrap_content"
56         android:layout_height="@dimen/website_settings_popup_button_height"
57         android:layout_gravity="end"
58         android:layout_marginEnd="@dimen/website_settings_popup_padding_sides"
59         android:layout_marginStart="@dimen/website_settings_popup_padding_sides"
60         android:layout_marginTop="8dp"
61         android:paddingEnd="@dimen/website_settings_popup_button_padding_sides"
62         android:paddingStart="@dimen/website_settings_popup_button_padding_sides"
63         android:text="@string/page_info_site_settings_button"
64         android:textColor="@color/light_active_color"
65         style="@style/ButtonCompatBorderless" />
66 </LinearLayout>