joevj
Newbie
Hi everyone,
I am rather new to Android and I have limited exposure to Java. I have done some sample programs.
I have three sets of widgets. Each set is with a TextView & a EditText. Now I am populating it using Linear Layout (using xml) and I will see in the following order..
Text1
<Text Box 1>
Text2
<Text Box 2>
Text3
<Text Box 3>
Now I have to allow the user to reorder this and I would like to provide the drag option. So if I drag down on the first set, then the Text1 and the <Text Box 1> will be draged together to the secod or third position.
Can someone guide me on the possible approaches. I tried to look at the "Gesters" and I dont know if that the best one.
If I am not clear in the explanation, please let me know.
Thanks.
Joe
I am rather new to Android and I have limited exposure to Java. I have done some sample programs.
I have three sets of widgets. Each set is with a TextView & a EditText. Now I am populating it using Linear Layout (using xml) and I will see in the following order..
Text1
<Text Box 1>
Text2
<Text Box 2>
Text3
<Text Box 3>
Now I have to allow the user to reorder this and I would like to provide the drag option. So if I drag down on the first set, then the Text1 and the <Text Box 1> will be draged together to the secod or third position.
Can someone guide me on the possible approaches. I tried to look at the "Gesters" and I dont know if that the best one.
If I am not clear in the explanation, please let me know.
Thanks.
Joe