• Stars
    star
    320
  • Rank 126,616 (Top 3 %)
  • Language
    Java
  • Created over 7 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

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.

More Repositories

1

Space-Navigation-View

Space Navigation is a library allowing easily integrate fully customizable Google Spaces like navigation to your app.
Java
1,991
star
2

AutoLinkTextView

AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URLs (http://), Phone and Email automatically detecting and ability to handle clicks.
Java
1,122
star
3

LuseenBottomNavigation

BottomNavigationView Designed according Google guideLine
Java
1,016
star
4

Ribble

Simple Dribbble Client using Dribbble API, fully written in Kotlin 😱 ❤️
Kotlin
867
star
5

ElasticView

Elastic view is a regular CardView, which can flex from user touches
Kotlin
597
star
6

ColoredShadowImageView

ColoredShadowImageView allows you to create a beautiful shadow around the image based on corresponding area colors.
Kotlin
464
star
7

PlayTabLayout

PlayTabLayout is a tab layout very similar to Google Play tab layout. The main feature is that ripple shows in a particular place where user taps.
Kotlin
328
star
8

AutoLinkTextViewV2

AutoLinkTextView is a TextView that supports automatic detection of Hashtags (#), Mentions (@) , URLs (http://), Phone Nubers and emails
Kotlin
267
star
9

MVP-Architecture-Components

This is a sample project, showing the connection between Android Architecture Components and MVP pattern.
Java
140
star
10

DebugBanner

Debug banner lib allows you to attach debug (🐛) banner on all your activities, just by one line of code.
Kotlin
59
star
11

MotionLayout_youtube_animation

Kotlin
56
star
12

MotionLayout_example

Kotlin
54
star
13

DateHelper

Simple dateHelper, which can help you to make your life easier. Just give the date to dateHelper and get it in different formats.
Java
40
star
14

Kadapter

Kotlin
38
star
15

Screenshot-observer

Java
37
star
16

logger

Logger is simple library, which will help you to find your logs easily.
Java
24
star
17

SimplePermissions

This library allows you easily implement Android marshmallow permissions. The list of permissions, if I miss any permission please add and send me pull request.
Java
23
star
18

Easy-Fragment-Argument

This library will help you to pass and receive fragment arguments in easier way
Java
17
star
19

KotlinMultiplatformSample

Kotlin
13
star
20

Firebase-notification-android-client

Java
12
star
21

Firbase-notification-server-php

PHP
10
star
22

Meet-My-App

Java
8
star
23

MaterialTabs

Java
5
star
24

EventsWidget

Kotlin
3
star
25

RecyclerView

Java
2
star
26

room_database_sample

Java
2
star
27

AnimatedBottomBar

Kotlin
1
star
28

AwesomeRepo

Kotlin
1
star
29

MPV_architecture_adaptation

This is the second version of MPV architecture adaptation
Kotlin
1
star
30

RateMyApp

1
star
31

summer_school

Java
1
star
32

ActivityResult

Kotlin
1
star
33

Babylon

Java
1
star