Home | History | Annotate | Download | only in versions

Lines Matching full:bounds

56       <li><a href="#OpticalBounds">Optical bounds layout</a></li>
640 the bounds of that host view.
648 layout bounds.</p>
674 <h3 id="OpticalBounds">Optical bounds layout</h3>
677 be aligned with neighboring views based on the "optical" bounds of the background image rather
678 than the "clip" bounds of the view.</p>
681 using clip bounds (the default behavior), while figure 2 is using optical bounds. Because the
683 they don?t appear to align with each other or the text when using clip bounds.</p>
686 layout bounds" developer setting enabled. For each view, red lines indicate the optical
687 bounds, blue lines indicate the clip bounds, and pink indicates margins.</p>
727 <p class="table-caption"><em>Mouse over to hide the layout bounds.</em></p>
731 <p class="img-caption"><strong>Figure 1.</strong> Layout using clip bounds (default).</p>
736 <p class="img-caption"><strong>Figure 2.</strong> Layout using optical bounds.</p>
740 <p style="clear:left">To align the views based on their optical bounds, set the {@code android:layoutMode} attribute to {@code "opticalBounds"} in one of the parent layouts. For example:</p>
750 optical bounds.
755 the optical bounds using red lines along the bottom and right-side of the nine-patch file (as
757 the clip bounds, leaving the optical bounds of the image.</p>
759 <p>When you enable optical bounds for a {@link android.view.ViewGroup} in your layout, all
760 descendant views inherit the optical bounds layout mode unless you override it for a group by
762 optical bounds of their child views, adapting their own bounds based on the optical bounds of
764 currently do not support optical bounds for nine-patch images applied to their own background.</p>
769 with optical bounds, including {@link android.widget.Button}, {@link android.widget.Spinner},
776 <p>To specify optical bounds for your own nine-patch images with the <a