federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.7k stars 1.11k forks source link

Improve gesture via swipe actions #241

Open ghost opened 8 years ago

ghost commented 8 years ago

Currently we have two options for gesture: Swipe notes & Swipe to trash but the problem is if you want archived one note and trash other note you have need to go Settings activate the behavior that you want. So why not make available both actions in the same time, it's possible take a look at the email or messaging apps like AquaMail or Textra.

Swipe to the left for delete (with trash icon & "red ON" color background) and swipe to the right for archived (with archive icon & "blue ON" color background) will be really more friendly user and a great improvement! With this behavior Swipe to trash option will become useless and you could removed it.

I've found this library: AndroidSwipeLayout, maybe that's would be useful for implement this feature.

ghost commented 8 years ago

I've found another library which seems interesting: SwipeOpenItemTouchHelper.

What do you think about it @federicoiosue?