Android:如何引用驻留在我的应用引用的库中的样式?

Chr*_*rry 4 android reference

我有一个自定义视图,它位于我在我的应用程序中引用的库中.在库中,我声明了一个样式,视图使用了它.在我的应用程序中,我正在使用库中的自定义视图:

<nefarious.library.myappname.views.DragDropList
   xmlns:ddl="http://schemas.android.com/apk/res/nefarious.library.myappname"
android:id="@id/android:list"  
   android:layout_width="fill_parent" 
   android:layout_height="fill_parent"
   android:choiceMode="singleChoice"
   android:clickable="true" 
   android:longClickable="true"
   android:focusable="true"
   android:hapticFeedbackEnabled="true" 
   android:cacheColorHint="#00000000"
   ddl:normalHeight="@dimen/list_item_height"
   ddl:doubleHeight="@dimen/list_item_height_doubled"
   ddl:grabber="@id/grabber"
   ddl:grabberPadding="30dip"
   ddl:dragndropBackground="@color/moola_light" />
Run Code Online (Sandbox Code Playgroud)

Eclipse似乎在查找样式时遇到问题.Eclipse告诉我它找不到每个可设置属性的资源标识符.

如何让我的应用程序从库中查看样式?

我的问题正是这个问题:

指定Android项目依赖项(在Eclipse中)

这似乎没有得到回答.

ndo*_*ngo 12

由于YOUT库不打包为APK,你必须改变从定制sheme http://schemas.android.com/apk/res/nefarious.library.myappnamehttp://schemas.android.com/res/nefarious .library.myappname.我希望它会有所帮助