Android Bootstrap的使用

来源:互联网 发布:大数据的处理流程 编辑:程序博客网 时间:2024/04/30 20:11

使用步骤

1)、添加包:在build.gradle中的dependencies{}中添加语句'com.beardedhen:androidbootstrap:2.3.1'

而非

'com.beardedhen:androidbootstrap:{2.3.1}'

2)在MainActivity.java文件中,onCreate()函数中,添加语句

TypefaceProvider.registerDefaultIconSets();

 

此时在布局里就可以应用Android bootstrap

参考:

1https://github.com/Bearded-Hen/Android-Bootstrap/wiki

0 0
原创粉丝点击