Skip to content

Commit be600e5

Browse files
authored
Update README.md
1 parent 203e68d commit be600e5

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

README.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Syntax-View-Android
22
Beautiful Android Syntax View with line counter it will automatically highlight the code,you can design your own IDE using this view
3+
4+
# How to add to your app
5+
6+
add this to your dependencies in build.gradle file
7+
```
8+
implementation 'com.github.Badranh:Syntax-View-Android:0.1.0'
9+
```
10+
Add it in your root build.gradle at the end of repositories:
11+
12+
```
13+
allprojects {
14+
repositories {
15+
...
16+
maven { url 'https://jitpack.io' }
17+
}
18+
}
19+
```
20+
321
# USAGE
422
<b>1st way:</b>
523

@@ -50,22 +68,7 @@ setContentView(syntax_view);
5068
SyntaxView syntax_view = new SyntaxView(this,"#2b2b2b","#cc7832","#4a85a3","#cc7832","#6a8759");
5169
setContentView(syntax_view);
5270
```
53-
# How to add to your app
54-
55-
add this to your dependencies in build.gradle file
56-
```
57-
implementation 'com.github.Badranh:Syntax-View-Android:0.1.0'
58-
```
59-
Add it in your root build.gradle at the end of repositories:
6071

61-
```
62-
allprojects {
63-
repositories {
64-
...
65-
maven { url 'https://jitpack.io' }
66-
}
67-
}
68-
```
6972

7073
# Example
7174
Colors can be modified as you want

0 commit comments

Comments
 (0)