Having problem with the custom viewsss

LinearLayout ll = new LinearLayout(this);

           DrawHeaderPanel header=new DrawHeaderPanel(this);


            PlayPanel cv = new PlayPanel(this);

           DrawFooterPanel footer=new DrawFooterPanel(this);

            ll.setOrientation(LinearLayout.VERTICAL);
            ll.addView(cv);
            ll.addView(header);

            ll.addView(footer);


            setContentView(ll);

*Is this possible..to have three custom views...  Just tell me YES OR
NO...(I am getting errors..just getting a blank screen....but i will tryyy
correcting it myselff for now)*

Also,
DrawHeaderPanel extends View

DrawFooterPanel extends SurfaceView

PlayPanel extends View

IS this possible.. .. do you think this might create error.. cause of having
extending different view.. i.e  surfaceview and view...

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

Reply via email to