Vertical Intro


Source link: https://github.com/armcha/Vertical-Intro

Vertical-Intro

Vertical intro allows you to integrate material vertical intro to your app

The current minSDK version is API level 14 Android 4.0 (ICE CREAM SANDWICH).

Download sample apk

#YouTube demo

#Installation

Gradle:

compile 'com.github.armcha:Vertical-Intro:2.0.0'

Setup and usage


Step 1:

Your activity must extends from VerticalIntro activity

public class TestActivity extends VerticalIntro

Step 2:

Add activity to manifest with defined theme:

<activity android:name=".TestActivity" android:theme="@style/VerticalIntroStyle" />

Step 3:

Add items in init

addIntroItem(new VerticalIntroItem.Builder()

  .backgroundColor(R.color.my_color)

  .image(R.drawable.my_drawable)

  .title("Lorem Ipsum Lorem Ipsum")

  .text("Lorem Ipsum is simply dummy text of the printing and typesetting industry." +

 "Lorem Ipsum is simply dummy text of the printing and typesetting industry." +

 "Lorem Ipsum is simply dummy text of the printing and typesetting industry.")

  .textColor(R.color.your_color)

  .titleColor(R.color.your_color)

  .textSize(14) // in SP

  .titleSize(17) // in SP

  .nextTextColor(R.color.color1)

  .build());

Return color for last item bottom view background color

 @Override
  protected Integer setLastItemBottomViewColor() {

return R.color.my_second_color;
  
}

Customize

Note: You must do all customizations inside init method

Enable or disable skip button

setSkipEnabled(true);
 

Enable or disable vibrate 📳 and set vibrate intensity

setVibrateEnabled(true);
 setVibrateIntensity(20);

Set your texts

setNextText("OK");
 setDoneText("FINISH HIM");
 setSkipText("GO GO");

Set custom font

setCustomTypeFace(Typeface.createFromAsset(getAssets(), "fonts/NotoSans-Regular.ttf"));

#


Set text color

.textColor(R.color.your_color)

Set title color

.titleColor(R.color.your_color)

Set text size in SP

.textSize(14)

Set title size in SP

.titleSize(17)

Set skip button text color

setSkipColor(R.color.your_color);

Contact

Pull requests are more than welcome. Please fell free to contact me if there is any problem when using the library.

License

  Vertical Intro library for Android
Copyright (c) 2017 Arman Chatikyan (https://github.com/armcha/Vertical-Intro).

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. 

Resources

Spruce is a lightweight animation library that helps choreograph the animations on the screen. With so many different animation libraries out there, developers need to make sure that each view is animating at the appropriate time. Spruce can help designers request complex multi-view animations and not have the developers cringe at the prototype.

Phone tracker is an Android library to gather environment signals, like cell towers, wifi access points and gps locations. You can configure how to scan. Also you can make hot configuring updates, and be notified when the configuration is updated, among other things.

GravityView is an Android adaptation of Facebook instant articles. The concept behind the library is to utilize the motion sensors of an Android device and allow the end user to explore the product by rotating his device. It uses gyroscope motion sensor readings to scroll the image.

A custom LayoutManager to build a Gallery or a ViewPager like RecyclerView that shows items in a center-locked and support both HORIZONTAL and VERTICAL scroll.And View Recycle Machine is also supported.

Custom tab layout which can be used as a material TabLayout alternative and consists basic functionality which Google's TabLayout has.

EtiyaBadgeTab is a Tab library for Android. As an alternative to the Tab library used on Android, it offers badge support and various customizations.

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