{"id":13395985,"url":"https://github.com/sjwall/MaterialTapTargetPrompt","last_synced_at":"2025-03-13T22:31:26.496Z","repository":{"id":9125586,"uuid":"60469447","full_name":"sjwall/MaterialTapTargetPrompt","owner":"sjwall","description":"⛔️ DEPRECATED Material Design tap target for Android. https://sjwall.github.io/MaterialTapTargetPrompt/","archived":false,"fork":false,"pushed_at":"2023-04-12T06:06:58.000Z","size":3382,"stargazers_count":1520,"open_issues_count":6,"forks_count":211,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-10-29T17:50:48.695Z","etag":null,"topics":["android","deprecated","material","material-design","onboarding","tap-target"],"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/sjwall.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"sjwall"}},"created_at":"2016-06-05T16:24:53.000Z","updated_at":"2024-09-16T09:55:31.000Z","dependencies_parsed_at":"2023-02-16T15:30:59.951Z","dependency_job_id":"890ceeef-e44d-414e-b9b0-c26439394d25","html_url":"https://github.com/sjwall/MaterialTapTargetPrompt","commit_stats":null,"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2FMaterialTapTargetPrompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2FMaterialTapTargetPrompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2FMaterialTapTargetPrompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjwall%2FMaterialTapTargetPrompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjwall","download_url":"https://codeload.github.com/sjwall/MaterialTapTargetPrompt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493605,"owners_count":20299686,"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","deprecated","material","material-design","onboarding","tap-target"],"created_at":"2024-07-30T18:00:37.018Z","updated_at":"2025-03-13T22:31:25.895Z","avatar_url":"https://github.com/sjwall.png","language":"Java","readme":"# DEPRECATED\n\nAndroid is moving towards compose, for an alternative library in compose have a look at [intro-showcase-view](https://github.com/canopas/Intro-showcase-view).\n\nBug fix pull requests will be accepted for this library for the immediate future but there will be no active development or new features and it will eventually be archived.\n\nThank you to everyone who has contributed to the library over the years!\n\n\u003ch1 align=\"center\"\u003eMaterial Tap Target Prompt\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/assets/app_icon.svg\" alt=\"library-logo\" width=\"120px\" height=\"120px\"/\u003e\n    \u003cbr\u003e\n    \u003ci\u003eA Tap Target implementation in Android based on Material Design Onboarding guidelines. For more information on tap targets check out the \u003ca href=\"https://material.io/design/communication/onboarding.html#quickstart-model\"\u003eguidelines\u003c/a\u003e.\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://sjwall.github.io/MaterialTapTargetPrompt\"\u003e\u003cstrong\u003esjwall.github.io/MaterialTapTargetPrompt\u003c/strong\u003e\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://sjwall.github.io/MaterialTapTargetPrompt/#quick-start\"\u003eQuick start\u003c/a\u003e\n    ·\n    \u003ca href=\"https://sjwall.github.io/MaterialTapTargetPrompt/examples\"\u003eExamples\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/sjwall/MaterialTapTargetPrompt/tree/master/sample/src/main/java/uk/co/samuelwall/materialtaptargetprompt/sample\"\u003eSample app\u003c/a\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"http://unmaintained.tech/\"\u003e\n        \u003cimg alt=\"No Maintenance Intended\" src=\"http://unmaintained.tech/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://app.travis-ci.com/github/sjwall/MaterialTapTargetPrompt\"\u003e\n        \u003cimg alt=\"Build Status\" src=\"https://app.travis-ci.com/sjwall/MaterialTapTargetPrompt.svg?branch=master\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/sjwall/MaterialTapTargetPrompt\"\u003e\n        \u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/sjwall/MaterialTapTargetPrompt/branch/master/graph/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codeclimate.com/github/sjwall/MaterialTapTargetPrompt/maintainability\"\u003e\n        \u003cimg alt=\"Maintainability\" src=\"https://api.codeclimate.com/v1/badges/242b94ecd2d181b8298e/maintainability\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://repo1.maven.org/maven2/uk/co/samuelwall/material-tap-target-prompt/\"\u003e\n        \u003cimg alt=\"Download\" src=\"https://img.shields.io/maven-central/v/uk.co.samuelwall/material-tap-target-prompt\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://sjwall.github.io/MaterialTapTargetPrompt/javadoc\"\u003e\n        \u003cimg alt=\"JavaDoc\" src=\"https://img.shields.io/badge/JavaDoc-3.3.2-brightgreen.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/sjwall/MaterialTapTargetPrompt/blob/master/LICENSE\"\u003e\n        \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/sjwall/MaterialTapTargetPrompt\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://makeapullrequest.com\"\u003e\n        \u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"FAB Example\" src=\"docs/assets/example_FAB.png\"\u003e\n    \u003cimg alt=\"App Bar Example\" src=\"docs/assets/example_appbar.png\"\u003e\n    \u003cimg alt=\"Card Example\" src=\"docs/assets/example_card.png\"\u003e\n    \u003cimg alt=\"Centre Example\" src=\"docs/assets/example_centre.png\"\u003e\n\u003c/p\u003e\n\nThe sample app is available to download on the [Google Play Store][5]:\n\u003ca href='https://play.google.com/store/apps/details?id=uk.co.samuelwall.materialtaptargetprompt.sample\u0026utm_source=global_co\u0026utm_medium=prtnr\u0026utm_content=Mar2515\u0026utm_campaign=PartBadge\u0026pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'\u003e\u003cimg alt='Get it on Google Play' style='max-width:90px' src='docs/assets/play_store.png'/\u003e\u003c/a\u003e\n\n# Quick start\n\n## Gradle\n\nAdd the following to `build.gradle` using Maven Central:\n\n```groovy\ndependencies {\n    implementation 'uk.co.samuelwall:material-tap-target-prompt:3.3.2'\n}\n```\nSupports Android minSdkVersion 14\n\nVersion 2.15.0 works with Android Support Library\n\nAlso available from [GitHub packages](https://github.com/sjwall/MaterialTapTargetPrompt/packages/277676)\n\n## Usage\nBasic usage is shown below with more examples in the [sample app][2] and [documentation][3]:\n\n```java\nnew MaterialTapTargetPrompt.Builder(MainActivity.this)\n        .setTarget(R.id.fab)\n        .setPrimaryText(\"Send your first email\")\n        .setSecondaryText(\"Tap the envelope to start composing your first email\")\n        .setPromptStateChangeListener(new MaterialTapTargetPrompt.PromptStateChangeListener()\n        {\n            @Override\n            public void onPromptStateChanged(MaterialTapTargetPrompt prompt, int state)\n            {\n                if (state == MaterialTapTargetPrompt.STATE_FOCAL_PRESSED)\n                {\n                    // User has pressed the prompt target\n                }\n            }\n        })\n        .show();\n```\n\n### Note\n\nIf a target is not set or the target view could not be found or both the primary and secondary text are `null` then `builder.show` and `builder.create` will return `null`.\n\n# Other shapes\n\nThe default shape is a circle but any other shape can be rendered by extending the [PromptBackground][6] and [PromptFocal][7] classes.\nCustom shapes such as a rectangle can be set by calling `setPromptBackground` and/or `setPromptFocal`.\nDocumentation and examples are available [here][8].\n\n![Rectangle Example](docs/assets/example_rectangle.png)\n\n# License\n    Copyright (C) 2016-2021 Samuel Wall\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n[2]: https://github.com/sjwall/MaterialTapTargetPrompt/tree/master/sample/src/main/java/uk/co/samuelwall/materialtaptargetprompt/sample\n[3]: https://sjwall.github.io/MaterialTapTargetPrompt/examples\n[5]: https://play.google.com/store/apps/details?id=uk.co.samuelwall.materialtaptargetprompt.sample\u0026utm_source=global_co\u0026utm_medium=prtnr\u0026utm_content=Mar2515\u0026utm_campaign=PartBadge\u0026pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1\n[6]: https://github.com/sjwall/MaterialTapTargetPrompt/blob/master/library/src/main/java/uk/co/samuelwall/materialtaptargetprompt/extras/PromptBackground.java\n[7]: https://github.com/sjwall/MaterialTapTargetPrompt/blob/master/library/src/main/java/uk/co/samuelwall/materialtaptargetprompt/extras/PromptFocal.java\n[8]: https://sjwall.github.io/MaterialTapTargetPrompt/shapes\n","funding_links":["https://github.com/sponsors/sjwall"],"categories":["Index `(light-weight pages)`","Index"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjwall%2FMaterialTapTargetPrompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjwall%2FMaterialTapTargetPrompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjwall%2FMaterialTapTargetPrompt/lists"}