# SLWidget **Repository Path**: shi-peigang/SLWidget ## Basic Information - **Project Name**: SLWidget - **Description**: 轮子合集。角标、滚动选择器、自动换行布局、侧滑返回。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-18 - **Last Updated**: 2021-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # :star2: SLWidget 几个不错的小轮子集合。欢迎**Star**,欢迎**Fork**。 ## 目录 * [示例Demo](#示例demo) * [BadgeView](#badgeview) * [ScrollPicker](#scrollpicker) * [AutoWrapLayout](#autowraplayout) * [SwipeBack](#swipeback) ## 示例Demo [点此下载(1.5MB)](https://fir.im/SLWidget) 或扫描下方二维码 [![demo](./download.png)](https://fir.im/SLWidget "扫码下载示例程序") ## BadgeView 角标控件,可实现任意View的角标指示。支持字体、边距、背景、对齐方式等属性。 [【使用说明】](https://github.com/Simon-Leeeeeeeee/SLWidget/tree/master/badgeview) ![png](./badgeview/demo_badgeview.png) ## ScrollPicker 滚动选择控件。仅支持文本显示,可设置行数、间距、颜色渐变、字体大小渐变等。 [【使用说明】](https://github.com/Simon-Leeeeeeeee/SLWidget/tree/master/scrollpicker) ![png](./scrollpicker/demo_scrollpicker.png) ![gif](./scrollpicker/demo_scrollpicker.gif) ## AutoWrapLayout 自动换行布局,ChildView横向排列并自动换行。可设置首行独占,指定网格尺寸、颜色、对齐方式等。 [【使用说明】](https://github.com/Simon-Leeeeeeeee/SLWidget/tree/master/autowraplayout) ![gif](./autowraplayout/demo_autowraplayout.png) ![gif](./autowraplayout/demo_autowraplayout.gif) ## SwipeBack Android侧滑返回方案,实现沉浸式状态栏。 [【使用说明】](https://github.com/Simon-Leeeeeeeee/SLWidget/tree/master/swipeback) ![gif](./swipeback/demo_swipeback_1.gif) ![gif](./swipeback/demo_swipeback_2.gif) ![gif](./swipeback/demo_swipeback_3.gif)