CustomBottomSheetBehavior like Google Maps for Android
Android Studio Project using Support Library focused on get Google Maps 3 states behavior including background image parallax and toolbars animations.
What I did?
I took the code from BottomSheetBehavior.java from Support Library 23.4.0 and added one state for anchor mode, so now you have:
Create Behaviors for FAB, ToolBars and ImageView.
Spend more than 3 days looking snipet of code or stackoverflow answers about it with no luck.
Help or improvements
Do you want to help? Wanna improve it? Go ahead!
Giving thx to @akaN44 and @vit001 for their contribution :D.
Working on get parallax image behavior and toolbar like google maps.
Question about it in StackOverflow
If you like this project give me a vote up at:
Sliding up image with Official Support Library 23.x.+ bottomSheet like google maps.
Android Support BottomSheetBehavior additional anchored state
How to mimic Google Maps' bottom-sheet 3 phases behavior?
Sliding BottomSheet like google map
How to create bottom sheet effect which cover full activity when user scrolls up
How to make custom CoordinatorLayout.Behavior with parallax scrolling effect for google MapView?
How to handle issues of the new bottom sheet of the support/design library?
Open an activity or fragment with Bottom Sheet Deep Linking
BottomSheetDialogFragment - How to set expanded height (or min top offset)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
The true is I don't care about license... JUST USE IT, improve it if you can and give me vote up in stack overflow :D.