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
  • !909

Add ability to blur content underneath the panel.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/kevinmmarlow/master into master Apr 13, 2018
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: kevinmmarlow

  • This PR adds the ability to blur the content under the panel. It does this by blurring the entire mMainView and then clipping out a rect for every child layout and drawing the resulting bitmap directly to the canvas.
  • It caches the blurred background in order to minimize blur passes (ideally only the first time).
  • To use, simply use setBlurOverlay or set umanoBlurOverlay to true.
  • NOTE: You must set your panel background to transparent or semi-transparent for this to work. Personally, I like the combination of a semi-transparent white with the blur. It gives a nice frosted-glass look.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/kevinmmarlow/master