Skip to content

Commit b31e51b

Browse files
Update README.md
explicitly specify xmlns namespace
1 parent 9467af1 commit b31e51b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,17 @@ The following XML will create a BootstrapButton with an Android icon:
4747
android:layout_height="wrap_content"
4848
android:layout_margin="10dp"
4949
android:text="Success"
50-
bootstrapbutton:bb_icon_right="fa-android"
51-
bootstrapbutton:bb_type="success"
50+
bootstrap:bb_icon_right="fa-android"
51+
bootstrap:bb_type="success"
5252
/>
5353
```
5454

55+
Please ensure that you specify the namespace by adding the following to the root view of your layout:
56+
```
57+
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
58+
```
59+
60+
5561
For further information and examples please look at the test project or the [wiki](https://github.com/Bearded-Hen/Android-Bootstrap/wiki):
5662
* [bootstrap buttons](https://github.com/Bearded-Hen/Android-Bootstrap/wiki/Bootstrap-Button)
5763
* [font awesome texts](https://github.com/Bearded-Hen/Android-Bootstrap/wiki/Font-Awesome-Text)

0 commit comments

Comments
 (0)