WrapLayout

Automatic line-wrapping layout, horizontal arrangement of sub-items, and automatic line-wrapping, supports unequal length and unequal width sub-items, and can set vertical and horizontal spacing and sub-item alignment mode.

License

License

GroupId

GroupId

io.github.alexmofer.widget
ArtifactId

ArtifactId

wraplayout
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

WrapLayout
Automatic line-wrapping layout, horizontal arrangement of sub-items, and automatic line-wrapping, supports unequal length and unequal width sub-items, and can set vertical and horizontal spacing and sub-item alignment mode.
Project URL

Project URL

https://github.com/AlexMofer/WrapLayout
Source Code Management

Source Code Management

https://github.com/AlexMofer/WrapLayout

Download wraplayout

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.alexmofer.widget/wraplayout/ -->
<dependency>
    <groupId>io.github.alexmofer.widget</groupId>
    <artifactId>wraplayout</artifactId>
    <version>2.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.alexmofer.widget/wraplayout/
implementation 'io.github.alexmofer.widget:wraplayout:2.0.0'
// https://jarcasting.com/artifacts/io.github.alexmofer.widget/wraplayout/
implementation ("io.github.alexmofer.widget:wraplayout:2.0.0")
'io.github.alexmofer.widget:wraplayout:aar:2.0.0'
<dependency org="io.github.alexmofer.widget" name="wraplayout" rev="2.0.0">
  <artifact name="wraplayout" type="aar" />
</dependency>
@Grapes(
@Grab(group='io.github.alexmofer.widget', module='wraplayout', version='2.0.0')
)
libraryDependencies += "io.github.alexmofer.widget" % "wraplayout" % "2.0.0"
[io.github.alexmofer.widget/wraplayout "2.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

WrapLayout

介绍

自动换行布局,水平排列子项,并自动换行,支持不等长不等宽子项,且可以设置垂直间距与水平间距及子项对齐模式。

使用

引用:

dependencies {
    ...
    implementation 'io.github.alexmofer.widget:wraplayout:2.0.0'
    ...
}

支持

许可

Copyright 2021 AlexMofer

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.

Versions

Version
2.0.0