Project Organization, Tool Tips
-
Android development strongly urges you to put all strings into a string file. I always found this to be annoying, especially when it is simply for text on a button. I recently started thinking that doing something similar might not be a bad idea for tool tips, or even buttons text.
First, you have reuse. Might not be so useful with tool tips, but every cancel button could have its text changed in one place, for example.
Second, all your strings can be organized and categorized so that changes can be easily made. I was going to add without sifting through each class, but that brings me to why I am starting to think it might be a better idea to have a separate file. It simply removes a large amount of text from your code.
Is this a good idea? A bad idea? Maybe OK idea? Would love to hear if other have face similar situations.