How can i Assign a id to view Programmatically?
<p>I know it is basic but i am curios about that.</p>

<p>in xml file, we are assigning id to view like that  "android:id="@+id/
something" and we are calling findviewbyid() but when  i want to
create a layout programmatically in a class and when i add a view, how
do i assign default id   "android:id="@+id/something" like that.</p>

<p>I think setid() is not same to default assignment.Setid() is extra.</p>

<p>Can anybody correct me?</p>

<p>Thx.</p>

<p>Duygu Kahraman</p>
