All Projects → TangoAgency → Material Intro Screen

TangoAgency / Material Intro Screen

Licence: mit
Inspired by Heinrich Reimer Material Intro and developed with love from scratch

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Material Intro Screen

Introviews Flutter
☀️ A Flutter package for some material design app intro screens with some cool animations.
Stars: ✭ 570 (-79.06%)
Mutual labels:  material-design, onboarding
Materialtaptargetprompt
Material Design tap target for Android. https://sjwall.github.io/MaterialTapTargetPrompt/
Stars: ✭ 1,378 (-49.38%)
Mutual labels:  material-design, onboarding
Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (-92.58%)
Mutual labels:  material-design, onboarding
Motion Shapeofview
Explain how to use MotionLayout with ShapeOfView
Stars: ✭ 236 (-91.33%)
Mutual labels:  material-design
Alyle Ui
Minimal Design, a set of components for Angular 9+
Stars: ✭ 234 (-91.4%)
Mutual labels:  material-design
Materialbanner
A library that provides an implementation of the banner widget from the Material design.
Stars: ✭ 241 (-91.15%)
Mutual labels:  material-design
Alarmio
A simple alarm clock focused on design, readability, and internet radio.
Stars: ✭ 248 (-90.89%)
Mutual labels:  material-design
Vue Material Kit
Vue Material Kit - Open Source Material Design UI Kit
Stars: ✭ 231 (-91.51%)
Mutual labels:  material-design
Material Element
An Android app which provides example of implementing material design animation.
Stars: ✭ 244 (-91.04%)
Mutual labels:  material-design
Expenso Ios
A Simple Expense Tracker App built to demonstrate the use of SwiftUI, CoreData, Charts, Biometrics (Face & Touch ID) and MVVM Architecture.
Stars: ✭ 191 (-92.98%)
Mutual labels:  material-design
Onboardingscreen
create animated onboarding or welcome screen with MotionLayout
Stars: ✭ 239 (-91.22%)
Mutual labels:  onboarding
Materialchipsinput
Implementation of Material Design Chips component for Android
Stars: ✭ 2,605 (-4.3%)
Mutual labels:  material-design
Pandaeye
一款基于 mvp+rxjava+retrofit+Picasso 的应用,内容来自知乎日报,网易新闻,咪咕视频。实现了新闻列表的磁盘缓存
Stars: ✭ 242 (-91.11%)
Mutual labels:  material-design
Musicplayer
A music player with pretty ui/ux design.
Stars: ✭ 232 (-91.48%)
Mutual labels:  material-design
Collapsingtoolbarlayout Subtitle
Standard CollapsingToolbarLayout with subtitle support
Stars: ✭ 244 (-91.04%)
Mutual labels:  material-design
Wallpaperboard
Android Json based wallpaper dashboard library
Stars: ✭ 235 (-91.37%)
Mutual labels:  material-design
Pagerbottomtabstrip
An bottom navigation bar for Android
Stars: ✭ 2,744 (+0.81%)
Mutual labels:  material-design
Material Design Nav Drawer
Sample app showcasing the Navigation Drawer according Material Design guidelines. Check out the article to further explanation.
Stars: ✭ 238 (-91.26%)
Mutual labels:  material-design
Material Datetime Picker
A material design date-time picker for the web
Stars: ✭ 238 (-91.26%)
Mutual labels:  material-design
Responsive scaffold
Responsive Scaffold - On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item. Maintainer: @rodydavis
Stars: ✭ 238 (-91.26%)
Mutual labels:  material-design

Android Material Intro Screen

Download Codacy Badge Build Status Android Arsenal Material Intro Screen

Material intro screen is inspired by Material Intro and developed with love from scratch. I decided to rewrite completely almost all features in order to make Android intro screen easy to use for everyone and extensible as possible.

Features

Simple slide Custom slide Permission slide Finish slide
Simple slide Customslide Permission slide Finish slide

Usage

Step 1:

Add gradle dependecy

dependencies {
  compile 'agency.tango.android:material-intro-screen:{latest_release}'
}

Step 2:

First, your intro activity class needs to extend MaterialIntroActivity:

public class IntroActivity extends MaterialIntroActivity

Step 3:

Add activity to manifest with defined theme:

        <activity
            android:name=".IntroActivity"
            android:theme="@style/Theme.Intro" />

Step 4:

Add slides:

 @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        addSlide(new SlideFragmentBuilder()
                .backgroundColor(R.color.colorPrimary)
                .buttonsColor(R.color.colorAccent)
                .possiblePermissions(new String[]{Manifest.permission.CALL_PHONE, Manifest.permission.READ_SMS})
                .neededPermissions(new String[]{Manifest.permission.CAMERA, Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION})
                .image(agency.tango.materialintroscreen.R.drawable.ic_next)
                .title("title 3")
                .description("Description 3")
                .build(),
                new MessageButtonBehaviour(new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        showMessage("We provide solutions to make you love your work");
                    }
                }, "Work with love"));
}

Explanation of SlideFragment usage:

  • possiblePermissions ⇾ permissions which are not necessary to be granted
  • neededPersmissions ⇾ permission which are needed to be granted to move further from that slide
  • MessageButtonBehaviour ⇾ create a new instance only if you want to have a custom action or text on a message button

Step 5:

Customize Intro Activity:

  • setSkipButtonVisible() ⇾ show skip button instead of back button on the left bottom of screen
  • hideBackButton() ⇾ hides any button on the left bottom of screen
  • enableLastSlideAlphaExitTransition() ⇾ set if the last slide should disapear with alpha hiding effect

Customizing view animations:

You can set enter, default and exit translation for every view in intro activity. To achive this you need to get translation wrapper for chosen view (for example: getNextButtonTranslationWrapper()) and set there new class which will implement IViewTranslation

getBackButtonTranslationWrapper()
                .setEnterTranslation(new IViewTranslation() {
                    @Override
                    public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
                        view.setAlpha(percentage);
                    }
                });

Available translation wrappers:

  • getNextButtonTranslationWrapper()
  • getBackButtonTranslationWrapper()
  • getPageIndicatorTranslationWrapper()
  • getViewPagerTranslationWrapper()
  • getSkipButtonTranslationWrapper()

Custom slides

Of course you are able to implement completely custom slides. You only need to extend SlideFragment and override following functions:

  • backgroundColor()
  • buttonsColor()
  • canMoveFurther() (only if you want to stop user from being able to move further before he will do some action)
  • cantMoveFurtherErrorMessage() (as above)

If you want to use parallax in a fragment please use one of the below views:

And set there the app:layout_parallaxFactor attribute:

<agency.tango.materialintroscreen.parallax.ParallaxLinearLayout
xmlns:android="http://schemas.android.com/apk/res/android">

    <ImageView
        android:id="@+id/image_slide"
        app:layout_parallaxFactor="0.6"/>

All features which are not available in simple Slide Fragment are shown here: Custom Slide

Things I have used to create this

Getting Help

To report a specific problem or feature request, open a new issue on Github.

Company

Facebook     Twitter     LinkedIn

Here you can see open source work developed by Tango Agency.

Whether you're searching for a new partner or trusted team for creating your new great product we are always ready to start work with you.

You can contact us via [email protected]. Thanks in advance.

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