Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: chrome/android/java_staging/res/layout/add_bookmark.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java_staging/res/layout/add_bookmark.xml
diff --git a/chrome/android/java_staging/res/layout/add_bookmark.xml b/chrome/android/java_staging/res/layout/add_bookmark.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6d0157d48bf6d8975439aaea16319ca0b8953118
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/add_bookmark.xml
@@ -0,0 +1,77 @@
+<?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. -->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fillViewport="true" >
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:focusableInTouchMode="true" >
+ <TextView
+ android:id="@+id/bookmark_action_title"
+ android:text="@string/add_bookmark"
+ style="@style/AlertDialogTitle" />
+ <View
+ android:id="@+id/title_divider"
+ style="@style/AlertDialogTitleDivider" />
+ <LinearLayout
+ android:id="@+id/bookmark_fields"
+ android:orientation="vertical"
+ style="@style/AlertDialogContent">
+ <TextView
+ android:id="@+id/bookmark_title_label"
+ android:text="@string/bookmark_name"
+ style="@style/BoldTextFieldLabel" />
+ <EditText
+ android:id="@+id/bookmark_title_input"
+ android:inputType="textCapWords"
+ android:ellipsize="end"
+ android:contentDescription="@string/accessibility_bookmark_title_textbox"
+ style="@style/AlertDialogEditTextItem" />
+ <TextView
+ android:id="@+id/bookmark_url_label"
+ android:text="@string/bookmark_url"
+ style="@style/BoldTextFieldLabel" />
+ <EditText
+ android:id="@+id/bookmark_url_input"
+ android:inputType="textUri"
+ android:ellipsize="end"
+ android:contentDescription="@string/accessibility_bookmark_url_textbox"
+ style="@style/AlertDialogEditTextItem" />
+ <TextView
+ android:id="@+id/bookmark_folder_label"
+ android:text="@string/bookmark_folder"
+ style="@style/BoldTextFieldLabel" />
+ <Button
+ android:id="@+id/bookmark_folder_select"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="?android:attr/dropDownSpinnerStyle"
+ android:text="@string/loading_bookmark" />
+ </LinearLayout>
+ <View style="@style/ButtonBarTopSpacer" />
+ <View style="@style/ButtonBarTopDivider" />
+ <LinearLayout style="@style/ButtonBar" >
+ <Button
+ android:id="@+id/cancel"
+ android:text="@string/cancel"
+ style="@style/ButtonBarButton"
+ android:background="?android:attr/selectableItemBackground" />
+ <Button
+ android:id="@+id/remove"
+ android:text="@string/remove"
+ style="@style/ButtonBarButton"
+ android:background="?android:attr/selectableItemBackground" />
+ <Button
+ android:id="@+id/ok"
+ android:text="@string/save"
+ style="@style/ButtonBarButton"
+ android:background="?android:attr/selectableItemBackground" />
+ </LinearLayout>
+ </LinearLayout>
+</ScrollView>

Powered by Google App Engine
This is Rietveld 408576698