Skip to content

Commit 821ca51

Browse files
committed
docs: edits to resources doc
Change-Id: I1dbe5d213d8f85b2ecaeed45ddbe215f199e2c9e
1 parent bccedb0 commit 821ca51

File tree

2 files changed

+106
-90
lines changed

2 files changed

+106
-90
lines changed

docs/html/guide/topics/resources/index.jd

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,21 @@ code, so that you can maintain them independently. Externalizing your
2424
resources also allows you to provide alternative resources that support specific device
2525
configurations such as different languages or screen sizes, which becomes increasingly
2626
important as more Android-powered devices become available with different configurations. In order
27-
to provide this functionality, you must organize resources in your project's {@code res/}
28-
directory, using various sub-directories that group resources by type and configuration.</p>
27+
to provide compatibility with different configurations, you must organize resources in your
28+
project's {@code res/} directory, using various sub-directories that group resources by type and
29+
configuration.</p>
2930

3031
<div class="figure" style="width:421px">
3132
<img src="{@docRoot}images/resources/resource_devices_diagram1.png" height="137" alt="" />
3233
<p class="img-caption">
33-
<strong>Figure 1.</strong> Two device configurations, both using default
34+
<strong>Figure 1.</strong> Two different devices, both using default
3435
resources.</p>
3536
</div>
3637

3738
<div class="figure" style="width:421px">
3839
<img src="{@docRoot}images/resources/resource_devices_diagram2.png" height="137" alt="" />
3940
<p class="img-caption">
40-
<strong>Figure 2.</strong> Two device configurations, one using alternative
41+
<strong>Figure 2.</strong> Two different devices, one using alternative
4142
resources.</p>
4243
</div>
4344

@@ -55,10 +56,10 @@ append an appropriate configuration qualifier to the directory name.</li>
5556
<p>For example, while your default UI
5657
layout is saved in the {@code res/layout/} directory, you might specify a different UI layout to
5758
be used when the screen is in landscape orientation, by saving it in the {@code res/layout-land/}
58-
directory. The Android system will automatically apply the appropriate resources by matching the
59+
directory. Android automatically applies the appropriate resources by matching the
5960
device's current configuration to your resource directory names.</p>
6061

61-
<p>Figure 1 demonstrates how a collection of default resources from an application will be applied
62+
<p>Figure 1 demonstrates how a collection of default resources from an application are applied
6263
to two different devices when there are no alternative resources available. Figure 2 shows
6364
the same application with a set of alternative resources that qualify for one of the device
6465
configurations, thus, the two devices uses different resources.</p>

0 commit comments

Comments
 (0)