Which statement correctly assigns the id to textView element in layout file?

Question:Which statement correctly assigns the id to textView element in layout file?

1.TextView android:id="@id/textView />

2.<TextView android:id="@+id/textView />

3.<TextView android.id="@+id/textView />

4.<TextView android:id="+id/textView />


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!