Modified:
/books/res/layout/authentication.xml
/books/src/org/geometerplus/android/fbreader/network/AuthenticationActivity.java
=======================================
--- /books/res/layout/authentication.xml Thu Sep 8 02:30:34 2011
+++ /books/res/layout/authentication.xml Tue Sep 13 03:20:16 2011
@@ -34,6 +34,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"
+ android:text="cng1985"
/>
<TextView
android:id="@+id/authentication_password_label"
@@ -48,6 +49,7 @@
android:layout_height="wrap_content"
android:singleLine="true"
android:password="true"
+ android:text="123456789123"
/>
<TextView
android:id="@+id/network_authentication_error"
=======================================
---
/books/src/org/geometerplus/android/fbreader/network/AuthenticationActivity.java
Thu Sep 8 01:57:02 2011
+++
/books/src/org/geometerplus/android/fbreader/network/AuthenticationActivity.java
Tue Sep 13 03:20:16 2011
@@ -80,7 +80,10 @@
);
final TextView usernameView =
findTextView(Res.id.authentication_username);
- usernameView.setText(username);
+ if(null!=username&&username.length()>1){
+ usernameView.setText(username);
+ }
+
final TextView errorView = findTextView(Res.id.authentication_error);
if (error != null && !"".equals(error)) {