diff options
Diffstat (limited to 'docs/html/guide/topics/ui')
-rw-r--r-- | docs/html/guide/topics/ui/index.jd | 2 | ||||
-rw-r--r-- | docs/html/guide/topics/ui/layout-objects.jd | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/html/guide/topics/ui/index.jd b/docs/html/guide/topics/ui/index.jd index 494bda8..abcf6be 100644 --- a/docs/html/guide/topics/ui/index.jd +++ b/docs/html/guide/topics/ui/index.jd @@ -107,7 +107,7 @@ complex layout.</p> <p>For more on building a UI layout, read <a href="declaring-layout.html">Declaring Layout</a>. <div class="sidebox-wrapper"> -<div class="sidebox-inner"> +<div class="sidebox"> <p><b>Tip:</b> You can also draw View and ViewGroups objects in Java code, using the <code>{@link android.view.ViewGroup#addView(View)}</code> methods to dynamically insert new View and ViewGroup objects.</p> diff --git a/docs/html/guide/topics/ui/layout-objects.jd b/docs/html/guide/topics/ui/layout-objects.jd index 345e9b3..8b2792d 100644 --- a/docs/html/guide/topics/ui/layout-objects.jd +++ b/docs/html/guide/topics/ui/layout-objects.jd @@ -55,6 +55,7 @@ If the third box is then given a weight of 2 (instead of 0), then it is now decl "more important" than both the others, so it gets half the total remaining space, while the first two share the rest equally.</p> +<div class="sidebox-wrapper"> <div class="sidebox"> <p><strong>Tip</strong>: To create a proportionate size layout on the screen, create a container view group object with the @@ -64,6 +65,7 @@ the children <code>height</code> or <code>width</code> to <code>0</code> (zero); to each child, depending on what proportion of the screen each should have.</p> </div> +</div> <p>The following two forms represent a {@link android.widget.LinearLayout LinearLayout} with a set of elements: a button, some labels and text boxes. The text boxes have their width set to <var>fill_parent</var>; other |