{"id":18939462,"url":"https://github.com/markzhai/add-fitssystemwindows","last_synced_at":"2025-06-13T20:03:19.238Z","repository":{"id":35148611,"uuid":"39375122","full_name":"markzhai/add-fitsSystemWindows","owner":"markzhai","description":"add fitsSystemWindows to all layout files (use if to add Translucent Status Bar support easily)","archived":false,"fork":false,"pushed_at":"2015-07-20T11:11:09.000Z","size":136,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T22:21:44.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"andela/bestpractices","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markzhai.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":"2015-07-20T09:31:02.000Z","updated_at":"2023-06-04T07:04:12.000Z","dependencies_parsed_at":"2022-09-20T12:43:38.748Z","dependency_job_id":null,"html_url":"https://github.com/markzhai/add-fitsSystemWindows","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/markzhai%2Fadd-fitsSystemWindows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markzhai%2Fadd-fitsSystemWindows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markzhai%2Fadd-fitsSystemWindows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markzhai%2Fadd-fitsSystemWindows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markzhai","download_url":"https://codeload.github.com/markzhai/add-fitsSystemWindows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239938099,"owners_count":19721568,"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":[],"created_at":"2024-11-08T12:17:38.317Z","updated_at":"2025-02-21T01:21:34.664Z","avatar_url":"https://github.com/markzhai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Add fitsSystemWindows in one-step\n=================================\n\n[SystemBarTint](https://github.com/jgilfelt/SystemBarTint) is a magnificent project that can easily enable translucent mode of our apps.\n\nHowever, as my own experience on two old projects(started 3-4 years ago), add fitsSystemWindows is a hard-job, as we may have hundreds of thousands of layout files, some maybe useful, some are already outdated.\n\nAdd the attribute manually is meaningless and time-consuming, so I created this project to make this process automatically.\n\nUsage\n-----\n\nAdd fitsSystemWindows to all layout files, painlessly!\n\nhow to\n------\n\nJust put the python file at your android project's root directory, and run it.\nIt will ignore generated and hidden directories, so don't worry about that.\nTo re-format all layouts again, you can use the nice feature of android studio (reformat code on the whole layout folder).\n\ncustomization\n-------------\nAs my system is Chinese, I use GBK to decode directory, you may change it to your system's encoding.\n\ndirDecodeEncoding = \"gbk\";  #change this line\n\ncontribution\n-------------\nAny contribution is welcome.\n\n1. This script should be easily modified to support more android layout batch-edit mission.\n2. Nice format of output xml is wanted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkzhai%2Fadd-fitssystemwindows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkzhai%2Fadd-fitssystemwindows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkzhai%2Fadd-fitssystemwindows/lists"}