Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc884053 authored by Katarina Stenstedt's avatar Katarina Stenstedt Committed by Android Git Automerger
Browse files

am 20972da0: New localization document and tutorial

Merge commit '20972da0' into eclair

* commit '20972da0':
  New localization document and tutorial
parents 3309940c 20972da0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -107,6 +107,9 @@
          <li><a href="<?cs var:toroot ?>guide/topics/resources/available-resources.html">
                <span class="en">Available Resource Types</span>
              </a></li>
          <li><a href="<?cs var:toroot ?>guide/topics/resources/localization.html">
                <span class="en">Localization</span>
              </a></li>
        </ul>
      </li>
      <li><a href="<?cs var:toroot ?>guide/topics/intents/intents-filters.html">
@@ -370,6 +373,9 @@
      <li><a href="<?cs var:toroot ?>guide/tutorials/views/index.html">
            <span class="en">Hello Views</span>
          </a></li>
      <li><a href="<?cs var:toroot ?>guide/tutorials/localization/index.html">
            <span class="en">Hello Localization</span>
          </a></li>
      <li><a href="<?cs var:toroot ?>guide/tutorials/notepad/index.html">
            <span class="en">Notepad Tutorial</span>
          </a></li>
+644 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -693,7 +693,7 @@ MyApp/res/drawable-en-port/
</ol>
<p class="note"><strong>Tip:</strong> The <em>precedence</em> of the qualifiers is more important than the number of qualifiers that exactly match the device. For example, in step 4 above, the last choice on the list includes three qualifiers that exactly match the device (orientation, touchscreen type, and input method), while <code>drawable-en</code> has only one parameter that matches (language). However, language has a higher precedence, so <code>drawable-port-notouch-12key</code> is out.</p>
<p>This flowchart summarizes how Android selects resource directories to load.</p>
<p><img src="res-selection-flowchart.png" alt="resource-selection" width="461" height="471" style="margin:15px"></p>
<p><img src="../../../images/resources/res-selection-flowchart.png" alt="resource-selection" width="461" height="471" style="margin:15px"></p>
<h3>Terminology</h3>
<p>The resource system brings a number of different pieces together to
form the final complete resource functionality.  To help understand the
+587 −0

File added.

Preview size limit exceeded, changes collapsed.

+13.8 KiB
Loading image diff...
Loading