start fix on launch credentials
authordrizea <danielrizea27@gmail.com>
Fri, 17 Aug 2012 18:03:21 +0000 (21:03 +0300)
committerdrizea <danielrizea27@gmail.com>
Fri, 17 Aug 2012 18:03:21 +0000 (21:03 +0300)
Open-ILS/src/Android/res/layout-land/dashbord_account.xml
Open-ILS/src/Android/src/org/evergreen/android/globals/Utils.java

index 37015f9..7bf5d7a 100644 (file)
     <ScrollView
         android:layout_width="fill_parent"
         android:layout_height="fill_parent" 
+        android:layout_gravity="center"
         >
 
         <LinearLayout
             android:layout_width="fill_parent"
-            android:layout_height="fill_parent"
+            android:layout_height="wrap_content"
             android:gravity="center"
             android:orientation="vertical"
             
index 4fb0fc3..76e25ad 100644 (file)
@@ -182,12 +182,14 @@ public class Utils {
 
         boolean result = false;
         try {
+            
+            System.out.println("Check url " + url);
             HttpGet request = new HttpGet(url);
 
             HttpParams httpParameters = new BasicHttpParams();
 
             // timeout to 1 seconds
-            HttpConnectionParams.setConnectionTimeout(httpParameters, 1000);
+            HttpConnectionParams.setConnectionTimeout(httpParameters, 3000);
             HttpClient httpClient = new DefaultHttpClient(httpParameters);
             HttpResponse response = httpClient.execute(request);