导入jazzylistview示例项目时出错

时间:2013-08-27 19:16:15

标签: android jazzylistview

您好我正在导入jazzylistview示例项目,我在布局文件中收到以下错误:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/com.twotoasters.jazzylistview.sample"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
tools:context=".MainActivity" >

<com.twotoasters.jazzylistview
    android:id="@id/android:list"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:divider="@null"
    app:effect="helix"
    app:only_animate_new_items="false"
    app:only_animate_fling="false"
    app:max_velocity="0" />

</FrameLayout>

我在com.twotoasters.jazzylistview行上收到以下错误:

Multiple annotations found at this line:
- error: No resource identifier found for attribute 'only_animate_fling' in package 
 'com.twotoasters.jazzylistview.sample'
- error: No resource identifier found for attribute 'max_velocity' in package 'com.twotoasters.jazzylistview.sample'
- error: No resource identifier found for attribute 'effect' in package 'com.twotoasters.jazzylistview.sample'
- error: No resource identifier found for attribute 'only_animate_new_items' in package 
 'com.twotoasters.jazzylistview.sample'

请帮助我该怎么办?

1 个答案:

答案 0 :(得分:1)

的xmlns:应用= “http://schemas.android.com/apk/res/com.twotoasters.jazzylistview.sample”
此处,而不是使用 /com.twotoasters.jazzylistview.sample 使用您的包名。