
How to implement drag and drop view with multiple page. Like thi image. Item can be drag and drop in same page and also another page. Source: Android..
How to implement drag and drop view with multiple page. Like thi image. Item can be drag and drop in same page and also another page. Source: Android..
I want to make a customisation screen which contains tiles. I want to try it on viewpager as the number of tiles can be more. There will be about 5 pages and each page will have 8 tiles which would look like a grid of dimensions 2×4. I want to implement drag and drop on ..
Currently I’m working with tablet Android development. I want to drag a view from fragment A to fragment B, but the dragshadow will move from the destination to original position for the first time. Is there anyway to control the visibility of drag shadow in runtime? Source: Android..
I’m trying that when I do drag and drop in my Recycler View, when the element reaches the bottom of the screen, it scrolls the parent’s NestedScrollView, but I can’t find any information about it, this is my XML: <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_behavior="@string/appbar_scrolling_view_behavior"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/container__top_bar" android:layout_width="@dimen/dp0" android:layout_height="@dimen/dp50" android:background="@color/colorPrimary" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <TextView ..
I have RecyclerView with items of two ViewTypes. I want only one type of items to be moveable by press. But elements of a different ViewType must be moved when moving elements of the first type. Here’s my code. I copied the code from Paul Burke’s tutorial. public class SimpleItemTouchHelperCallback extends ItemTouchHelper.Callback { private final ..
I want know how to perform a drag and drop on android based in X, Y coordinates? consider as one simple example, the android phone icon drag and drop (Virtual mouse is being implemented.) i’m now "GestureDescription StrokeDescription()" is being used. ( code : GestureDescription.StrokeDescription(path, 0, 1, true) ) I want to know how to ..
I am working with map fragment in Android studio. I have this map fragment at top-left corner of my activity screen. I want to drag and drop that fragment anywhere on the screen. I tried to set dragListener to that fragment but its not working. I also put that fragment into different layout and apply ..
I’m developing a Chrome OS app and I want to play a song when a song dragged and dropped onto a view in my app. I created a listener and I’m able to get the dragged file with its path. But the problem is; I can’t get the information about the dropped song. Here’s what ..
[enter image description here][1] All the circular icons on the top are made in inside a draggable. The green accent circle below those icons is a dragTarget. I want to drag and drop any of the icons inside that dragTarget. I can only put 1 draggable object inside that. I dont know how to do ..
I am developing a game in which users must match images by their initial letter (in Spanish), so that when they drag to a point (the cauldron) an image that begins with the correct letter (in this case the igloo, the Indian and the magnet) this image disappears.Example screen In other words, basically, an image ..
Recent Comments