【开源】Android-GoogleIoView

Android-GoogleIoView

使用说明:

在gradle.build中加入

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

 

在xml中配置

1
2
3
4
5
6
7
<me.biubiubiu.iolistview.library.GoogleIOView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:parallax_color="#66ccff"
    />

 

设置背景图片

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

 

设置背景颜色

1
    app:parallax_color="#66ccff"

 

设置标题内容

1
    ioView.setTitle("hongbosb");

posted on 2015-05-04 10:25  wasdchenhao  阅读(103)  评论(0)    收藏  举报

导航