Skip to content

cshdllr/Mailbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailbox Swipe Prototype

codepath assignment 3

Hours spent: 12

Requirements

  • On dragging the message left

    • Initially, the revealed background color should be gray.
    • As the reschedule icon is revealed, it should start semi-transparent and become fully opaque. If released at this point, the message should return to its initial position.
    • After 60 pts, the later icon should start moving with the translation and the background should change to yellow.
    • After 260 pts, the icon should change to the list icon and the background color should change to brown.
  • User can tap to dismissing the reschedule or list options. After the reschedule or list options are dismissed, you should see the message finish the hide animation.

  • On dragging the message right...

    • Initially, the revealed background color should be gray.
    • As the archive icon is revealed, it should start semi-transparent and become fully opaque. If released at this point, the message should return to its initial position.
    • After 60 pts, the archive icon should start moving with the translation and the background should change to green.
    • After 260 pts, the icon should change to the delete icon and the background color should change to red.
  • Optional: Panning from the edge should reveal the menu

    • Optional: If the menu is being revealed when the user lifts their finger, it should continue revealing.
    • Optional: If the menu is being hidden when the user lifts their finger, it should continue hiding.

demo

About

codepath assignment 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages