{"id":21418577,"url":"https://github.com/dhiwise/pxtodpconverter","last_synced_at":"2025-07-14T05:31:21.279Z","repository":{"id":43733993,"uuid":"436566283","full_name":"DhiWise/PxToDpConverter","owner":"DhiWise","description":"PxToDp converter creates dimension files to make your UI responsive across all the devices. Simply Input the width and height of your app screen design, and have your responsive UI work on any phone and tablet within seconds.","archived":false,"fork":false,"pushed_at":"2022-11-07T08:19:16.000Z","size":647,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-24T06:09:53.147Z","etag":null,"topics":["android","dp","kotlin","kotlin-android","plugin","px","xml"],"latest_commit_sha":null,"homepage":"","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/DhiWise.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","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":"2021-12-09T10:01:46.000Z","updated_at":"2023-04-09T04:41:38.000Z","dependencies_parsed_at":"2022-08-22T12:40:54.437Z","dependency_job_id":null,"html_url":"https://github.com/DhiWise/PxToDpConverter","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/DhiWise%2FPxToDpConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2FPxToDpConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2FPxToDpConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DhiWise%2FPxToDpConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DhiWise","download_url":"https://codeload.github.com/DhiWise/PxToDpConverter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225952181,"owners_count":17550509,"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","dp","kotlin","kotlin-android","plugin","px","xml"],"created_at":"2024-11-22T19:22:30.064Z","updated_at":"2024-11-22T19:22:31.461Z","avatar_url":"https://github.com/DhiWise.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PxToDp Converter\nA more advanced alternative of SDP - a scalable size unit.\u003cbr\u003e\nPxToDp converter creates dimension files to make your UI responsive across all the devices. Simply Input the width and height of your app screen design, and have your responsive UI work on any phone and tablet within seconds.\n## How does it work?\nPxToDp converter's advanced algorithm auto generates the required responsive UI framework according to developers requirements.\n - Right click on Res folder then select PxToDp plugin\n\n![PxToDp Converter](screenshot/pxtodp.gif)\n\n - In the PxToDp converter, input your app frame design viewport width and height.\n   \n![PxToDp Converter](screenshot/img_pxtodp.png)\n\n - Taking your input, our Responsive PxToDp converter will create the dimes xml file.\n - The file will have required inputs for pxh (pixel horizontally) and pxv (pixel vertically).\n - All the mobile design dimes xml files will be generated in your code.\n\n\n## Example\n\n| Your regular design xml file \u003c/br\u003e(DP/SP/PX)                                                                                                                                                                                                                                                                                                            | Integration of pxh \u0026 pxv in your code\u003c/br\u003e(PxToDp converter)                                                                                                                                                                                                                                                                                                                       |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| \u003cTextView\u003c/br\u003eandroid:id=\"@+id/txtSkip\"\u003c/br\u003eandroid:layout_width=\"wrap_content\"\u003c/br\u003eandroid:layout_height=\"wrap_content\"\u003c/br\u003eandroid:layout_gravity=\"end\"\u003c/br\u003eandroid:layout_marginStart=\"32dp\"\u003c/br\u003eandroid:layout_marginTop=\"66dp\"\u003c/br\u003eandroid:layout_marginEnd=\"32dp\"\u003c/br\u003eandroid:alpha=\"0.4\"\u003c/br\u003eandroid:gravity=\"center\"\u003c/br\u003eandroid:text=\"Skip\" /\u003e | \u003cTextView\u003c/br\u003eandroid:id=\"@+id/txtSkip\"\u003c/br\u003eandroid:layout_width=\"wrap_content\"\u003c/br\u003eandroid:layout_height=\"wrap_content\"\u003c/br\u003eandroid:layout_gravity=\"end\"\u003c/br\u003eandroid:layout_marginStart=\"@dimen/_32pxh\"\u003c/br\u003eandroid:layout_marginTop=\"@dimen/_66pxv\"\u003c/br\u003eandroid:layout_marginEnd=\"@dimen/_32pxh\"\u003c/br\u003eandroid:alpha=\"0.4\"\u003c/br\u003eandroid:gravity=\"center\"\u003c/br\u003eandroid:text=\"Skip\" /\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhiwise%2Fpxtodpconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhiwise%2Fpxtodpconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhiwise%2Fpxtodpconverter/lists"}