dumazy
dumazy

Reputation: 14445

If xlarge layout is not available, will android look into default layouts or large layouts?

Just like in the title. If there isn't a xlarge layout available, will android look for this in the /layout directory or will it take a step back to /layout-large

Upvotes: 0

Views: 68

Answers (2)

Ivo
Ivo

Reputation: 23357

it will go to /layout-large because it means at least large.

Upvotes: 1

Andro Selva
Andro Selva

Reputation: 54330

If X-large is not available Android will by default look into /layout and not /layout-large. This is the same with other resources like, drawable and values also.

Upvotes: 1

Related Questions