OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- | |
3 Copyright 2015 The Chromium Authors. All rights reserved. | |
4 Use of this source code is governed by a BSD-style license that can be | |
5 found in the LICENSE file. | |
6 --> | |
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | |
9 android:layout_width="match_parent" | |
10 android:layout_height="match_parent" | |
11 android:orientation="vertical" > | |
12 | |
13 <android.support.v7.widget.Toolbar | |
14 android:id="@+id/toolbar" | |
15 android:layout_width="match_parent" | |
16 android:layout_height="?attr/actionBarSize" | |
17 android:background="?attr/colorPrimary" /> | |
18 | |
19 <View | |
20 android:layout_width="match_parent" | |
21 android:layout_height="4dp" | |
22 android:layout_marginBottom="-4dp" | |
23 android:background="@drawable/eb_title_bar_shadow" /> | |
24 | |
25 <ScrollView | |
26 android:layout_width="match_parent" | |
27 android:layout_height="match_parent" > | |
28 | |
29 <LinearLayout | |
30 android:layout_width="match_parent" | |
31 android:layout_height="wrap_content" | |
32 android:layout_marginEnd="16dp" | |
33 android:layout_marginStart="16dp" | |
34 android:orientation="vertical" > | |
35 | |
36 <org.chromium.chrome.browser.widget.FloatLabelLayout | |
37 android:layout_width="match_parent" | |
38 android:layout_height="wrap_content" | |
39 android:layout_marginTop="22dp" > | |
40 <org.chromium.chrome.browser.widget.EmptyAlertEditText | |
41 android:id="@+id/title_text" | |
42 android:layout_width="match_parent" | |
43 android:layout_height="wrap_content" | |
44 android:hint="@string/bookmark_name" | |
45 android:imeOptions="flagNoExtractUi" | |
46 android:inputType="textCapSentences|textAutoCorrect" | |
47 android:singleLine="true" | |
48 chrome:alertMessage="@string/bookmark_missing_title" /> | |
49 </org.chromium.chrome.browser.widget.FloatLabelLayout> | |
50 | |
51 <TextView | |
52 android:layout_width="wrap_content" | |
53 android:layout_height="wrap_content" | |
54 android:layout_marginTop="18dp" | |
55 android:layout_marginStart="3dp" | |
56 android:layout_marginEnd="3dp" | |
57 android:text="@string/bookmark_folder" | |
58 android:textAppearance="@style/TextAppearance.AppCompat.Small" | |
59 android:textSize="12sp" /> | |
60 | |
61 <TextView | |
62 android:id="@+id/folder_text" | |
63 android:layout_width="match_parent" | |
64 android:layout_height="wrap_content" | |
65 android:layout_marginTop="14dp" | |
66 android:layout_marginStart="3dp" | |
67 android:layout_marginEnd="3dp" | |
68 android:textAppearance="@style/TextAppearance.AppCompat.Medium" | |
69 android:textColor="@color/dark_mode_tint" /> | |
70 | |
71 <org.chromium.chrome.browser.widget.FloatLabelLayout | |
72 android:layout_width="match_parent" | |
73 android:layout_height="wrap_content" | |
74 android:layout_marginTop="24dp" > | |
75 | |
76 <org.chromium.chrome.browser.widget.EmptyAlertEditText | |
77 android:id="@+id/url_text" | |
78 android:layout_width="match_parent" | |
79 android:layout_height="wrap_content" | |
80 android:hint="@string/bookmark_url" | |
81 android:imeOptions="flagNoExtractUi" | |
82 android:inputType="textUri" | |
83 android:singleLine="true" | |
84 chrome:alertMessage="@string/bookmark_missing_url" /> | |
85 </org.chromium.chrome.browser.widget.FloatLabelLayout> | |
86 | |
87 <LinearLayout | |
88 android:id="@+id/offline_page_group" | |
89 android:layout_width="match_parent" | |
90 android:layout_height="wrap_content" | |
91 android:orientation="horizontal" | |
92 android:layout_marginTop="28dp" | |
93 android:visibility="gone" > | |
94 | |
95 <TextView | |
96 android:id="@+id/offline_page_info_text" | |
97 android:layout_width="0dp" | |
98 android:layout_height="wrap_content" | |
99 android:layout_weight="1" | |
100 android:layout_gravity="center_vertical" | |
101 android:layout_marginStart="3dp" | |
102 android:text="@string/bookmark_offline_page_none" | |
103 android:textAlignment="viewStart" | |
104 android:textAppearance="@style/TextAppearance.AppCompat.Medi
um" | |
105 android:textColor="@color/dark_mode_tint" | |
106 android:textSize="15sp" /> | |
107 | |
108 <Button | |
109 android:id="@+id/offline_page_save_remove_button" | |
110 style="@style/ButtonCompatBorderless" | |
111 android:layout_width="wrap_content" | |
112 android:layout_height="wrap_content" | |
113 android:layout_gravity="center_vertical" | |
114 android:textAllCaps="true" | |
115 android:textColor="@color/light_active_color" | |
116 android:textSize="15sp" /> | |
117 | |
118 </LinearLayout> | |
119 </LinearLayout> | |
120 </ScrollView> | |
121 </LinearLayout> | |
OLD | NEW |