From 8c5af16b29d9b6d70d3d2da90fbbd0fe1a711985 Mon Sep 17 00:00:00 2001 From: Michael Imamura Date: Fri, 10 Sep 2010 12:51:58 +0800 Subject: [PATCH] Only enable the "Add" button when the alias input field is non-empty. --- res/layout/aliasadd.xml | 2 +- src/org/yaaic/activity/AddAliasActivity.java | 21 ++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/res/layout/aliasadd.xml b/res/layout/aliasadd.xml index 12958b0..b027435 100644 --- a/res/layout/aliasadd.xml +++ b/res/layout/aliasadd.xml @@ -22,12 +22,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" - android:text="" android:layout_weight="1" />