Using customview from library in project
<p>I have CustomLayout class declared in a library customAndroidLibrary. This CustomLayout extends ViewGroup. Now I  want to use this CustomLayout in my layout.xml which is in my project. I have included this library in my project.</p>

<p>CustomLayout class</p>

<pre><code>package com.android.custom;
public class CustomLayout extends ViewGroup {
    .....
}
</code></pre>

<p>layout.xml</p>

<pre><code>&lt;com.android.custom.CustomLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/animation_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"&gt;
&lt;/com.android.custom.CustomLayout
</code></pre>

<p>MainActivity</p>

<pre><code>package com.android.ui;    
public class MainActivity extends Activity{

@Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.layout);
}
}
</code></pre>

<p>But it is throwing Class Not Found exception
Even it is not detecting my activity also if I am using the custom view in layout.xml
If I am using simple textview in layout.xml. Then it is not giving any error.</p>

<p>Can anyone please help me</p>
