Replies: 2 comments 2 replies
-
|
I read some answers on StackOverflow and I quite like this answer: https://stackoverflow.com/a/39866695/14159914 PS: Yeah you are totally right, the colors thing is super messed up because I at the start didn't understand which color Android chose (sometimes it colored some stuff purple) so I just changed every color tag I could find to red, just to be sure. |
Beta Was this translation helpful? Give feedback.
-
|
I liked that answer too. It's actually what got me to click on that link. We could publish the cheat sheet in the contribute section and start refactoring. Is it settled then? As for the class and package names I'm a bit less sure. I don't know good practices but I know the com.example.app thing is supposed to be the domain name then company name the app name. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I think it's about time we clean up the code a little and agree on some style guides for naming our resources. We need to come up with a consistent way for naming:
layout resource files
id's
string resources
colors
We could follow a popular convention or agree on our own.
We also need to use those colors and strings everywhere because later when we want to add themes and translations it's gonna be real useful to have.
Beta Was this translation helpful? Give feedback.
All reactions