blob: 06b13a2a7549d915c0347fe8639f632839a76263 [file]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" >
<ScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="@dimen/toolbar_height_no_shadow"
android:clipToPadding="false" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:orientation="vertical" >
<org.chromium.chrome.browser.widget.CompatibilityTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="22dp" >
<org.chromium.chrome.browser.widget.EmptyAlertEditText
android:id="@+id/title_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/bookmark_name"
android:imeOptions="flagNoExtractUi"
android:inputType="textCapSentences|textAutoCorrect"
android:singleLine="true"
app:alertMessage="@string/bookmark_missing_title" />
</org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="18dp"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:text="@string/bookmark_folder"
android:textAppearance="@style/TextAppearance.BlackCaption" />
<TextView
android:id="@+id/folder_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="14dp"
android:layout_marginStart="3dp"
android:layout_marginEnd="3dp"
android:textAppearance="@style/TextAppearance.BookmarkEditFolderName" />
<org.chromium.chrome.browser.widget.CompatibilityTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp" >
<org.chromium.chrome.browser.widget.EmptyAlertEditText
android:id="@+id/url_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/bookmark_url"
android:imeOptions="flagNoExtractUi"
android:inputType="textUri"
android:singleLine="true"
app:alertMessage="@string/bookmark_missing_url" />
</org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
</LinearLayout>
</ScrollView>
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height_no_shadow"
style="@style/ModernToolbar" />
<View
android:id="@+id/shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/selectable_list_toolbar_shadow_height"
android:layout_marginTop="@dimen/toolbar_height_no_shadow"
android:background="@drawable/bookmark_title_bar_shadow"
android:visibility="gone" />
</merge>