Skip to content

ufo22940268/Android-GoogleIoView

Repository files navigation

#GoogleIoView

看了Google I/O 2014之后觉得detail界面的效果不错,就模仿着做了一个。

#Screenshot

./slide.gif

#使用方法

###在gradle.build中加入

compile 'me.biubiubiu.googleioview:library:1.0'

###在xml中配置

<me.biubiubiu.iolistview.library.GoogleIOView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:parallax_color="#66ccff"
    />

###设置背景图片

    GoogleIOView ioView = (GoogleIOView) findViewById(R.id.io);
    ioView.getImageBackground().setImageResource(R.drawable.go_lang_item);

###设置背景颜色

    app:parallax_color="#66ccff"

###设置标题内容

    ioView.setTitle("hongbosb");

#下载

百度网盘

About

模仿2014 google io写的一个parallax view

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published