{"id":20930508,"url":"https://github.com/liangjingkanji/statusbar","last_synced_at":"2025-04-07T19:17:04.534Z","repository":{"id":54310038,"uuid":"202922995","full_name":"liangjingkanji/StatusBar","owner":"liangjingkanji","description":"[开发必备] Android一行代码配置透明状态栏","archived":false,"fork":false,"pushed_at":"2023-08-14T10:57:22.000Z","size":1348,"stargazers_count":300,"open_issues_count":1,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T16:20:03.338Z","etag":null,"topics":["android","statusbar"],"latest_commit_sha":null,"homepage":"http://liangjingkanji.github.io/StatusBar/","language":"Kotlin","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/liangjingkanji.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-17T19:22:27.000Z","updated_at":"2025-03-23T08:23:05.000Z","dependencies_parsed_at":"2024-11-18T21:40:38.606Z","dependency_job_id":"a71f2bce-6f87-49c0-a1a2-8376478d9ee0","html_url":"https://github.com/liangjingkanji/StatusBar","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FStatusBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FStatusBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FStatusBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FStatusBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liangjingkanji","download_url":"https://codeload.github.com/liangjingkanji/StatusBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713258,"owners_count":20983683,"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","statusbar"],"created_at":"2024-11-18T21:34:38.189Z","updated_at":"2025-04-07T19:17:04.472Z","avatar_url":"https://github.com/liangjingkanji.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## StatusBar\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/liangjingkanji/StatusBar/master/docs/img/preview.jpeg\" width=\"400\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003e一行代码的透明状态栏\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"http://liangjingkanji.github.io/StatusBar/\"\u003e使用文档\u003c/a\u003e\n| \u003ca href=\"https://github.com/liangjingkanji/document/blob/master/visit-pages.md\"\u003e无法访问?\u003c/a\u003e\n| \u003ca href=\"https://github.com/liangjingkanji/StatusBar/releases/download/2.0.5/StatusBar.apk\"\u003e下载体验\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/liangjingkanji/StatusBar/master/docs/img/code-preview.png\" width=\"350\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://jitpack.io/#liangjingkanji/StatusBar\"\u003e\u003cimg src=\"https://jitpack.io/v/liangjingkanji/StatusBar.svg\"/\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/language-kotlin-orange.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/license-Apache-blue\"/\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/liangjingkanji/liangjingkanji/master/img/group.svg\"/\u003e\n\u003c/p\u003e\n\n### 特点\n\n- [x] 学习成本低\n- [x] 启用/关闭透明状态栏\n- [x] 状态栏背景/文字颜色\n- [x] 状态栏/导航栏高度\n- [x] 为View设置指定状态栏高度的Padding/Margin\n- [x] 支持Activity/Fragment/DrawerLayout\n\n\n\u003cbr\u003e\n\n## 安装\n\nProject 的 settings.gradle 添加仓库\n\n```kotlin\ndependencyResolutionManagement {\n    repositories {\n        // ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nModule 的 build.gradle 添加依赖框架\n\n```groovy\nimplementation 'com.github.liangjingkanji:StatusBar:2.0.5'\n```\n\n\u003cbr\u003e\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2023 劉強東 https://github.com/liangjingkanji\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%2Fliangjingkanji%2Fstatusbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliangjingkanji%2Fstatusbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliangjingkanji%2Fstatusbar/lists"}