{"id":13707975,"url":"https://github.com/miguelhincapie/CustomBottomSheetBehavior","last_synced_at":"2025-05-06T07:31:23.791Z","repository":{"id":49568814,"uuid":"59624544","full_name":"miguelhincapie/CustomBottomSheetBehavior","owner":"miguelhincapie","description":"Custom BottomSheetBehavior for Android that mimic Google Maps behavior","archived":false,"fork":false,"pushed_at":"2024-08-20T05:53:33.000Z","size":8264,"stargazers_count":915,"open_issues_count":36,"forks_count":184,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-11-13T17:45:22.970Z","etag":null,"topics":["android","bottomsheetbehavior","google-maps","parallax-image","stackoverflow"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miguelhincapie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-25T02:30:51.000Z","updated_at":"2024-09-19T10:09:05.000Z","dependencies_parsed_at":"2022-09-11T03:32:51.567Z","dependency_job_id":null,"html_url":"https://github.com/miguelhincapie/CustomBottomSheetBehavior","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelhincapie%2FCustomBottomSheetBehavior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelhincapie%2FCustomBottomSheetBehavior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelhincapie%2FCustomBottomSheetBehavior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguelhincapie%2FCustomBottomSheetBehavior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguelhincapie","download_url":"https://codeload.github.com/miguelhincapie/CustomBottomSheetBehavior/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252639987,"owners_count":21780853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","bottomsheetbehavior","google-maps","parallax-image","stackoverflow"],"created_at":"2024-08-02T22:01:51.490Z","updated_at":"2025-05-06T07:31:20.913Z","avatar_url":"https://github.com/miguelhincapie.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# CustomBottomSheetBehavior like Google Maps for Android [ ![Download](https://api.bintray.com/packages/mahc/maven/CustomBottomSheetBehavior/images/download.svg) ](https://bintray.com/mahc/maven/CustomBottomSheetBehavior/_latestVersion)\nAndroid Studio Project using Support Library focused on get Google Maps 3 states behavior including background image parallax and toolbars animations.\n\n## Installation\nIn your module/project build.gradle file add\u003cbr\u003e\n```\ndependencies {\n   ...\n   implementation 'com.mahc.custombottomsheetbehavior:googlemaps-like:0.9.1'\n}\n```\n\n## Usage\n[![CustomBottomSheetBehavior](https://raw.githubusercontent.com/akan44/CustomBottomSheetBehavior/master/CustomBottomSheetBehaviorLikeGoogleMaps3states.gif)]\u003cbr\u003e\u003cbr\u003e\n\n[Wiki under construction](https://github.com/miguelhincapie/CustomBottomSheetBehavior/wiki) but still with some info already, until I complete it you can take a look at the example (app module).\u003cbr\u003e\u003cbr\u003e\n\n### Check the following files\n* [activity_main.xml](https://github.com/miguelhincapie/CustomBottomSheetBehavior/blob/master/app/src/main/res/layout/activity_main.xml) (is like a template)\n* [activity_main.java](https://github.com/miguelhincapie/CustomBottomSheetBehavior/blob/master/app/src/main/java/com/mahc/custombottomsheet/MainActivity.java) (you can see how to listen for states)\n* [styles.xml](https://github.com/miguelhincapie/CustomBottomSheetBehavior/blob/master/app/src/main/res/values/styles.xml) (just the line \u003cstyle name=\"AppTheme.NoActionBar\"\u003e)\n* [AndroidManifest.xml](https://github.com/miguelhincapie/CustomBottomSheetBehavior/blob/master/app/src/main/AndroidManifest.xml) (just the line android:theme=\"@style/AppTheme.NoActionBar\")\n\n## What I did?\n1. I took the code from BottomSheetBehavior.java from Support Library 23.4.0 and added one state for anchor mode, so now you have:\u003cbr\u003e\nSTATE_HIDDEN\u003cbr\u003e\nSTATE_COLLAPSED\u003cbr\u003e\nSTATE_DRAGGING\u003cbr\u003e\nSTATE_ANCHOR_POINT\u003cbr\u003e\nSTATE_EXPANDED.\u003cbr\u003e\u003cbr\u003e\n\n2. Created Behaviors for FAB, ToolBars and ImageView.\n\n\n## Motivation\nSpend more than 3 days looking snipet of code or stackoverflow answers about it with no luck.\n\n## Current state\nTrying to help/close issues.\n\n## Contributing\nDo you want to help?\nWanna improve it?\nGo ahead! you can start in issues page\u003cbr\u003e\n\n## Question about it in StackOverflow\n\nIf you like this project give me a vote up at:\u003cbr\u003e [Sliding up image with Official Support Library 23.x.+ bottomSheet like google maps](http://stackoverflow.com/q/37335366/1332549).\u003cbr\u003e\nRelated questions:\u003cbr\u003e\n[Android Support BottomSheetBehavior additional anchored state](http://stackoverflow.com/questions/36963798/android-support-bottomsheetbehavior-additional-anchored-state)\u003cbr\u003e\n[How to mimic Google Maps' bottom-sheet 3 phases behavior?](http://stackoverflow.com/questions/34160423/how-to-mimic-google-maps-bottom-sheet-3-phases-behavior/34176633?noredirect=1#comment56361295_34176633)\u003cbr\u003e\n[Sliding BottomSheet like google map](http://stackoverflow.com/questions/34310530/sliding-bottomsheet-like-google-map)\u003cbr\u003e\n[How to create bottom sheet effect which cover full activity when user scrolls up](http://stackoverflow.com/questions/35900862/how-to-create-bottom-sheet-effect-which-cover-full-activity-when-user-scrolls-up)\u003cbr\u003e\n[How to make custom CoordinatorLayout.Behavior with parallax scrolling effect for google MapView?](http://stackoverflow.com/questions/33945085/how-to-make-custom-coordinatorlayout-behavior-with-parallax-scrolling-effect-for)\u003cbr\u003e\n[How to handle issues of the new bottom sheet of the support/design library?](http://stackoverflow.com/questions/35971546/how-to-handle-issues-of-the-new-bottom-sheet-of-the-support-design-library)\u003cbr\u003e\n[Open an activity or fragment with Bottom Sheet Deep Linking](http://stackoverflow.com/questions/34243928/open-an-activity-or-fragment-with-bottom-sheet-deep-linking)\u003cbr\u003e\n[BottomSheetDialogFragment - How to set expanded height (or min top offset)](http://stackoverflow.com/questions/36030879/bottomsheetdialogfragment-how-to-set-expanded-height-or-min-top-offset)\n\n## Credits\n* [Paul-Marie Tetedoie](https://github.com/akaN44)\n* [Vit Hradecky](https://github.com/vit001)\n\n## License\nLicensed under the Apache License, Version 2.0\n\u003cbr\u003e\u003cbr\u003e\nThe 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.\n\n\n\u003ca href=\"http://stackoverflow.com/users/1332549/miguelhincapiec\"\u003e\n\u003cimg src=\"http://stackoverflow.com/users/flair/1332549.png\" width=\"208\" height=\"58\" alt=\"profile for MiguelHincapieC at Stack Overflow, Q\u0026amp;A for professional and enthusiast programmers\" title=\"profile for MiguelHincapieC at Stack Overflow, Q\u0026amp;A for professional and enthusiast programmers\"\u003e\n\u003c/a\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\u003ca class=\"LI-simple-link\" href=\"https://www.linkedin.com/in/miguelhincapie\"\u003e\n\u003cimg width=\"208\" height=\"58\" src=\"https://content.linkedin.com/content/dam/me/business/en-us/amp/brand-site/v2/bg/LI-Logo.svg.original.svg\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelhincapie%2FCustomBottomSheetBehavior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguelhincapie%2FCustomBottomSheetBehavior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguelhincapie%2FCustomBottomSheetBehavior/lists"}