Permalink
Switch branches/tags
Nothing to show
Commits on Nov 14, 2013
Commits on Apr 13, 2013
  1. Improve content touch interception (Fixes GH-9)

    Instead of recursively enabling/disabling the content ViewGroup
    when the drawer closes/opens, just do a simple check in
    onInterceptTouchEvent to see if the touch needs to be
    intercepted on an ACTION_UP event.
    
    Also intercept ACTION_DOWN events when the drawer is in motion
    and the event originated within the content ViewGroup.
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Apr 13, 2013
Commits on Jan 12, 2013
  1. Reverse drawer direction if openDrawer/closeDrawer is called whilst m…

    …oving.
    
    Currently when openDrawer or closeDrawer is called whilst the drawer is moving,
    the calls are ignored. This patch reverses the direction of the drawer if
    openDrawer/closeDrawer is called whilst the drawer is moving.
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    laurencedawson committed with Jan 12, 2013
Commits on Dec 5, 2012
  1. Make default content background color transparent to protect against …

    …overdraw
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Dec 5, 2012
  2. Don't delay by 16ms if we ever want to animate at 60fps

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Dec 5, 2012
  3. Hide the drawer view when the drawer is closed

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Dec 5, 2012
Commits on Nov 16, 2012
  1. Lay out Decor content based on its current position.

    Possibly related to GH-4.
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Nov 16, 2012
  2. Target SDK level 17 (4.2)

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Nov 16, 2012
Commits on Nov 5, 2012
  1. Fix inconsistencies pre-Honeycomb

    I'm pretty sure this only affected those using ActionBarSherlock,
    but considering how I intend for Undergarment to complement
    an application using ActionBarSherlock I figured I'd fix it for
    that case. That said, if you aren't using ActionBarSherlock this
    probably breaks things that don't have a native Action Bar.
    
    TL;DR - Blame @JakeWharton
    
    Oh well.
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Nov 5, 2012
Commits on Oct 28, 2012
  1. Allow configurable drawer max width and touch target width. Fixes GH-2.

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Oct 28, 2012
  2. Make configurable the background color the content view gets set to. …

    …Fixes GH-6.
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Oct 28, 2012
Commits on Sep 20, 2012
  1. Add LICENSE file. Closes GH-1.

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Sep 20, 2012
Commits on Sep 5, 2012
  1. Respect the animate parameter when opening/closing the drawer.

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Sep 5, 2012
Commits on Aug 20, 2012
  1. (Re)set mDecorContent's background color/OnClickListener in the corre…

    …ct spots
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 20, 2012
Commits on Aug 19, 2012
  1. Add inline code spans where needed

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 19, 2012
  2. Add README.md

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 19, 2012
  3. Correct layout calculations for SLIDE_TARGET_CONTENT scenarios

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 19, 2012
  4. Correctly support targeting the content rather than the window to slide

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 19, 2012
Commits on Aug 18, 2012
  1. Make the window target the default and set mDecorContent to an initia…

    …l value
    
    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 18, 2012
  2. Fix manifest and set minSdkVersion to 7 (Eclair)

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 18, 2012
  3. Add DrawerGargment class

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 18, 2012
  4. Add Android code style settings

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 18, 2012
  5. Initial project layout

    Signed-off-by: Eddie Ringle <eddie@eringle.net>
    committed Aug 18, 2012