An implementation of tap targets from the Material Design guidelines for feature discovery.
An implementation of tap targets from the Material Design guidelines for feature discovery.
TapTargetView
Min SDK: 14
TapTargetView is distributed using MavenCentral.
repositories {
mavenCentral()
}
dependencies {
implementation 'com.getkeepsafe.taptargetview:taptargetview:x.x.x'
}If you wish, you may also use TapTargetView with jitpack. For snapshots, please follow the instructions here.
…You may also choose to target your own custom Rect with TapTarget.forBounds(Rect, ...)
Additionally, each color can be specified via a @ColorRes or a @ColorInt. Functions that have the suffix Int take a @ColorInt.
Tip: When targeting a Toolbar item, be careful with Proguard and ensure you're keeping certain fields. See #180
You can easily create a sequence of tap targets with TapTargetSequence:
…A sequence is started via a call to start() on the TapTargetSequence instance
For more examples of usage, please look at the included sample app.
Thanks to @prscX, you may now use this library with React Native via the module here
Thanks to @hamdiwanis, you may now use this library with NativeScript via the plugin here
Thanks to @btripp, you may now use this library via a Xamarin Binding located here.
Copyright 2016 Keepsafe Software Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.No open issues yet, or sync has not completed.