# SignalView
**Repository Path**: jiangdongguo/SignalView
## Basic Information
- **Project Name**: SignalView
- **Description**: 自定义信号强度显示控件
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-11-17
- **Last Updated**: 2021-11-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# SignalView
**自定义信号强度显示控件**

**1. 添加依赖**
(1) 在工程build.gradle中添加
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
(2) 在module的gradle中添加
```
dependencies {
compile 'com.github.jiangdongguo:SignalView:v1.0'
}
```
**2. 使用方法**
(1) Java中设置信号强度和信号类型
```
设置信号强度
mSignalView.setSignalValue(5);
设置信号类型
mSignalView.setSignalTypeText("4G");
```
(2) XML文件配置
```
// 强信号颜色
```