I have a custom PieTimer View in an Android Library Project
package com.mysite.android.library.pietimer;
public class PieTimerView extends View {
...
For all APIs this is the receipt ( if the library is linked as JAR , but should work also as android library project reference)
Library project: AndroidManifest.xml
Library project: Attrs.xml
..
App project MainLayout.xml (or the layout where u use the custom control)
In App Code if you want to access resources from library use (ex. array "MyCustomArray" defined in the arrays.xml fromthe lib) use:
getResources().getStringArray(com.myapp.library1.R.array.MyCustomArray)