I have created a new GLView component to be aded to different projects. After building the library correctly I am trying to add it to a xml layout in my test app, but it doesn't seem to work as it throws a classnotfound exception.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:lib="http://schemas.android.com/apk/res-auto"
android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@android:color/darker_gray">
<com.exapmple.library.CustomView
android:id="@+id/glsurfaceview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
And the class inside the external project is:
public class CustomView extends GLSurfaceView