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" >
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content"
13 android:orientation="vertical"
14 android:focusableInTouchMode="true" >
16 android:id="@+id/bookmark_action_title"
17 android:text="@string/add_bookmark"
18 style="@style/AlertDialogTitle" />
20 android:id="@+id/title_divider"
21 style="@style/AlertDialogTitleDivider" />
23 android:id="@+id/bookmark_fields"
24 android:orientation="vertical"
25 style="@style/AlertDialogContent">
27 android:id="@+id/bookmark_title_label"
28 android:text="@string/bookmark_name"
29 style="@style/BoldTextFieldLabel" />
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" />
37 android:id="@+id/bookmark_url_label"
38 android:text="@string/bookmark_url"
39 style="@style/BoldTextFieldLabel" />
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" />
47 android:id="@+id/bookmark_folder_label"
48 android:text="@string/bookmark_folder"
49 style="@style/BoldTextFieldLabel" />
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" />
57 <Space style="@style/ButtonBarTopSpacer" />
58 <View style="@style/ButtonBarTopDivider" />
59 <LinearLayout style="@style/ButtonBar" >
61 android:id="@+id/cancel"
62 android:text="@string/cancel"
63 style="@style/ButtonBarButton"
64 android:background="?android:attr/selectableItemBackground" />
66 android:id="@+id/remove"
67 android:text="@string/remove"
68 style="@style/ButtonBarButton"
69 android:background="?android:attr/selectableItemBackground" />
72 android:text="@string/save"
73 style="@style/ButtonBarButton"
74 android:background="?android:attr/selectableItemBackground" />