How can I assign an ID to a view programmatically?
<p>In an XML file, we are assigning and id to a view like <code>android:id="@+id/
something"</code> and we are calling <code>findviewbyid()</code> but when I want to
create a layout programmatically in a class and when I add a view, how
do I assign default id <code>android:id="@+id/something"</code> like that.</p>

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

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