# BackgroundLibrary **Repository Path**: gh321/BackgroundLibrary ## Basic Information - **Project Name**: BackgroundLibrary - **Description**: A framework for directly generating shape through Tags, no need to write shape.xml again(通过标签直接生成shape,无需再写shape.xml) - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BackgroundLibrary A framework for directly generating shape through Tags, no need to write shape.xml again(通过标签直接生成shape,无需再写shape.xml) ![](https://user-gold-cdn.xitu.io/2018/9/11/165c6e5c0cff0548?w=681&h=233&f=png&s=31240) [English.md](https://github.com/JavaNoober/BackgroundLibrary/blob/master/README-EN.md) 依赖方式: implementation "com.android.support:appcompat-v7:$supportVersion" implementation 'com.noober.background:core:1.5.8' 如果项目使用了androidx: implementation "androidx.appcompat:appcompat:$supportVersion" implementation 'com.noober.background:core:1.5.8' ## 使用文档 **无需任何代码,直接加入bl标签属性即可,与原生view无缝衔接**,具体使用方法以及属性内容请查看[wiki](https://github.com/JavaNoober/BackgroundLibrary/wiki) **重要的事情说3遍!!!** [wiki](https://github.com/JavaNoober/BackgroundLibrary/wiki) [wiki](https://github.com/JavaNoober/BackgroundLibrary/wiki) [wiki](https://github.com/JavaNoober/BackgroundLibrary/wiki) ## 示例效果 ![](https://raw.githubusercontent.com/JavaNoober/BackgroundLibrary/master/test/show.gif) 使用效果完全和原生shape selector一样,但是只需要直接在xml中加入属性即可,例如 1、边框+背景+圆角 等同于 2、渐变 等同于