All Projects → sjwall → Materialtaptargetprompt

sjwall / Materialtaptargetprompt

Licence: apache-2.0
Material Design tap target for Android. https://sjwall.github.io/MaterialTapTargetPrompt/

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Materialtaptargetprompt

Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (-85.34%)
Mutual labels:  material-design, material, onboarding
Material Remixer
A set of cross-platform libraries and protocols to allow the sharing of design values and live refinement of apps during the development process.
Stars: ✭ 1,275 (-7.47%)
Mutual labels:  material-design, material
Material Design For Bootstrap
Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
Stars: ✭ 9,463 (+586.72%)
Mutual labels:  material-design, material
Iconshowcase
Full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 91 (-93.4%)
Mutual labels:  material-design, material
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (-17.05%)
Mutual labels:  material-design, material
Mahapps.metro.iconpacks
Awesome icon packs for WPF and UWP in one library
Stars: ✭ 1,157 (-16.04%)
Mutual labels:  material-design, material
Vue Material
Material design for Vue.js
Stars: ✭ 9,528 (+591.44%)
Mutual labels:  material-design, material
Battery Meter View
🔋 Material design battery meter (i.e. level, state) view for Android
Stars: ✭ 57 (-95.86%)
Mutual labels:  material-design, material
Cyanea
A theme engine for Android
Stars: ✭ 1,319 (-4.28%)
Mutual labels:  material-design, material
Xposed Fast Repo
EdXposed Repo
Stars: ✭ 101 (-92.67%)
Mutual labels:  material-design, material
Delern
Spaced repetition learning system
Stars: ✭ 98 (-92.89%)
Mutual labels:  material-design, material
Rnmaterial
Make Fun with RnMaterial on WordPress.
Stars: ✭ 64 (-95.36%)
Mutual labels:  material-design, material
Material Vue Daterange Picker
a date-range-picker follows the Material Design spec powered by vue.js (alpha)
Stars: ✭ 64 (-95.36%)
Mutual labels:  material-design, material
Cardview
Material Design Cards ? How cool is that !
Stars: ✭ 101 (-92.67%)
Mutual labels:  material-design, material
Youtube Play Icon
Material style morphing play-pause drawable for Android
Stars: ✭ 57 (-95.86%)
Mutual labels:  material-design, material
Togglebuttons
Android toggle buttons that adhere to the Material Design documentation.
Stars: ✭ 88 (-93.61%)
Mutual labels:  material-design, material
Material Remixer Ios
Remixer for iOS: Live adjustment of app variables.
Stars: ✭ 101 (-92.67%)
Mutual labels:  material-design, material
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-96.01%)
Mutual labels:  material-design, material
Ct Material Kit Pro React Native
Material Kit PRO React Native is a fully coded app template built over Galio.io, React Native and Expo
Stars: ✭ 57 (-95.86%)
Mutual labels:  material-design, material
Core
Onscreen virtual keyboard for Angular ≥ 5 (https://angular.io/) using Angular Material (https://material.angular.io/).
Stars: ✭ 92 (-93.32%)
Mutual labels:  material-design, material

Material Tap Target Prompt

Build Status codecov Maintainability Download JavaDoc PRs Welcome

A Tap Target implementation in Android based on Material Design Onboarding guidelines. For more information on tap targets check out the guidelines.

JavaDocs, examples and a sample app with examples implemented are available.

FAB Example App Bar Example

Card Example Centre Example

The sample app is available to download on the Google Play Store: Get it on Google Play

Quick start

Gradle

Add the following to build.gradle:

repositories {
    jcenter()
}

dependencies {
    implementation 'uk.co.samuelwall:material-tap-target-prompt:3.1.0'
}

Supports Android minSdkVersion 14

Version 2.15.0 works with Android Support Library

Also available from GitHub packages

Usage

Basic usage is shown below with more examples in the sample app and documentation:

new MaterialTapTargetPrompt.Builder(MainActivity.this)
        .setTarget(R.id.fab)
        .setPrimaryText("Send your first email")
        .setSecondaryText("Tap the envelope to start composing your first email")
        .setPromptStateChangeListener(new MaterialTapTargetPrompt.PromptStateChangeListener()
        {
            @Override
            public void onPromptStateChanged(MaterialTapTargetPrompt prompt, int state)
            {
                if (state == MaterialTapTargetPrompt.STATE_FOCAL_PRESSED)
                {
                    // User has pressed the prompt target
                }
            }
        })
        .show();

Note

If 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.

Other shapes

The default shape is a circle but any other shape can be rendered by extending the PromptBackground and PromptFocal classes. Custom shapes such as a rectangle can be set by calling setPromptBackground and/or setPromptFocal. Documentation and examples are available here.

Rectangle Example

License

Copyright (C) 2016-2018 Samuel Wall

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].