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

Unified Diff: chrome/android/java/res/layout/password_entry_editor.xml

Issue 797903002: Upstream save passwords and search engine preferences. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed SearchEnginePreference.java Created 6 years 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeBaseListPreference.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/password_entry_editor.xml
diff --git a/chrome/android/java/res/layout/password_entry_editor.xml b/chrome/android/java/res/layout/password_entry_editor.xml
new file mode 100644
index 0000000000000000000000000000000000000000..bf79a3b5a763ca4158b3c2491f5e5689f623fac0
--- /dev/null
+++ b/chrome/android/java/res/layout/password_entry_editor.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 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:title="@string/password_entry_editor_title" >
+
+ <TextView
+ android:id="@+id/password_entry_editor_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="2dp"
+ android:gravity="center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/password_entry_editor_url"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="2dp"
+ android:gravity="center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <!-- Spacer to move the buttons to the bottom -->
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:minHeight="5dp" />
+
+ <!-- Top border for the buttons -->
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="?android:attr/dividerHorizontal" />
+
+ <!-- Save/Cancel/Delete buttons -->
+
+ <LinearLayout
+ style="?android:attr/buttonBarStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:divider="?android:attr/dividerVertical"
+ android:dividerPadding="0dp"
+ android:orientation="horizontal"
+ android:showDividers="middle" >
+
+ <Button
+ android:id="@+id/password_entry_editor_delete"
+ style="?android:attr/buttonBarButtonStyle"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:focusable="true"
+ android:text="@string/delete" />
+
+ <Button
+ android:id="@+id/password_entry_editor_cancel"
+ style="?android:attr/buttonBarButtonStyle"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:focusable="true"
+ android:text="@string/cancel" />
+ </LinearLayout>
+ </LinearLayout>
+
+</ScrollView>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/ChromeBaseListPreference.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698