zhouzhuo810 / Zzbeelayout
Licence: apache-2.0
A nice Image ViewGroup like honeycomb.
Stars: ✭ 76
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Zzbeelayout
Swipedelmenulayout
The most simple SwipeMenu in the history, 0 coupling, support any ViewGroup. Step integration swipe (delete) menu, high imitation QQ, iOS. ~史上最简单侧滑菜单,0耦合,支持任意ViewGroup。一步集成侧滑(删除)菜单,高仿QQ、IOS。~
Stars: ✭ 3,376 (+4342.11%)
Mutual labels: viewgroup
drag-to-close
Android library that provides a view group which allows to finish an activity by dragging a view.
Stars: ✭ 69 (-9.21%)
Mutual labels: viewgroup
bubble-layout
An Android ViewGroup that displays avatar bubbles... similar to the chat bubbles on Facebook Messenger.
Stars: ✭ 46 (-39.47%)
Mutual labels: viewgroup
Kotlinextensions.com
A handy collection of most commonly used Kotlin extensions to boost your productivity.
Stars: ✭ 522 (+586.84%)
Mutual labels: viewgroup
Dragranksquare
edit personal information which enables users to drag and rank image order
Stars: ✭ 1,115 (+1367.11%)
Mutual labels: viewgroup
AdapterLayout
ViewGroup backed by RecyclerView.Adapter = magic
Stars: ✭ 58 (-23.68%)
Mutual labels: viewgroup
Chips Input Layout
A customizable Android ViewGroup for displaying Chips (specified in the Material Design Guide).
Stars: ✭ 591 (+677.63%)
Mutual labels: viewgroup
CoolView
一些炫酷的自定义控件(Some cool custom controls),逐步完善中...
Stars: ✭ 63 (-17.11%)
Mutual labels: viewgroup
BezierCurtainEffect
贝塞尔曲线窗帘效果BezierCurtainEffect,BezierCurtainView,CurtainEffect,CurtainView
Stars: ✭ 45 (-40.79%)
Mutual labels: viewgroup
Nestedtouchscrollinglayout
🎱处理子 View,父 View 嵌套滚动,成本比 support v4 NestedScrolling 低,放心食用~
Stars: ✭ 557 (+632.89%)
Mutual labels: viewgroup
ShadowDrawable
为View 和 ViewGroup 添加阴影效果--Android,Add shadow for single view or viewgroup layout.
Stars: ✭ 22 (-71.05%)
Mutual labels: viewgroup
View shaper
A library to help create shaped views and layouts in Android
Stars: ✭ 42 (-44.74%)
Mutual labels: viewgroup
FloatOnKeyboardLayout
The Android layout (ViewGroup) which auto push up when soft keyboard popups。 当软键盘弹出时,界面自动上浮,使界面不会被软键盘遮挡
Stars: ✭ 36 (-52.63%)
Mutual labels: viewgroup
Sliding Panel
Android sliding panel that is part of the view hierarchy, not above it.
Stars: ✭ 433 (+469.74%)
Mutual labels: viewgroup
Android Snake Menu
imitate Tumblr's menu, dragging animations look like a snake
Stars: ✭ 584 (+668.42%)
Mutual labels: viewgroup
ZzBeeLayout
A nice Image ViewGroup like honeycomb.
What does it look like ?
How to use it ?
Gradle
compile 'me.zhouzhuo.zzbeelayout:zz-bee-layout:1.0.1'
Maven
<dependency>
<groupId>me.zhouzhuo.zzbeelayout</groupId>
<artifactId>zz-bee-layout</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
① layout
<me.zhouzhuo.zzbeelayout.ZzBeeLayout
android:id="@+id/bee"
android:layout_centerInParent="true"
android:layout_width="300dp"
android:layout_height="300dp"
app:zz_def_res="@mipmap/ic_launcher"
app:zz_child_size="100dp">
</me.zhouzhuo.zzbeelayout.ZzBeeLayout>
属性说明:
属性 | 说明 | 类型 |
---|---|---|
zz_def_res | 默认加载中图片或颜色 | 图片或颜色资源id |
zz_child_size | 每张图片默认宽度 | 尺寸(dp) |
② java
ZzBeeLayout zzBeeLayout = (ZzBeeLayout) findViewById(R.id.bee);
//from http url
zzBeeLayout.setImageUrls(new String[]{
"http://img0.imgtn.bdimg.com/it/u=3273293410,2667810732&fm=11&gp=0.jpg",
"http://img0.imgtn.bdimg.com/it/u=3271149477,3744926107&fm=11&gp=0.jpg",
"http://img4.imgtn.bdimg.com/it/u=4186654312,3515491732&fm=23&gp=0.jpg",
"http://img2.imgtn.bdimg.com/it/u=1192715945,443541801&fm=21&gp=0.jpg",
"http://img3.imgtn.bdimg.com/it/u=2016448457,3556493612&fm=23&gp=0.jpg",
"http://img0.imgtn.bdimg.com/it/u=2155062783,607707723&fm=23&gp=0.jpg",
"http://img5.imgtn.bdimg.com/it/u=2404996392,2561119365&fm=23&gp=0.jpg"
});
/*
//from drawable res
zzBeeLayout.setImageRes(new int[] {
R.drawable.one,
R.drawable.two,
R.drawable.three,
R.drawable.four,
R.drawable.five,
R.drawable.six,
R.drawable.seven
});*/
//from file Uri
//...
//from file Path
//...
//set click listener
zzBeeLayout.setOnImageClickListener(new ZzBeeLayout.OnImageClickListener() {
@Override
public void onImageClick(SvgImageView iv, int position) {
Toast.makeText(MainActivity.this, "" + position, Toast.LENGTH_SHORT).show();
}
});
//resize if necessary
zzBeeLayout.getLayoutParams().width = 900;
zzBeeLayout.getLayoutParams().height = 900;
zzBeeLayout.setChildSize(300);
Permissions
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
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].