Skip to content Skip to sidebar Skip to footer

Layout Api Version Naming

I can't figure out how is this working: If I made a folder named layout-v11 is this going to apply to all api versions from v11 upwards or only to v11? And second one can I make fo

Solution 1:

The suffix specifies the minimum version for which the resources will apply. v11 means v11 and up. v11 can be overridden by higher-level ones like v14.

Solution 2:

Ok, after trying I have find out that it work upwards for example if we named our folder layout-v8:

Device with api = 7 it will use default layout folder.

Device with api >= 8 it will use layout-v8

Now seems easy. If I made mistake or there are some tricks - please write in comment.

Post a Comment for "Layout Api Version Naming"