-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ID naming conventions #75
Comments
I would suggest the following:
Like in any framework some controls become deprecated, another controls are introduced. That's why there is a sense to define the following basic suffixes for the controls:
I use such naming rules for a while and think they are quite convenient. They give an opportunity not to intersect ids between different layout. Also it's much easier to find related control by id inside the layout. @peter-tackage What do you think? |
I'm only slightly late on this one. I've made another ticket to revise this #154 once I've gather more feedback internally. |
Please include some best practices about naming conventions for
android:id
of components in XML layouts.The text was updated successfully, but these errors were encountered: