[android-developers] Drag and Drop View

2016-07-29 Thread Bhavin vasundhara
I have 2 dimensions list. The first is a category list and inside each 
category there is an item list.
I want to use drag and drop for moving an item up and down in the list.
The problem is that one object is textview and another is Expandable List 
view, so when I long press on the textview then it is moving on x-axis also 
instead only on y-axis as for up and down.
How can I disable the x-axis?

check my attachment

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3d1e24e2-6e37-4530-9892-b18ce5891431%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Scrolling Issue

2016-07-29 Thread Bhavin vasundhara
I use drag and drop in a list. When the list is too long, I want that when 
I drag an item into the 10% of the top screen area, it will scroll up and 
same way when I drag an item into the 10% of the bottom screen area, it 
will scroll down.
How do I define those 10% top and bottom of the screen to intriger the 
scrolling of the screen?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8cacadc5-1089-494e-8aba-302c6785ef3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to disable the x axis in the code you use to move floating objects.

2016-07-28 Thread Bhavin vasundhara
how to disable the x axis in the code you use to move floating objects so 
objects move only y-axis?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/89ea93d0-3f6c-4580-b909-8b3361c4b360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to make 10% of the top of a screen, sensetive. That when entering with a slide into this area it will scroll up. When i drag the Textview to another view

2016-07-28 Thread Bhavin vasundhara
How to make 10% of the top of a screen, sensetive. That when entering with 
a slide into this area it will scroll up. When i drag the Textview to 
another view

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6ae19c1c-ecab-49ef-921b-9a22ed046290%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.