GithubHelp home page GithubHelp logo

bhanditz / showcaseview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from koush/showcaseview

0.0 2.0 0.0 13.27 MB

Highlight the best bits of your app to users quickly, simply, and cool...ly

Home Page: http://amlcurran.github.io/ShowcaseView/

Java 100.00%

showcaseview's Introduction

ShowcaseView library

The ShowcaseView library is designed to highlight and showcase specific parts of apps to the user with a distinctive and attractive overlay. This library is great for pointing out points of interest for users, gestures, or obscure but useful items.

The library is based on the "Cling" view found in the Launcher on Ice-Cream Sandwich and Jelly Bean, but extended to be easier to use.

Please check out the website for more information.

Example image Example image

Set-up

Ant: Importing the library should work without any issues - but make sure the libraries in /library/libs are imported. To use the sample download ActionBarSherlock and add it as a dependency to the library project. Use point 1 on the "Including in your project" instructions at the link.

Android Studio: Import using the build.gradle file in the top-most folder, making sure to use the Gradle wrapper. You may be able to import the library by itself but this isn't officially supported. If you'd like to add the library to your project, copy the library folder into your Gradle project folder and follow the instructions on the Android tools website.

WARNING: Sometimes Eclipse/IDEA will automatically import the non-NineOldAndroid versions of the animation classes, which will cause crashes on versions of Android below 3.0. Check that your imports start with com.nineoldandroids.animation and not android.animation.

The full dependency list for ShowcaseView is as follows:

  • library requires android-support-v4 and nineoldandroids
  • library tests require mockito and robolectric
  • sample app requires ActionBarSherlock

Usage

To use ShowcaseView, use one of the insertShowcaseView(..) calls. These take:

  • A Target which represents what should be showcased. See the wiki for more details.
  • An Activity
  • Optional title and detail strings (or resource ids) which show on the ShowcaseView
  • Optional a ConfigOptions which can alter the behaviour of ShowcaseView. See the wiki for more details

As an example:

View showcasedView = findViewById(R.id.view_to_showcase);
ViewTarget target = new ViewTarget(showcasedView);
ShowcaseView.insertShowcaseView(target, this, R.string.showcase_title, R.string.showcase_details);

Copyright and Licensing

Copyright Alex Curran (+Alex) © 2012. All rights reserved.

This library is distributed under an Apache 2.0 License.

showcaseview's People

Contributors

amlcurran avatar nikwen avatar mr-archano avatar ened avatar louiskirsch avatar leandros avatar blundell avatar koush avatar tyborg avatar odedniv avatar andreynovikov avatar amartinz avatar ilueckel avatar maxcanna avatar lizottenj avatar peter-budo avatar barbeau avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.