Browse Source

removing filedrag for now

Bartek Przybylski 13 years ago
parent
commit
50695f6f5b

+ 2 - 2
res/layout/list_layout.xml

@@ -37,8 +37,8 @@
 
         <ImageView
             android:id="@+id/imageView1"
-            android:layout_width="16dp"
-            android:layout_height="16dp"
+            android:layout_width="20dp"
+            android:layout_height="20dp"
             android:layout_gravity="center_vertical|center"
             android:layout_margin="4dp"
             android:src="@drawable/ic_menu_archive" />

+ 0 - 9
src/eu/alefzero/owncloud/ui/fragment/FileListFragment.java

@@ -137,15 +137,6 @@ public class FileListFragment extends FragmentListView {
         }
     }
 
-    @Override
-    public boolean onItemLongClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {
-        ClipData.Item item = new ClipData.Item("ASD");
-        ClipDescription cd = new ClipDescription("ASD", new String[] { ClipDescription.MIMETYPE_TEXT_PLAIN });
-        ClipData dragData = new ClipData(cd, item);
-        arg1.startDrag(dragData, new View.DragShadowBuilder(arg0.getChildAt(arg2)), null, 0);
-        return true;
-    }
-
     /**
      * Call this, when the user presses the up button
      */