mirror of https://github.com/nextcloud/android
removing filedrag for now
This commit is contained in:
parent
684ae90ca7
commit
50695f6f5b
|
@ -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" />
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue