Reputation: 245
My dimens file gets pretty big for a medium size app... Do you guys use generic dimen items like: activity_horizontal_margin, activity_horizontal_margin_x2, or do you name them according to the layout they are used in:
"dimen name="activity_main_button_height" -30dp /dimen" ???
Thanks!
Upvotes: 0
Views: 643
Reputation: 1268
I usually create different dimen.xml depending on each layout and then a common dimen file for dimensions used all over the apps (let's say shared dimens).
Hope it helps.
Upvotes: 3