{"id":13673453,"url":"https://github.com/zahid-ali-shah/SignatureView","last_synced_at":"2025-04-28T09:30:37.303Z","repository":{"id":53124808,"uuid":"42808159","full_name":"zahid-ali-shah/SignatureView","owner":"zahid-ali-shah","description":"SignatureView is an open source Android library which allow developers to produce pen and paper like effect for creating signatures on Android","archived":false,"fork":false,"pushed_at":"2021-04-05T18:43:31.000Z","size":581,"stargazers_count":243,"open_issues_count":4,"forks_count":69,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-11T12:42:23.880Z","etag":null,"topics":["android","bitmap","creating-signatures","paper","signatureview","signatureview-demo"],"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/zahid-ali-shah.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-20T09:54:28.000Z","updated_at":"2024-10-01T10:08:04.000Z","dependencies_parsed_at":"2022-08-28T01:50:14.488Z","dependency_job_id":null,"html_url":"https://github.com/zahid-ali-shah/SignatureView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahid-ali-shah%2FSignatureView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahid-ali-shah%2FSignatureView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahid-ali-shah%2FSignatureView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zahid-ali-shah%2FSignatureView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zahid-ali-shah","download_url":"https://codeload.github.com/zahid-ali-shah/SignatureView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251284867,"owners_count":21564684,"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","bitmap","creating-signatures","paper","signatureview","signatureview-demo"],"created_at":"2024-08-02T10:00:45.970Z","updated_at":"2025-04-28T09:30:35.931Z","avatar_url":"https://github.com/zahid-ali-shah.png","language":"Java","funding_links":[],"categories":["Lib Android"],"sub_categories":[],"readme":"## This project is no longer maintained.\n### It works fine, but you have to do bug fixes (if any) for yourself\n\n# 1. Overview\n\nSignatureView is an open source Android library which allow developers to produce pen and paper like effect for creating signatures on Android. \n\n#### 1.1 Play Store Demo App\n\nClick below link to download demo app from Play store\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.kyanogen.signature\"\u003e\n  \u003cimg alt=\"Android app on Google Play\"\n       src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\n**SignatureView Demo App image**\n\n![SignatureView Demo App image](./screenshot.png \"SignatureView\")\n\n#### 1.2 Features\n\n1. Smooth signatures\n2. Auto handling of stroke thickness on the basis of velocity\n3. Get signature as bitmap\n4. Change stroke color and background color\n5. Enable/Disable signature on canvas\n\nSee example code (SignatureView-Example) from repository for details.\n\n## 2 Getting Started Using the Library\n\n#### 2.1 Setup\n\nAdd the following to your `build.gradle`:\n      \n      repositories {\n            jcenter()\n      }\n      \n      dependencies {\n          compile 'com.kyanogen.signatureview:signature-view:1.2'\n      }\n\n#### 2.2 How to use view in xml layout\n\n        \u003ccom.kyanogen.signatureview.SignatureView\n                xmlns:sign=\"http://schemas.android.com/apk/res-auto\"\n                android:id=\"@+id/signature_view\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\n                sign:penSize=\"5dp\"\n                sign:backgroundColor=\"#ffffff\"\n                sign:penColor=\"#000000\"\n                sign:enableSignature=\"true\"/\u003e\n\n* First add Android XML **namespace**: xmlns:sign=\"http://schemas.android.com/apk/res-auto\"\n* **sign:penSize** = set pen stroke size; default value is 3dp\n* **sign:backgroundColor** = set background color; default value is #FFFFFF\n* **sign:penColor** = set pen stroke color; default value is #4169e1\n* **sign:enableSignature** = enable/disable drawing signature on view\n\n\n#### 2.3 Other functions\n\n        SignatureView signatureView = (SignatureView) findViewById(R.id.signature_view);\n        .\n        .\n        .\n\n**Clear screen**\n\n        signatureView.clearCanvas();\n        \n**Is Bitmap Empty**\n        \n        signatureView.isBitmapEmpty()\n\n**Get SignatureView as bitmap**\n\n        Bitmap bitmap = signatureView.getSignatureBitmap();\n\n# 3. Changelog\n\n[Click here](CHANGELOG.md) for the changelog\n\n# 4. Developed by\nDeveloped by \u003ca href=\"https://www.linkedin.com/in/zahidsha/\" target=\"_blank\"\u003eSyed Zahid\u003c/a\u003e. You can follow me on\n\u003ca href=\"https://twitter.com/XahidSha\" target=\"_blank\"\u003eTwitter\u003c/a\u003e\n\n\n# 5. License\n\nCopyright 2015-2018\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzahid-ali-shah%2FSignatureView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzahid-ali-shah%2FSignatureView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzahid-ali-shah%2FSignatureView/lists"}