11# SharpView
22
3- custom TextView,LinearLayout,RelativeLayout with sharp
3+ It is a HMOS Library which provides a Custom TextView,LinearLayout,RelativeLayout with sharpView
44
55[ ![ .github/workflows/main.yml] ( https://github.com/applibgroup/SharpView/actions/workflows/main.yml/badge.svg )] ( https://github.com/applibgroup/SharpView/actions/workflows/main.yml )
66[ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=applibgroup_SharpView&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=applibgroup_SharpView )
@@ -34,15 +34,15 @@ Gradient colors are only valid when sharpSize is 0 (no sharp corners)
3434
3535## Dependency
36361 . For using SharpView module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har.
37- ```
37+ ``` groovy
3838 dependencies {
3939 implementation project(':sharpview')
4040 implementation fileTree(dir: 'libs', include: ['*.har'])
4141 testCompile 'junit:junit:4.12'
4242 }
4343```
44442 . For using SharpView in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file.
45- ```
45+ ``` groovy
4646 dependencies {
4747 implementation fileTree(dir: 'libs', include: ['*.har'])
4848 testCompile 'junit:junit:4.12'
@@ -53,7 +53,7 @@ Gradient colors are only valid when sharpSize is 0 (no sharp corners)
5353## Usage
5454
5555* 1.In the XML
56- ``` java
56+ ``` xml
5757
5858 <com .zhaoxing.view.sharpview.SharpEditText
5959 ohos : width =" match_content"
@@ -77,10 +77,8 @@ Gradient colors are only valid when sharpSize is 0 (no sharp corners)
7777 app : arrowDirection =" right"
7878 app : backgroundColor =" #FF000000"
7979 app : relativePosition =" 0.9"
80- app: sharpSize= " 15vp" >
81-
82- < / com.zhaoxing.view.sharpview. SharpLinearLayout >
83-
80+ app : sharpSize =" 15vp"
81+ />
8482
8583```
8684
0 commit comments