summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/ui/how-android-draws.jd
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2010-03-17 12:39:51 -0700
committerScott Main <smain@google.com>2010-03-17 12:39:51 -0700
commit3b3145ed6c23d99ccf6ab559552399148a5a59c9 (patch)
tree163337464d872f1a7002f327f2c672c5c9703430 /docs/html/guide/topics/ui/how-android-draws.jd
parent41696d379f0e81157d701179580f793ab00a5f0e (diff)
downloadframeworks_base-3b3145ed6c23d99ccf6ab559552399148a5a59c9.zip
frameworks_base-3b3145ed6c23d99ccf6ab559552399148a5a59c9.tar.gz
frameworks_base-3b3145ed6c23d99ccf6ab559552399148a5a59c9.tar.bz2
docs: fix several instances of the 'sidebox' class
Change-Id: I3f676929e1ce919fee254c2ac5320f2070b2a14f
Diffstat (limited to 'docs/html/guide/topics/ui/how-android-draws.jd')
-rw-r--r--docs/html/guide/topics/ui/how-android-draws.jd8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/html/guide/topics/ui/how-android-draws.jd b/docs/html/guide/topics/ui/how-android-draws.jd
index efb55a2..3a57afa 100644
--- a/docs/html/guide/topics/ui/how-android-draws.jd
+++ b/docs/html/guide/topics/ui/how-android-draws.jd
@@ -18,12 +18,14 @@ and each View is responsible for drawing itself.
siblings drawn in the order they appear in the tree.
</p>
+<div class="sidebox-wrapper">
<div class="sidebox">
<p>The framework will not draw Views that are not in the invalid region, and also
will take care of drawing the Views background for you.</p>
<p>You can force a View to draw, by calling <code>{@link android.view.View#invalidate()}</code>.
</p>
</div>
+</div>
<p>
Drawing the layout is a two pass process: a measure pass and a layout pass. The measuring
@@ -50,11 +52,13 @@ and each View is responsible for drawing itself.
as to how much space they each get, the parent will intervene and set the rules on the second pass).
</p>
- <div class="sidebox"><p>
+<div class="sidebox-wrapper">
+<div class="sidebox"><p>
To initiate a layout, call <code>{@link android.view.View#requestLayout}</code>. This method is typically
called by a View on itself when it believes that is can no longer fit within
its current bounds.</p>
- </div>
+</div>
+</div>
<p>
The measure pass uses two classes to communicate dimensions. The