ogaclejapan / ArcLayout

A very simple arc layout library for Android
Apache License 2.0
1.36k stars 303 forks source link

How to use this library? #7

Closed wensonwang closed 8 years ago

wensonwang commented 9 years ago

Hello,

I am trying to use this library in my project. First I created a new project in Android Studio, and add the following statement into build.gradle: compile 'com.ogaclejapan.arclayout:library:1.0.1@aar'. but it reported parsing XML error: unbound prefix. And I didn't see the library source code in my project.

Could you give a detailed process to add this library into a new project.

Thanks, Wilson

willqian commented 9 years ago

Hello

Work around -- you can add the library into your project directly

ogaclejapan commented 8 years ago

XML error: unbound prefix.

Do you prefix definition?

xmlns:app="http://schemas.android.com/apk/res-auto"

Original parameters of ArcLayout must be to define the app:xxxx prefix

http://stackoverflow.com/questions/2221221/frequent-issues-arising-in-android-view-error-parsing-xml-unbound-prefix