Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AndroidSlidingUpPanel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 267
    • Issues 267
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Umano: News Read To You
  • AndroidSlidingUpPanel
  • Merge requests
  • !71

The hard anchor point no matter what.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Smurph82/lockslide into master Nov 13, 2013
  • Overview 5
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: Smurph82

To set the hard anchor point in the MainActivity the user must call "layout.setHardAnchorPoint(true)". This will override any anchor point set with "layout.setAnchorPoint()" The hard point is calculated on line 523 - 524

I have also added the ability to turn off the cover color that is drawn on top of the main panel when the sliding panel is expanded. This was something that I was asked to do so I left it in.

I also added back some of Android margin and padding calculations that were missing from SlidingPanelLayout.class

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Smurph82/lockslide