Walkthrough


Source link: https://github.com/AbanoubAsaad/Walkthrough

Walkthrough

A simple library to build a simple walkthrough activiy.

Target platforms

API level 14 or later

Latest version

Version 1.0.3 (May 11,2016)

Screenshots

https://github.com/AbanoubAsaad/Walkthrough/tree/master/screenshots

Getting started

This library is published on jCenter. Just add these lines to build.gradle.

dependencies {

  compile 'com.abanoub.androidlib:walkthrough:1.0.3:release@aar' 
}

Usage

1- Just extend WalkthroughActivity

public class MainActivity extends WalkthroughActivity{
  
}

2- Create new object from WalkthroughItem which represent a single page and add it to the activity.

WalkthroughItem page = new WalkthroughItem(drawableId, title, subTitle);
 addPage(page);

You can use this functions to customize your page :

page.setBackgroundColorID(R.color.colorName);
 page.setTitleColorID(R.color.colorName);
 page.setSubTitleColorID(R.color.colorName);
 page.setSkipColorID(R.color.colorName);

3- You can use this function to customize you activity :

a- The type of progress, dots or horizontal bar by default it's dots : DOTS_TYPE or BAR_TYPE

setProgressType(progressType);
 

and if you want to hide the progress just call

hideProgress();

b- The color of progress :

setProgressBarColor(R.color.colorName);

c- Transition : you can use any of this built in transitions ACCORDION_TRANSFORMER, BACK_TO_FORE_TRANSFORMER, FORE_TO_BACK_TRANSFORMER, DEPTH_TRANSFORMER, SCALE_IN_OUT_TRANSFORMER, STACK_TRANSFORMER, ZOOM_OUT_SLIDE_TRANSFORMER, ZOOM_OUT_TRANSFORMER,

setTransitionType(transition);

and if you want the default transition for the viewPager don't call this function.

d- You can hide the skip button using

hideSkipButton();

e- To decide what happen when this Walkthrough finish just override onFinish() function.

@Override public void onFinish() {
  enter code here 
}

Resources

A Safari extension that adds view source links for the Android SDK.

A Chrome extension that adds an 'ad' omnibox command and view source links for the Android SDK.

Easy to use RecyclerView.

CWAC-Cam2 is an effort to create an in-app ACTION_IMAGE_CAPTURE workalike, with a bit more configurability. You still integrate by opening up a separate activity, but it is all within your own app, rather than relying upon device- or user-specific third-party camera apps.

Easiest way to handle image via camera and gallery intent.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes