Skip to content

Commit 3d3cbcb

Browse files
committed
Cleaned up the Installation Section.
Added some headers and changed bulleted list to numbered list.
1 parent 66786b0 commit 3d3cbcb

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,28 @@ Android-Bootstrap
77

88
Getting Started
99
=============
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
1218
dependencies {
1319
compile 'com.beardedhen:androidbootstrap:+'
1420
}
1521
```
1622

17-
Alternatively you can use Android Bootstrap as a library project by downloading the source.
18-
23+
### Library Project
1924

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.
2126

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__.
2328

24-
```xml
29+
2. Paste the following XML into a layout file to create a BootstrapButton:
30+
31+
```xml
2532
<!-- basic button -->
2633
<com.beardedhen.androidbootstrap.BootstrapButton
2734
android:layout_width="wrap_content"
@@ -33,13 +40,15 @@ Alternatively you can use Android Bootstrap as a library project by downloading
3340
/>
3441
```
3542

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:
44+
45+
```xml
3846
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
3947
```
4048

41-
* Build and run the app.
49+
4. Build and run the app.
4250

51+
## More Information
4352

4453
For further information and examples please look at the test project or the [wiki](https://github.com/Bearded-Hen/Android-Bootstrap/wiki):
4554
* [bootstrap buttons](https://github.com/Bearded-Hen/Android-Bootstrap/wiki/Bootstrap-Button)

0 commit comments

Comments
 (0)