27
When creating a component, we use @+id/nome
to identify him.
For example:
<TextView
android:id="@+id/tv_fornecedor"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Fornecedor:"/>
What’s the difference of using @id/nome
(without the +), in place of @+id/nome
?
It’s okay to use one or the other?