Эх сурвалжийг харах

fix of filedisplay for phones

Bartek Przybylski 13 жил өмнө
parent
commit
198c31f9b0

+ 0 - 9
.classpath

@@ -3,15 +3,6 @@
 	<classpathentry kind="src" path="src"/>
 	<classpathentry kind="src" path="gen"/>
 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
-	<classpathentry exported="true" kind="lib" path="lib/commons-codec-1.4.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.1.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/commons-httpclient-3.0.1.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/commons-io-2.0.1.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/commons-httpclient-contrib-3.0.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/httpclient-4.1.2.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/httpcore-4.1.2.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/httpmime-4.1.2.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/httpclient-cache-4.1.2.jar"/>
 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
 	<classpathentry kind="output" path="bin/classes"/>
 </classpath>

BIN
lib/commons-httpclient-contrib-3.0.jar


BIN
lib/httpclient-4.1.1.jar


BIN
lib/httpclient-cache-4.1.1.jar


BIN
lib/httpcore-4.1.jar


BIN
lib/httpmime-4.1.1.jar


+ 0 - 0
lib/commons-codec-1.4.jar → libs/commons-codec-1.4.jar


+ 0 - 0
lib/commons-httpclient-3.0.1.jar → libs/commons-httpclient-3.0.1.jar


+ 0 - 0
lib/commons-io-2.0.1.jar → libs/commons-io-2.0.1.jar


+ 0 - 0
lib/commons-logging-1.1.1.jar → libs/commons-logging-1.1.1.jar


+ 0 - 0
lib/httpclient-4.1.2.jar → libs/httpclient-4.1.2.jar


+ 0 - 0
lib/httpclient-cache-4.1.2.jar → libs/httpclient-cache-4.1.2.jar


+ 0 - 0
lib/httpcore-4.1.2.jar → libs/httpcore-4.1.2.jar


+ 0 - 0
lib/httpmime-4.1.2.jar → libs/httpmime-4.1.2.jar


+ 0 - 0
lib/not-yet-commons-ssl-0.3.11.jar → libs/not-yet-commons-ssl-0.3.11.jar


+ 8 - 3
res/layout/files.xml

@@ -3,7 +3,12 @@
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:background="#F7F7F7"
-    android:orientation="vertical" 
-    android:id="@+id/file_list_container">
-
+        android:orientation="vertical" >
+       <fragment
+                android:id="@+id/fileList"
+                android:layout_width="fill_parent"
+                android:layout_height="fill_parent"
+                class="eu.alefzero.owncloud.ui.fragment.FileList" >
+                <!-- Preview: layout=@layout/list_layout -->
+            </fragment>
 </LinearLayout>

+ 2 - 0
src/eu/alefzero/owncloud/ui/fragment/FileList.java

@@ -26,6 +26,7 @@ import android.content.Intent;
 import android.database.Cursor;
 import android.net.Uri;
 import android.os.Bundle;
+import android.util.Log;
 import android.view.View;
 import android.widget.AdapterView;
 import android.widget.TextView;
@@ -100,6 +101,7 @@ public class FileList extends FragmentListView {
   }
 
   private void populateFileList() {
+    Log.d("ASD", mAccount.name + "");
     if (mParentsIds.empty()) {
       mCursor = getActivity().getContentResolver().query(ProviderTableMeta.CONTENT_URI,
         null,