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. -->
7 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:minHeight="@dimen/enhanced_bookmark_minimum_dialog_size_tablet"
12 android:orientation="vertical" >
15 android:layout_width="match_parent"
16 android:layout_height="@dimen/toolbar_height_no_shadow"
17 android:background="@color/default_primary_color" >
20 android:id="@+id/back"
21 style="@style/EnhancedBookmarkTitleBarButton"
22 android:contentDescription="@string/accessibility_toolbar_btn_back"
23 android:src="@drawable/eb_back_normal" />
26 android:id="@+id/dialog_title"
27 android:layout_width="0dp"
28 android:layout_height="match_parent"
29 android:layout_weight="1"
30 android:gravity="center_vertical"
31 android:singleLine="true"
32 android:textColor="#343434"
33 android:textSize="20sp" />
36 android:id="@+id/save"
37 style="@style/EnhancedBookmarkTitleBarButton"
38 android:contentDescription="@string/save"
39 android:src="@drawable/eb_check_gray" />
41 <org.chromium.chrome.browser.widget.TintedImageButton
42 android:id="@+id/delete"
43 style="@style/EnhancedBookmarkTitleBarButton"
44 android:contentDescription="@string/delete"
45 android:src="@drawable/btn_trash"
46 chrome:tint="@color/dark_mode_tint" />
50 android:layout_width="match_parent"
51 android:layout_height="4dp"
52 android:layout_marginBottom="-4dp"
53 android:background="@drawable/eb_title_bar_shadow" />
56 android:layout_width="match_parent"
57 android:layout_height="match_parent" >
60 android:layout_width="match_parent"
61 android:layout_height="wrap_content"
62 android:orientation="vertical"
63 android:clipToPadding="false" >
65 <org.chromium.chrome.browser.widget.EmptyAlertEditText
66 android:id="@+id/folder_title"
67 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
69 android:layout_marginEnd="12dp"
70 android:layout_marginStart="12dp"
71 android:layout_marginTop="24dp"
72 android:hint="@string/title"
73 android:imeOptions="flagNoExtractUi"
74 android:inputType="textCapSentences|textAutoCorrect"
75 android:textSize="24sp"
76 chrome:alertMessage="@string/bookmark_missing_title" />
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:layout_marginBottom="4dp"
82 android:layout_marginEnd="16dp"
83 android:layout_marginStart="16dp"
84 android:layout_marginTop="24dp"
85 android:text="@string/enhanced_bookmark_parent_folder"
86 android:textColor="@color/enhanced_bookmark_detail_section"
87 android:textSize="14sp"
88 android:textStyle="bold" />
91 android:id="@+id/parent_folder"
92 android:layout_width="match_parent"
93 android:layout_height="wrap_content"
94 android:layout_marginStart="16dp"
95 android:layout_marginTop="8dp"
96 android:layout_marginBottom="32dp"
97 android:textColor="@color/dark_mode_tint"
98 android:textSize="16sp" />