Skip to content

Repository files navigation

StackViewLayout

1.支持布局预览、宽高比设置、viewType布局
2.支持自动播放、左右布局
3.支持缩放滑动、连续滑动

Captures

效果图效果图效果图

Use

implementation 'io.github.luiing:stackviewlayout:0.1.2'
NameDescriptValue
stackEdgeModel层叠位置(stack model)left/right
stackEdge边界距离(edge)默认值(default):10dp
stackPaddingXx方向偏移距离10dp
stackOffsetXx方向偏移因子2dp
stackPaddingYy方向偏移距离10dp
stackOffsetYy方向偏移因子2dp
stackAutoPlay自动轮播(looper)true
stackDelay自动轮播延时时间mills3000
stackDuration自动轮播播放时间mills600
stackSize层叠数量(stack size)3
stackAspectRatio顶层宽高比,宽度须有值0

Version

0.1.2 迁移到mavenCentral, compile、gradle升级

License

Copyright 2018, uis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

a slide card view

Topics

Resources

Stars

26 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages