You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-10Lines changed: 19 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,28 @@ Android-Bootstrap
7
7
8
8
Getting Started
9
9
=============
10
-
* Add the following line to build.gradle:
11
-
```
10
+
11
+
## Installation
12
+
13
+
### Gradle
14
+
15
+
If you're using Gradle you can simply add the following line to `build.gradle`:
16
+
17
+
```java
12
18
dependencies {
13
19
compile 'com.beardedhen:androidbootstrap:+'
14
20
}
15
21
```
16
22
17
-
Alternatively you can use Android Bootstrap as a library project by downloading the source.
18
-
23
+
### Library Project
19
24
20
-
* Copy [__fontawesome-webfont.ttf__](https://github.com/Bearded-Hen/Android-Bootstrap/raw/master/fontawesome-webfont.ttf) into the __assets folder__ of your project, as otherwise __FontAwesome won't work__.
25
+
Alternatively you can use Android Bootstrap as a library project by downloading the source.
21
26
22
-
* Paste the following XML into a layout file to create a BootstrapButton:
27
+
1. Copy [__fontawesome-webfont.ttf__](https://github.com/Bearded-Hen/Android-Bootstrap/raw/master/fontawesome-webfont.ttf) into the __assets folder__ of your project, as otherwise __FontAwesome won't work__.
23
28
24
-
```xml
29
+
2. Paste the following XML into a layout file to create a BootstrapButton:
30
+
31
+
```xml
25
32
<!-- basic button -->
26
33
<com.beardedhen.androidbootstrap.BootstrapButton
27
34
android:layout_width="wrap_content"
@@ -33,13 +40,15 @@ Alternatively you can use Android Bootstrap as a library project by downloading
33
40
/>
34
41
```
35
42
36
-
* Add the bootstrap namespace to the root view of your layout:
37
-
```
43
+
3. Add the bootstrap namespace to the root view of your layout:
0 commit comments