Eric
Eric

Reputation: 1499

Is it better one or more string.xml by App?

I'm developing an app with more than 20 activities and the size of my strings.xml is growing up. I'm in doubts about which is the best choice, to use a single file for the whole app or create differents strings.xml linked to sets of Activities with common content...

What do you say?

Thanks

Upvotes: 2

Views: 146

Answers (2)

Varundroid
Varundroid

Reputation: 9234

Don't worry about size or length. In the end its virtual machine whose gonna make R.class file which will contain all your layout and widgets reference.

Upvotes: 0

Snailer
Snailer

Reputation: 3839

Don't worry about the size. I don't know all the technical mumbo-jumbo, but all the resources are indexed when it's compiled, so it won't affect speed either way.

Upvotes: 5

Related Questions