如何在Android中写和使用一个自定义的java库

2025-02-24 05:10:03
推荐回答(1个)
回答1:

1,在AndroidManifest.xml中加入


2,如果在layout文件中用到自定义库中的类

xmlns:abc.res="http://schemas.android.com/apk/res/com.abc.android.widget"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/card_wall"
android:orientation="vertical">
....