Hi Kostya,
Thanks.Ur advice helped me.
Regards
Goutom

On Thu, Jul 14, 2011 at 1:57 PM, Kostya Vasilyev <[email protected]> wrote:

> You can't add the same view to a layout multiple times.
>
> So rather than doing this:
>
> 15.07.2011 0:52, Goutom пишет:
>
>  View view = layoutInflater.inflate(R.**layout.listitem,null);
>> for (int i = 0; i < 5; i++) {
>> linearlayout.addView(view);
>> }
>>
>
> Do this:
>
>
> for (int i = 0; i < 5; i++) {
> View view = layoutInflater.inflate(R.**layout.listitem,null);
> linearlayout.addView(view);
> }
>
> --
> Kostya Vasilyev
>
> --
> 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<[email protected]>
> To unsubscribe from this group, send email to
> android-developers+**[email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en<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