OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- | |
3 Copyright 2013 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 | |
9 xmlns:android="http://schemas.android.com/apk/res/android" | |
10 xmlns:chrome="http://schemas.android.com/apk/res-auto" | |
11 android:layout_width="match_parent" | |
12 android:layout_height="match_parent" | |
13 android:paddingBottom="8dp" | |
14 android:background="#ffffff" | |
15 android:orientation="vertical" > | |
16 | |
17 <LinearLayout | |
18 android:layout_width="match_parent" | |
19 android:layout_height="wrap_content" | |
20 android:orientation="vertical" | |
21 android:paddingBottom="12dp" | |
22 android:paddingEnd="@dimen/website_settings_popup_padding_sides" | |
23 android:paddingStart="@dimen/website_settings_popup_padding_sides" > | |
24 | |
25 <view class="org.chromium.chrome.browser.page_info.WebsiteSettingsPopup$
ElidedUrlTextView" | |
26 android:id="@+id/website_settings_url" | |
27 android:layout_width="match_parent" | |
28 android:layout_height="wrap_content" | |
29 android:ellipsize="end" | |
30 android:lineSpacingExtra="6dp" | |
31 android:paddingTop="16dp" | |
32 android:textAlignment="viewStart" | |
33 android:textColor="@color/url_emphasis_default_text" | |
34 android:textSize="16sp"/> | |
35 | |
36 <TextView | |
37 android:id="@+id/website_settings_connection_summary" | |
38 android:layout_width="match_parent" | |
39 android:layout_height="wrap_content" | |
40 android:lineSpacingExtra="3dp" | |
41 android:paddingTop="16dp" | |
42 android:textColor="@color/website_settings_popup_text" | |
43 android:textSize="16sp" | |
44 android:visibility="gone" /> | |
45 | |
46 <TextView | |
47 android:id="@+id/website_settings_connection_message" | |
48 android:layout_width="match_parent" | |
49 android:layout_height="wrap_content" | |
50 android:lineSpacingExtra="3dp" | |
51 android:paddingTop="8dp" | |
52 android:textColor="@color/website_settings_popup_text" | |
53 android:textSize="14sp" /> | |
54 </LinearLayout> | |
55 | |
56 <org.chromium.ui.widget.ButtonCompat | |
57 android:id="@+id/website_settings_instant_app_button" | |
58 android:layout_width="wrap_content" | |
59 android:layout_height="wrap_content" | |
60 android:layout_gravity="start" | |
61 android:layout_marginEnd="@dimen/website_settings_popup_padding_sides" | |
62 android:layout_marginStart="@dimen/website_settings_popup_padding_sides" | |
63 android:layout_marginTop="12dp" | |
64 android:layout_marginBottom="4dp" | |
65 android:paddingEnd="@dimen/website_settings_popup_button_padding_sides" | |
66 android:paddingStart="@dimen/website_settings_popup_button_padding_sides
" | |
67 android:text="@string/page_info_instant_app_button" | |
68 android:textSize="14sp" | |
69 android:textColor="@android:color/white" | |
70 chrome:buttonRaised="false" | |
71 chrome:buttonColor="@color/app_banner_install_button_bg" /> | |
72 | |
73 <LinearLayout | |
74 android:id="@+id/website_settings_permissions_list" | |
75 android:layout_width="match_parent" | |
76 android:layout_height="wrap_content" | |
77 android:orientation="vertical" | |
78 android:paddingStart="@dimen/website_settings_popup_padding_sides" | |
79 android:paddingEnd="@dimen/website_settings_popup_padding_sides" > | |
80 </LinearLayout> | |
81 | |
82 <Button | |
83 android:id="@+id/website_settings_site_settings_button" | |
84 android:layout_width="wrap_content" | |
85 android:layout_height="@dimen/website_settings_popup_button_height" | |
86 android:layout_gravity="end" | |
87 android:layout_marginEnd="@dimen/website_settings_popup_padding_sides" | |
88 android:layout_marginStart="@dimen/website_settings_popup_padding_sides" | |
89 android:layout_marginTop="8dp" | |
90 android:paddingEnd="@dimen/website_settings_popup_button_padding_sides" | |
91 android:paddingStart="@dimen/website_settings_popup_button_padding_sides
" | |
92 android:text="@string/page_info_site_settings_button" | |
93 android:textColor="@color/light_active_color" | |
94 style="@style/ButtonCompatBorderless" /> | |
95 | |
96 <Button | |
97 android:id="@+id/website_settings_open_online_button" | |
98 android:layout_width="wrap_content" | |
99 android:layout_height="@dimen/website_settings_popup_button_height" | |
100 android:layout_gravity="end" | |
101 android:layout_marginEnd="@dimen/website_settings_popup_padding_sides" | |
102 android:layout_marginStart="@dimen/website_settings_popup_padding_sides" | |
103 android:layout_marginTop="8dp" | |
104 android:paddingEnd="@dimen/website_settings_popup_button_padding_sides" | |
105 android:paddingStart="@dimen/website_settings_popup_button_padding_sides
" | |
106 android:text="@string/page_info_open_online_button" | |
107 android:textColor="@color/light_active_color" | |
108 style="@style/ButtonCompatBorderless" /> | |
109 </LinearLayout> | |
OLD | NEW |