0

Seems odd that I couldn't find any info for this:

There is a nice feature on Samsung Galaxy devices within the contacts app, which allows the user to slide a contact list item for quick calling and sending a quick SMS message, as shown here.

My questions are:

  1. Is there an easy way to do it? maybe a third party library?
  2. If not, how would you implement such a thing?
  3. Is it even allowed to add this feature to my app (patents problems)?
halfer
  • 19,824
  • 17
  • 99
  • 186
android developer
  • 114,585
  • 152
  • 739
  • 1,270
  • Perhaps, you could create a custom adapter. Within the getView() method of this adapter you could call setOnTouchListener method on the view. Then with some logic you should be able to accomplish something similar – chRyNaN Dec 18 '12 at 20:26
  • yes , but the question is what to do per view . of course it should be in an adapter since it's in a listView ... :) – android developer Dec 18 '12 at 21:46
  • [Check out this question.](http://stackoverflow.com/questions/7398184/twitter-for-android-like-swipe-to-side-quick-menu) The accepted answer has a link to a library that will help you accomplish what you need. – chRyNaN Dec 19 '12 at 01:16
  • that's very cool , but i think the one on the galaxy devices looks a little different , with a gradient that takes over the more you move the finger . – android developer Dec 19 '12 at 06:51
  • ok , i've tested this sample code (after converting it to use the new sdk) , and sadly it doesn't work well - it doesn't respond well to touch events and it isn't as smooth as on the contacts app . – android developer Dec 19 '12 at 20:46

0 Answers0