How do items of a LayerList drawable scale to fit the container View?
<p>From this <a href="http://developer.android.com/guide/topics/resources/drawable-resource.html#LayerList" rel="noreferrer">developer guide about Layer-list drawables</a>, </p>

<ol>
<li><blockquote>
  <p>All drawable items are scaled to fit the size of the containing View,
  by default. Thus, placing your images in a layer list at different
  positions might increase the size of the View and some images scale as
  appropriate.</p>
</blockquote>

<p>In the first sentence, they say that the items are scaled to fit the
container view (and Not that the view is scaled according to the
size of the items contained in it). Then they say that the size of
the container view might increase (which means that the View is
being scaled, right?). <strong>So doesn't the second sentence contradict
the first one? Can somebody explain what is meant there?</strong></p>

<hr></li>
<li><blockquote>
  <p><em>android:drawable</em> </p>
  
  <p>Drawable resource. <strong>Required</strong>. Reference to a drawable resource. </p>
  
  <p>...  </p>
  
  <p>To avoid scaling items in the list, use a
   element inside the  element to specify the drawable...</p>
  
  <p>...  </p>
  
  <p>For example, the following  defines an item that scales to
  fit its container View:</p>

<pre><code>&lt;item android:drawable="@drawable/image" /&gt; 
</code></pre>
  
  <p>To avoid scaling, the following example uses a  element with centered gravity:</p>

<pre><code>&lt;item&gt;
  &lt;bitmap android:src="@drawable/image"
          android:gravity="center" /&gt;
&lt;/item&gt;
</code></pre>
</blockquote>

<p><strong>Again, they say that <code>android:drawable</code> is a <em>required</em> attribute, and then they give an example which does not use this attribute. What is correct?</strong></p>

<hr></li>
<li><blockquote>
  <p>To avoid scaling items in the list, use a <code>&lt;bitmap&gt;</code> element inside the
  <code>&lt;item&gt;</code> element to specify the drawable and define the gravity to
  something that does not scale, such as "center"</p>
</blockquote>

<p><strong>How is <code>gravity</code> scalable and how is <code>center</code> as its value make it unscalable?</strong></p></li>
</ol>