Android 引导页库 AppIntro

码农软件 · 软件分类 · Android UI 组件 · 2019-04-25 09:42:22

软件介绍

AppIntro 是一个让人轻松快速搭建漂亮酷炫的引导页库。

效果图:

 

使用

build.gradle:

repositories {
    mavenCentral()
}

dependencies {
  compile 'com.github.paolorotolo:appintro:3.4.0'
}

继承 AppIntro

public class MyIntro extends AppIntro {    // Please DO NOT override onCreate. Use init.
    @Override
    public void init(Bundle savedInstanceState) {        // Add your slide's fragments here.
        // AppIntro will automatically generate the dots indicator and buttons.
        addSlide(first_fragment);
        addSlide(second_fragment);
        addSlide(third_fragment);
        addSlide(fourth_fragment);        // Instead of fragments, you can also use our default slide
        // Just set a title, description, background and image. AppIntro will do the rest.
        addSlide(AppIntroFragment.newInstance(title, description, image, background_colour));        // OPTIONAL METHODS
        // Override bar/separator color.
        setBarColor(Color.parseColor("#3F51B5"));
        setSeparatorColor(Color.parseColor("#2196F3"));        // Hide Skip/Done button.
        showSkipButton(false);
        setProgressButtonEnabled(false);        // Turn vibration on and set intensity.
        // NOTE: you will probably need to ask VIBRATE permisssion in Manifest.
        setVibrate(true);
        setVibrateIntensity(30);
    }    @Override
    public void onSkipPressed() {    // Do something when users tap on Skip button.
    }    @Override
    public void onDonePressed() {    // Do something when users tap on Done button.
    }        @Override
    public void onSlideChanged() {    // Do something when the slide changes.
    }    @Override
    public void onNextPressed() {    // Do something when users tap on Next button.
    }

}

本文地址:https://codercto.com/soft/d/4339.html

我知道他想看什么

我知道他想看什么

沙建军 / 中信出版社 / 2018-1 / 48.00

社交媒体迅速发展、信息快速迭代、时间碎片化;大数据、智能终端、物联网横空出世;移动支付、网红经济和传统营销失效,这些都让这个时代的媒体、内容、渠道、产品之间的边界越来越模糊,也从根本上改变了营销的逻辑,内容营销从热词变成趋势,变成营销的底层思维。未来一切都是媒体,形式也是内容。 本书作者通过对国内外36个内容营销的新近案例的故事化描述和透彻分析,提出“组织媒介化”“营销内容化”“内容情趣化”......一起来看看 《我知道他想看什么》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具