{"id":22533051,"url":"https://github.com/kishan2612/material-backdrop-android","last_synced_at":"2025-06-19T03:39:26.489Z","repository":{"id":138131127,"uuid":"142267925","full_name":"kishan2612/Material-Backdrop-Android","owner":"kishan2612","description":"Material Backdrop ","archived":false,"fork":false,"pushed_at":"2020-08-13T12:40:37.000Z","size":314,"stargazers_count":106,"open_issues_count":1,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-02T20:25:15.560Z","etag":null,"topics":["android","android-architecture","android-development","android-library","android-ui","backdrop","layout","material-components","material-design","material-design-2","material-ui","navigation-bar","navigation-drawer","navigation-menus","navigationview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kishan2612.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-07-25T08:03:34.000Z","updated_at":"2024-08-05T01:37:29.000Z","dependencies_parsed_at":"2023-06-09T00:45:28.304Z","dependency_job_id":null,"html_url":"https://github.com/kishan2612/Material-Backdrop-Android","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kishan2612/Material-Backdrop-Android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kishan2612%2FMaterial-Backdrop-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kishan2612%2FMaterial-Backdrop-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kishan2612%2FMaterial-Backdrop-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kishan2612%2FMaterial-Backdrop-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kishan2612","download_url":"https://codeload.github.com/kishan2612/Material-Backdrop-Android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kishan2612%2FMaterial-Backdrop-Android/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260682519,"owners_count":23046060,"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","android-architecture","android-development","android-library","android-ui","backdrop","layout","material-components","material-design","material-design-2","material-ui","navigation-bar","navigation-drawer","navigation-menus","navigationview"],"created_at":"2024-12-07T09:06:31.292Z","updated_at":"2025-06-19T03:39:21.470Z","avatar_url":"https://github.com/kishan2612.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material-Backdrop-Android\n\n### This library is created based on Backdrop component from material design.[Backdrop](https://material.io/design/components/backdrop.html)\n\n![alt text](https://github.com/kishan2612/Material-DropView-Android/blob/master/images/backdrop1.png)\n![alt text](https://github.com/kishan2612/Material-DropView-Android/blob/master/images/backdrop2.png)\n\n### Usage\n\n1. Include repository\n```\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n2. Include project as local library\n```\ndependencies {\n\t        implementation 'com.github.kishan2612:Material-Backdrop-Android:v1.1.0'\n\t}\n```\n3. Include the widget in your layout\n\n```\n\n \u003ccom.evolve.backdroplibrary.BackdropContainer\n       android:layout_width=\"match_parent\"\n       android:layout_height=\"match_parent\"\n       android:id=\"@+id/backdropcontainer\"\n       app:menuIcon=\"@drawable/ic_menu_24px\"\n       app:closeIcon=\"@drawable/ic_close_24px\"\n       app:duration=\"500\"\u003e\n\n       \u003cinclude layout=\"@layout/backlayer\"/\u003e\n       \u003cinclude layout=\"@layout/frontlayer\"/\u003e\n\n\n   \u003c/com.evolve.backdroplibrary.BackdropContainer\u003e\n```\n### The container must contain only two child or it may throw an Exception.\nThe developer can customize the backlayer and frontlayer of their choice. Use public methods to show and hide the backlayer.\n\n4. In onCreate method \n```\n \n backdropContainer =(BackdropContainer)findViewById(R.id.backdropcontainer);\n\n        backdropContainer.attachToolbar(toolbar)\n                .dropInterpolator(new LinearInterpolator())\n                .dropHeight(height)\n                .build();\n```\n\n### Customization\n\n app:menuIcon=\"@drawable/ic_menu_24px\" - You can use your own icon or app logo\n \n app:closeIcon=\"@drawable/ic_close_24px\" - You can use your own icon or app logo\n \n app:duration=\"500\" - default duration is 1000ms if duration is not specified\n \n dropInterpolator(new LinearInterpolator()) - You can use own interpolator\n \n dropHeight(height) - The height is sneek height of front layer.(Dp)\n eg :\n ```\n int height= this.getResources().getDimensionPixelSize(R.dimen.sneek_height);\n ```\n### Public Methods\n```\nbackdropContainer.showBackview();\nbackdropContainer.closeBackview();\n```\n### Compatabiliy\n\nApi 16+\n\n## ChangeLog\n\n#### V1.1 :\n      crash fixed.\n      \n# License\n\n```\nMIT License\n\nCopyright (c) 2018 kishan V\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkishan2612%2Fmaterial-backdrop-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkishan2612%2Fmaterial-backdrop-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkishan2612%2Fmaterial-backdrop-android/lists"}