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
  • Issues
  • #125
Closed
Open
Issue created Feb 28, 2014 by Administrator@rootContributor

Hard anchor point by percentage

Created by: sreejithraman

Unless I am missing something, currently the only way to set a hard anchor is by specifying dp. I think there should be a way to specify the anchor point point by percentage. Currently if I specify by dp, it will work fine in portrait mode, but if I rotate the phone the drawer will shoot past the screen height.

So, for example, if I want to only have to drawer come up 75% of the way, I can call some method and have the drawer stop at 75% of the screen height. This way even if the screen is rotated, the drawer will stop at 75% of the new screen height.

Assignee
Assign to
Time tracking