Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>More generally, my question is, are these 3 folders working as parent and child?</p> </blockquote> <p>Those folders work with a "most specific" matching system meaning it will match the closest(lower) API level <code>values</code> folder:</p> <ul> <li><code>values-v14</code> targets APIs >= <code>14</code>(it will not be selected at all for versions below <code>14</code>)</li> <li><code>values-v11</code> targets APIs between(and including) <code>11</code> and <code>13</code> if <code>values-v14</code> is present <strong>otherwise</strong> it will match every version starting with <code>11</code> and above((it will not be selected at all for versions below <code>11</code>)) </li> <li><code>values</code> is the default folder and it will be the last to be matched, covering other APIs levels not covered by another <code>values-xx</code> folder. You should always(as with all resources folders) have this folder in your app</li> </ul> <blockquote> <p>If it is indeed the way it is working, does it make sense then to setup the maximum of styles in the parent folder values and add only specific ones in v11 or v14?</p> </blockquote> <p>Yes, this is how the Android project template is built(when you use <code>Create new project...</code>), it actually tells you to use the <code>values-xx</code> folders for customization(different look, use of newer styles, attributes):</p> <pre><code> &lt;!-- in the styles.xml from the v-14 values folder: --&gt; &lt;!-- API 14 theme customizations can go here. --&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload