Index: chrome/android/java_staging/res/layout/eb_edit.xml |
diff --git a/chrome/android/java_staging/res/layout/eb_edit.xml b/chrome/android/java_staging/res/layout/eb_edit.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a05d45d574fce2c48e49fc956f03740a074f3bdd |
--- /dev/null |
+++ b/chrome/android/java_staging/res/layout/eb_edit.xml |
@@ -0,0 +1,91 @@ |
+<?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. |
+--> |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:chrome="http://schemas.android.com/apk/res-auto" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" |
+ android:orientation="vertical" > |
+ |
+ <android.support.v7.widget.Toolbar |
+ android:id="@+id/toolbar" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:background="?attr/colorPrimary" |
+ android:minHeight="?attr/actionBarSize" /> |
+ |
+ <View |
+ android:layout_width="match_parent" |
+ android:layout_height="4dp" |
+ android:layout_marginBottom="-4dp" |
+ android:background="@drawable/eb_title_bar_shadow" /> |
+ |
+ <ScrollView |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" > |
+ |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_marginEnd="16dp" |
+ android:layout_marginStart="16dp" |
+ android:layout_marginTop="8dp" |
+ android:layout_marginBottom="8dp" |
+ android:orientation="vertical" > |
+ |
+ <org.chromium.chrome.browser.widget.FloatLabelLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" > |
+ |
+ <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" |
+ chrome:alertMessage="@string/bookmark_missing_title" /> |
+ </org.chromium.chrome.browser.widget.FloatLabelLayout> |
+ |
+ <TextView |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:paddingEnd="3dp" |
+ android:paddingStart="3dp" |
+ android:paddingTop="8dp" |
+ android:text="@string/bookmark_folder" |
+ android:textAppearance="@style/TextAppearance.AppCompat.Small" /> |
+ |
+ <TextView |
+ android:id="@+id/folder_text" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:paddingBottom="8dp" |
+ android:paddingEnd="3dp" |
+ android:paddingStart="3dp" |
+ android:paddingTop="8dp" |
+ android:textAppearance="@style/TextAppearance.AppCompat.Medium" |
+ android:textColor="@color/dark_mode_tint" /> |
+ |
+ <org.chromium.chrome.browser.widget.FloatLabelLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" > |
+ |
+ <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" |
+ chrome:alertMessage="@string/bookmark_missing_url" /> |
+ </org.chromium.chrome.browser.widget.FloatLabelLayout> |
+ </LinearLayout> |
+ </ScrollView> |
+ |
+</LinearLayout> |