Layout also is view.  You can create layout in the code and create view in
the layout resource. Then add view to layout.  You can find view by
findViewById in layout.
在 2011-12-11 上午8:19,"Duygu Kahraman" <[email protected]>写道:

> Yeah you are right but for example if i added 5 view in the same
> layout.How must call i?How can i understand difference.
>
> I am not using FindViewById(); because i am not assigning anyhing.I think
> android can assign default id.Can it?
>
> 11 Aralık 2011 02:06 tarihinde lbendlin <[email protected]> yazdı:
>
>> what do you need the id for? You are already programmatically creating
>> the view, so you hold the reference.
>>
>>  --
>> 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
>>
>
>
>
> --
> ---
> Duygu Kahraman
>
> http://tr.linkedin.com/in/duygukahramann
>
>  --
> 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

-- 
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