hyperoslo / android-playbook

MIT License
6 stars 2 forks source link

Agree on how to use strings.xml #14

Open ealmdahl opened 9 years ago

ealmdahl commented 9 years ago

Particularly with regards to capitalization. Use the textAllCaps property for TextViews for relevant views?

Damian-Lopata commented 8 years ago

I don't know if we need any convention for string.xml file? Not sure if I understand this issue. Do you wanna agree @ealmdahl on one of those?

  1. using textAllCaps and placing normal text in string.xml
  2. not using textAllCaps and placing uppercase text in string.xml

I think textAllCaps is widely used and is available from API level 14, our app min is 16 so we could use that without any problem. I prefer 1st option.

sindrenm commented 8 years ago

I would definitely prefer using textAllCaps and writing the string as it would be written normally.

ealmdahl commented 8 years ago

I prefer using textAllCaps too.

How about naming conventions in the strings, though? To me, that ties somewhat in with naming conventions for views and layouts as well.

sindrenm commented 8 years ago

Which, in turn, might tie into what @jeantuffier and I are talking about around https://github.com/hyperoslo/android-playbook/issues/18#issuecomment-172798466. :smile: