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> |