set the Login values dynamically

parent 0a0f9fb7
...@@ -57,7 +57,7 @@ public class LoginScreen extends Activity { ...@@ -57,7 +57,7 @@ public class LoginScreen extends Activity {
mApplication = (CatalogueApplication) getApplication(); mApplication = (CatalogueApplication) getApplication();
PrefManager prefManager = PrefManager.getInstance(); PrefManager prefManager = PrefManager.getInstance();
prefManager.init(LoginScreen.this); prefManager.init(LoginScreen.this);
//CheckLoginValues(); CheckLoginValues();
mPasswordEditText.setOnKeyListener(new View.OnKeyListener() { mPasswordEditText.setOnKeyListener(new View.OnKeyListener() {
public boolean onKey(View v, int keyCode, KeyEvent event) { public boolean onKey(View v, int keyCode, KeyEvent event) {
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
android:background="@drawable/username_under_bg_box" android:background="@drawable/username_under_bg_box"
android:drawableLeft="@mipmap/ic_user_icon" android:drawableLeft="@mipmap/ic_user_icon"
android:hint="@string/username_string" android:hint="@string/username_string"
android:text="a0kuma18"
android:lines="1" android:lines="1"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
android:singleLine="true" /> android:singleLine="true" />
...@@ -45,7 +44,6 @@ ...@@ -45,7 +44,6 @@
android:background="@drawable/username_under_bg_box" android:background="@drawable/username_under_bg_box"
android:drawableLeft="@mipmap/ic_password_icon" android:drawableLeft="@mipmap/ic_password_icon"
android:hint="@string/password_string" android:hint="@string/password_string"
android:text="v$0ftA$win"
android:inputType="textPassword" android:inputType="textPassword"
android:lines="1" android:lines="1"
android:padding="@dimen/normal_margin" android:padding="@dimen/normal_margin"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment