2

您好,我正在导入 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'

请帮帮我我该怎么办?

4

1 回答 1

1

xmlns:app="http://schemas.android.com/apk/res/com.twotoasters.jazzylistview.sample"
在这里而不是使用/com.twotoasters.jazzylistview.sample使用您的包名称。

于 2013-12-06T14:16:09.867 回答