# AutoSpannableTextView
**Repository Path**: chinasoft4_ohos/AutoSpannableTextView
## Basic Information
- **Project Name**: AutoSpannableTextView
- **Description**: Support some of the key words can be clicked with the underline TextView
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 3
- **Forks**: 2
- **Created**: 2021-07-02
- **Last Updated**: 2022-09-06
## Categories & Tags
**Categories**: harmonyos-textview
**Tags**: None
## README
# AutoSpannableTextView
## 项目介绍
* 项目名称: AutoSpannableTextView
* 所属系列:openharmony的第三方组件适配移植
* 功能:文字开头设置图片;关键字设置字体颜色,下划线,点击事件(因为api限制无法设置背景颜色,点击关键字背景改变功能没有实现)
* 项目移植状态:主功能完成
* 调用差异:无
* 开发版本:sdk6,DevEco Studio 2.2 Beta1
* 基线版本:Release v1.0.1
## 效果演示

## 安装教程
### 安装教程
1.在项目根目录下的build.gradle文件中,
```
allprojects {
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
}
}
}
```
2.在entry模块的build.gradle文件中,
```
dependencies {
implementation('com.gitee.chinasoft_ohos:AutoSpannableTextView:1.0.0')
......
}
```
在sdk6,DevEco Studio 2.2 Beta1下项目可直接运行
如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件,
并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下
## 使用说明
java UI方式:
1、在布局xml文件中声明
```xml