登录 立即注册
安币:

App应用欢迎动画页面:AppIntroAnimation

来自: MrlLee 分类: Android精品源码 上传时间: 2016-6-12 18:34:26
Tag:background animation Download version without

项目介绍:

AppIntroAnimation包含一组代码片断提供很酷的App介绍屏幕,拥有专门的图像转换和动画变换效果。它非常容易使用和定制无需添加第三方库的集成。
Demo IDemo II

Demo I Enableprivate boolean isSliderAnimation = false;inMainActivity.javato apply this background pager transformation animation with Image translation effect..

Demo II Enableprivate boolean isSliderAnimation = true;inMainActivity.javato apply this background pager transformation animation without Image translation effect..

如何使用
STEP 1:
Download the code and openarrays.xml.
[XML] 查看源文件 复制代码


    @color/light_green
    @color/light_purple
    @color/light_orange
    @color/light_cyan



    @drawable/email
    @drawable/calendar
    @drawable/shopping
    @drawable/socialnetwork



    @string/email
    @string/calender
    @string/shopping
    @string/social_network



    @string/email_hint
    @string/calender_hint
    @string/shopping_hint
    @string/social_network_hint

Here I have added 4 slides with images, titles and title hints. You can update your png's, text content in above arrays.xml as per your project need and requirement.

Note: The array count of images, titles and title hints should be of same count to avoid IndexBoundException.

STEP 2:
Drop all your images that are to be used for making AppIntro's into drawable folders. To get exact output for multiple resolution and sizes, add scaled images seperately for drawable-xxxhdpi, drawable-xxhdpi, drawable-xhdpi, drawable-hdpi, drawable-mdpi etc., and fix the height and width of ImageView inviewpager_item.xml
定制
To customize pager attributes like indicator stroke size, stroke color, solid color, solid size, solid color, selected color and unselected color, please openvpi_defaults.xmland customize according to your wish.
Following are the attributes that I have used in my project demo, you can also customize your own.
[XML] 查看源文件 复制代码

    true 
    #FFFFFFFF   
    #40FFFFFF   
    0 
    3dp  
    false 
    #40FFFFFF  
    1dp  


[hide][/hide]

相关源码推荐:

我来说两句
*滑动验证:
所有评论(196)
艾山江 2016-6-12 19:10:56
我只是路过打酱油的。
回复
阿拉贡 2016-6-12 23:59:26
哦哦
回复
飞起 2016-6-13 00:40:19
我是新手
回复
飞起 2016-6-13 00:41:43
学习学习!
回复
yuzhengang123 2016-6-13 08:53:37
正好做这个,可以参考下
回复
yuzhengang123 2016-6-13 08:55:56
正需要啊,感谢楼主无私分享!
回复
yuzhengang123 2016-6-13 08:56:43
强烈支持楼主ing……
回复
提取码:  下载次数:68 状态:已购或VIP 售价:10(原价:10)金钱 下载权限:限制会员 
1048 1 68
代码贡献英雄榜
用户名 下载数

联系我们
关闭
合作电话:
13802416937
Email:
[email protected]
商务市场合作/投稿
问题反馈及帮助
联系我们

广告投放| Github|申请友链|手机版|站点统计|安卓巴士 ( 粤ICP备15117877号 )  

快速回复 返回顶部 返回列表