On Tue, Dec 21, 2010 at 10:38 AM, Sarwar Erfan <[email protected]>wrote:
> > > On Tuesday, December 21, 2010 3:05:10 PM UTC+6, vnv wrote: >> >> Hi, >> >> quick question, if you have two xml layouts and both layouts have the same >> button name for eg. how findViewById knows which one is used. >> >> In activity I say setContentView(R.layout.first). Does this means that >> findViewById will grab resources from first?. >> >> Yes. > findViewById has no interest with what you have in your other xml's. > > Regards > Sarwar Erfan > > Thanks. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- 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

