1 <?xml version="1.0" encoding="utf-8"?>
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.
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" >
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"/>
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" />
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" />
56 <!-- Horizontal separator -->
58 android:id="@+id/website_settings_horizontal_separator"
59 android:layout_width="match_parent"
60 android:layout_height="1dip"
61 android:background="#e7e7e7" />
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" >
72 android:id="@+id/website_settings_permissions_list"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 android:orientation="vertical" >
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content"
82 android:paddingTop="16dp"
83 android:paddingBottom="16dp" >
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" />