I create a new blankview extends view , i want load it from my
layout.xml

but when i debug it , error it said "source not found".
if i don't debug it , it same.

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        xmlns:app="http://schemas.android.com/apk/res/
com.example.android.apis"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content">

    <android.software.canvas.BlankView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
                android:layout_alignParentLeft="true"
            />
</LinearLayout>

package android.software.canvas;

import android.content.Intent;
import android.os.Bundle;
import android.software.canvas.PaletteActivity.ImageAdapter;
import android.software.control.GalleryList;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.Gallery;
import android.widget.ImageSwitcher;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Gallery.LayoutParams;

        public class BlankActivity extends BaseActivity {
        BlankView blankview;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);//debug point


        blankview = (BlankView)findViewById(R.id.blank);
    }


how to fix it ?? thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to