项目作者: luiing

项目描述 :
StackViewLayout is a slide card view
高级语言: Java
项目地址: git://github.com/luiing/StackViewLayout.git
创建时间: 2018-10-30T19:56:57Z
项目社区:https://github.com/luiing/StackViewLayout

开源协议:Apache License 2.0

下载


StackViewLayout

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

Captures

效果图 效果图 效果图

Use

  1. implementation 'io.github.luiing:stackviewlayout:0.1.2'

老版本StackLayout

Name Descript Value
stackEdgeModel 层叠位置(stack model) left/right
stackEdge 边界距离(edge) 默认值(default):10dp
stackPaddingX x方向偏移距离 10dp
stackOffsetX x方向偏移因子 2dp
stackPaddingY y方向偏移距离 10dp
stackOffsetY y方向偏移因子 2dp
stackAutoPlay 自动轮播(looper) true
stackDelay 自动轮播延时时间mills 3000
stackDuration 自动轮播播放时间mills 600
stackSize 层叠数量(stack size) 3
stackAspectRatio 顶层宽高比,宽度须有值 0

Version

  1. 0.1.2 迁移到mavenCentral, compilegradle升级

License

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