You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the same layouts for row and main activity as they are on the main page, except I changed the list width to 200dp.
When I do this and start dragging the view, the star (drag handler) shows up on the wrong place. Instead of showing where the it is shown in the list it shows up in the middle of the screen.
I used the same layouts for row and main activity as they are on the main page, except I changed the list width to 200dp.
When I do this and start dragging the view, the star (drag handler) shows up on the wrong place. Instead of showing where the it is shown in the list it shows up in the middle of the screen.
Here is the layout file:
Here is the row layout:
And here is the main activity code:
package com.example.ddexample;
import java.util.ArrayList;
import java.util.Hashtable;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import com.terlici.dragndroplist.DragNDropListView;
import com.terlici.dragndroplist.DragNDropSimpleAdapter;
public class MainActivity extends Activity
{
}
The text was updated successfully, but these errors were encountered: