From 59664341c802795d5f957b7be2b362336f74e938 Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Thu, 3 Sep 2015 15:38:41 +0800 Subject: [PATCH] added consumer key/secret validity check --- twidere/src/main/res/layout/dialog_set_consumer_key_secret.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twidere/src/main/res/layout/dialog_set_consumer_key_secret.xml b/twidere/src/main/res/layout/dialog_set_consumer_key_secret.xml index c6dba64e0..e71a58949 100644 --- a/twidere/src/main/res/layout/dialog_set_consumer_key_secret.xml +++ b/twidere/src/main/res/layout/dialog_set_consumer_key_secret.xml @@ -43,6 +43,7 @@ android:hint="@string/consumer_key" android:inputType="text|textVisiblePassword" android:singleLine="true" + app:met_autoValidate="true" app:met_baseColor="?android:textColorPrimary" app:met_floatingLabel="normal" app:met_floatingLabelText="@string/consumer_key" /> @@ -55,6 +56,7 @@ android:hint="@string/consumer_secret" android:inputType="text|textVisiblePassword" android:singleLine="true" + app:met_autoValidate="true" app:met_baseColor="?android:textColorPrimary" app:met_floatingLabel="normal" app:met_floatingLabelText="@string/consumer_secret" />