On Oct 28, 2:07 pm, ClarkBattle <clarkbat...@gmail.com> wrote:
> But my activity never explicitly calls the view's constructor. The
> activity simply calls:
>
> setContentView( R.layout.main );
You can instead call setContentView(myCustomView)
Does this only work if myCustomView is the whole layout? How do you
get this custom view to be referenced referenced within a layout file?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---