From 83e92519b42bdd7a81dff9ae61378f408d94e3b5 Mon Sep 17 00:00:00 2001 From: Brian Pellin Date: Mon, 6 Jul 2009 20:41:05 -0500 Subject: [PATCH] Add edit text hints. --- res/layout/entry_edit.xml | 18 ++++++++++++------ res/layout/password.xml | 12 ++++-------- res/values/strings.xml | 10 ++++++++-- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/res/layout/entry_edit.xml b/res/layout/entry_edit.xml index 142420fc9..952b2fd65 100644 --- a/res/layout/entry_edit.xml +++ b/res/layout/entry_edit.xml @@ -52,7 +52,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" - android:layout_below="@id/entry_title_label"/> + android:layout_below="@id/entry_title_label" + android:hint="@string/hint_title"/> + android:layout_below="@id/entry_user_name_label" + android:hint="@string/hint_username"/> + android:layout_below="@id/entry_url_label" + android:hint="@string/hint_url"/> + android:layout_below="@id/entry_password_label" + android:hint="@string/hint_pass"/> + android:layout_below="@id/entry_confpassword_label" + android:hint="@string/hint_conf_pass"/> + android:layout_below="@id/entry_comment_label" + android:hint="@string/hint_comment"/> \ No newline at end of file diff --git a/res/layout/password.xml b/res/layout/password.xml index 4ff33158b..81af7322d 100644 --- a/res/layout/password.xml +++ b/res/layout/password.xml @@ -42,23 +42,19 @@ - - + android:singleLine="true" + android:hint="@string/entry_password"/> + android:singleLine="true" + android:hint="@string/entry_keyfile"/>