Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: chrome/android/java/res/layout/website_settings.xml

Issue 2467523002: [Offline pages] Removing the offline icon from OIB (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 2 <!--
3 Copyright 2013 The Chromium Authors. All rights reserved. 3 Copyright 2013 The Chromium Authors. All rights reserved.
4 4
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <LinearLayout 8 <LinearLayout
9 xmlns:android="http://schemas.android.com/apk/res/android" 9 xmlns:android="http://schemas.android.com/apk/res/android"
10 xmlns:chrome="http://schemas.android.com/apk/res-auto" 10 xmlns:chrome="http://schemas.android.com/apk/res-auto"
11 android:layout_width="match_parent" 11 android:layout_width="match_parent"
12 android:layout_height="match_parent" 12 android:layout_height="match_parent"
13 android:paddingBottom="8dp" 13 android:paddingBottom="8dp"
14 android:background="#ffffff" 14 android:background="#ffffff"
15 android:orientation="vertical" > 15 android:orientation="vertical" >
16 16
17 <LinearLayout 17 <LinearLayout
18 android:layout_width="match_parent" 18 android:layout_width="match_parent"
19 android:layout_height="wrap_content" 19 android:layout_height="wrap_content"
20 android:orientation="vertical" 20 android:orientation="vertical"
21 android:paddingBottom="12dp" 21 android:paddingBottom="12dp"
22 android:paddingEnd="@dimen/website_settings_popup_padding_sides" 22 android:paddingEnd="@dimen/website_settings_popup_padding_sides"
23 android:paddingStart="@dimen/website_settings_popup_padding_sides" > 23 android:paddingStart="@dimen/website_settings_popup_padding_sides" >
24 24
25 <LinearLayout 25 <view class="org.chromium.chrome.browser.pageinfo.WebsiteSettingsPopup$E lidedUrlTextView"
26 android:id="@+id/website_settings_url"
26 android:layout_width="match_parent" 27 android:layout_width="match_parent"
27 android:layout_height="wrap_content" 28 android:layout_height="wrap_content"
28 android:orientation="horizontal" 29 android:ellipsize="end"
29 android:paddingTop="16dp" > 30 android:lineSpacingExtra="6dp"
30 31 android:paddingTop="16dp"
31 <ImageView android:id="@+id/offline_icon" 32 android:textAlignment="viewStart"
32 style="@style/LocationBarButton" 33 android:textColor="@color/url_emphasis_default_text"
33 android:layout_width="wrap_content" 34 android:textSize="16sp"/>
34 android:layout_height="wrap_content"
35 android:layout_gravity="start|top"
36 android:paddingEnd="8dp"
37 android:src="@drawable/offline_pin"
38 android:visibility="gone"
39 android:contentDescription="@string/page_info_offline_icon" />
40
41 <view class="org.chromium.chrome.browser.pageinfo.WebsiteSettingsPop up$ElidedUrlTextView"
42 android:id="@+id/website_settings_url"
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:ellipsize="end"
46 android:lineSpacingExtra="6dp"
47 android:textAlignment="viewStart"
48 android:textColor="@color/url_emphasis_default_text"
49 android:textSize="16sp"/>
50
51 </LinearLayout>
52 35
53 <TextView 36 <TextView
54 android:id="@+id/website_settings_connection_message" 37 android:id="@+id/website_settings_connection_message"
55 android:layout_width="match_parent" 38 android:layout_width="match_parent"
56 android:layout_height="wrap_content" 39 android:layout_height="wrap_content"
57 android:lineSpacingExtra="3dp" 40 android:lineSpacingExtra="3dp"
58 android:paddingTop="8dp" 41 android:paddingTop="8dp"
59 android:textColor="@color/website_settings_popup_text" 42 android:textColor="@color/website_settings_popup_text"
60 android:textSize="14sp" /> 43 android:textSize="14sp" />
61 </LinearLayout> 44 </LinearLayout>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 android:layout_gravity="end" 76 android:layout_gravity="end"
94 android:layout_marginEnd="@dimen/website_settings_popup_padding_sides" 77 android:layout_marginEnd="@dimen/website_settings_popup_padding_sides"
95 android:layout_marginStart="@dimen/website_settings_popup_padding_sides" 78 android:layout_marginStart="@dimen/website_settings_popup_padding_sides"
96 android:layout_marginTop="8dp" 79 android:layout_marginTop="8dp"
97 android:paddingEnd="@dimen/website_settings_popup_button_padding_sides" 80 android:paddingEnd="@dimen/website_settings_popup_button_padding_sides"
98 android:paddingStart="@dimen/website_settings_popup_button_padding_sides " 81 android:paddingStart="@dimen/website_settings_popup_button_padding_sides "
99 android:text="@string/page_info_site_settings_button" 82 android:text="@string/page_info_site_settings_button"
100 android:textColor="@color/light_active_color" 83 android:textColor="@color/light_active_color"
101 style="@style/ButtonCompatBorderless" /> 84 style="@style/ButtonCompatBorderless" />
102 </LinearLayout> 85 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698