Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / add_bookmark.xml
blob36e93bbe05656418cfaa5f4755beed71d73ad49c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3      Use of this source code is governed by a BSD-style license that can be
4      found in the LICENSE file. -->
6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
7     android:layout_width="match_parent"
8     android:layout_height="match_parent"
9     android:fillViewport="true" >
10     <LinearLayout
11         android:layout_width="match_parent"
12         android:layout_height="wrap_content"
13         android:orientation="vertical"
14         android:focusableInTouchMode="true" >
15         <TextView
16             android:id="@+id/bookmark_action_title"
17             android:text="@string/add_bookmark"
18             style="@style/AlertDialogTitle" />
19         <View
20             android:id="@+id/title_divider"
21             style="@style/AlertDialogTitleDivider" />
22         <LinearLayout
23             android:id="@+id/bookmark_fields"
24             android:orientation="vertical"
25             style="@style/AlertDialogContent">
26             <TextView
27                 android:id="@+id/bookmark_title_label"
28                 android:text="@string/bookmark_name"
29                 style="@style/BoldTextFieldLabel" />
30             <EditText
31                 android:id="@+id/bookmark_title_input"
32                 android:inputType="textCapWords"
33                 android:ellipsize="end"
34                 android:contentDescription="@string/accessibility_bookmark_title_textbox"
35                 style="@style/AlertDialogEditTextItem" />
36             <TextView
37                 android:id="@+id/bookmark_url_label"
38                 android:text="@string/bookmark_url"
39                 style="@style/BoldTextFieldLabel" />
40             <EditText
41                 android:id="@+id/bookmark_url_input"
42                 android:inputType="textUri"
43                 android:ellipsize="end"
44                 android:contentDescription="@string/accessibility_bookmark_url_textbox"
45                 style="@style/AlertDialogEditTextItem" />
46             <TextView
47                 android:id="@+id/bookmark_folder_label"
48                 android:text="@string/bookmark_folder"
49                 style="@style/BoldTextFieldLabel" />
50             <Button
51                 android:id="@+id/bookmark_folder_select"
52                 android:layout_width="match_parent"
53                 android:layout_height="wrap_content"
54                 style="?android:attr/dropDownSpinnerStyle"
55                 android:text="@string/loading_bookmark" />
56         </LinearLayout>
57         <Space style="@style/ButtonBarTopSpacer" />
58         <View style="@style/ButtonBarTopDivider" />
59         <LinearLayout style="@style/ButtonBar" >
60             <Button
61                 android:id="@+id/cancel"
62                 android:text="@string/cancel"
63                 style="@style/ButtonBarButton"
64                 android:background="?android:attr/selectableItemBackground" />
65             <Button
66                 android:id="@+id/remove"
67                 android:text="@string/remove"
68                 style="@style/ButtonBarButton"
69                 android:background="?android:attr/selectableItemBackground" />
70             <Button
71                 android:id="@+id/ok"
72                 android:text="@string/save"
73                 style="@style/ButtonBarButton"
74                 android:background="?android:attr/selectableItemBackground" />
75         </LinearLayout>
76     </LinearLayout>
77 </ScrollView>