Computer Science, asked by mukilan2808, 4 months ago

In android studio why @ is used??? to define id we should use @id/tvsomething why here we use @ ??

Answers

Answered by Anonymous
4

\large\mapsto\boxed{\sf\red{Ⱥղʂwer᭄}}

In @+id/ the plus symbol + instructs to create a new resource name and add in to the R.java file but what about @id/? From the documentation of ID: when referencing an Android resource ID, you do not need the plus symbol, but must add the android package namespace.

android:id="@android:id/list"

l hope it's help you ♥️☺️

Similar questions