This cannot be checked at compile time. Well, it could be checked at compile time but you could potentially get false negatives. XML inflation uses reflection so the check happens at runtime.
On Sat, May 2, 2009 at 7:58 AM, Raja Nagendra Kumar <[email protected]> wrote: > > Hi, > > We see that if there are any xml view tags, which does not exist are > going though at compile time but fails at run time.. such as xml like > below are valid during compile time but not at run time as it is not > able to find ATableLayout > > <ATableLayout android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:stretchColumns="0,1,2"></ATableLayout > > > Does aapi has any options to check this at compile time it self. > > Also, was there any intent of doing this at run time as opposed to at > compile time. I am hoping this may have some thing to do with 3rd > party components usage etc.. > > > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

