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

Commit eb086d60 authored by Scott Main's avatar Scott Main Committed by The Android Open Source Project
Browse files

AI 148270: remove references to AbsoluteLayout because it's been deprecated

  BUG=1790234

Automated import of CL 148270
parent a417ee5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ that you can use to construct your UI.</p>
{@link android.widget.TextSwitcher TextSwitcher}. </p>

<p>Among the layouts available are {@link android.widget.LinearLayout LinearLayout}, 
{@link android.widget.FrameLayout FrameLayout}, {@link android.widget.AbsoluteLayout AbsoluteLayout}, 
{@link android.widget.FrameLayout FrameLayout}, {@link android.widget.RelativeLayout RelativeLayout}, 
and others. For more examples, see <a href="layout-objects.html">Common Layout Objects</a>.</p>

<p>If none of the prebuilt widgets or layouts meets your needs, you can create your own View subclass. 
+2 −2
Original line number Diff line number Diff line
@@ -70,8 +70,8 @@ and each View is responsible for drawing itself.
    enclose its content (plus padding).</li>
   </ul>
  <p>There are subclasses of LayoutParams for different subclasses of ViewGroup.
   For example, AbsoluteLayout has its own subclass of LayoutParams which adds
   an X and Y value.
   For example, RelativeLayout has its own subclass of LayoutParams, which includes
   the ability to center child Views horizontally and vertically.
   </p>
   
   <p>
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ complex layout.</p>

<p>There are a variety of ways in which you can layout your views. Using more and different kinds of view groups,
you can structure child views and view groups in an infinite number of ways.
Some pre-defined view groups offered by Android (called layouts) include LinearLayout, RelativeLayout, AbsoluteLayout,
Some pre-defined view groups offered by Android (called layouts) include LinearLayout, RelativeLayout,
TableLayout, GridLayout and others. Each offers a unique set of layout parameters that are used to define the
positions of child views and layout structure.</p>
<p>To learn about some of the different kinds of view groups used for a layout, 
+0 −16
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ parent.link=index.html
    <li><a href="#framelayout">FrameLayout</a></li>
    <li><a href="#linearlayout">LinearLayout</a></li>
    <li><a href="#tablelayout">TableLayout</a></li>
    <li><a href="#absolutelayout">AbsoluteLayout</a></li>
    <li><a href="#relativelayout">RelativeLayout</a></li>
    <li><a href="#viewgroupsummary">Summary of Important View Groups</a></li>
  </ol>
@@ -143,16 +142,6 @@ documentation for more details. </p>
TableLayout</a> tutorial.</p>


<h2 id="absolutelayout">AbsoluteLayout</h2>
<p>{@link android.widget.AbsoluteLayout} enables child views to specify
    their own exact x/y coordinates on the screen. Coordinates <em>(0,0)</em> is the upper left
    corner, and values increase as you move down and to the right. Margins are not
    supported, and overlapping elements are allowed (although not recommended). We
    generally recommend against using AbsoluteLayout unless you have good reasons
    to use it, because it is fairly rigid and does not adjust to different types of
    displays. </p>


<h2 id="relativelayout">RelativeLayout</h2>
<p>{@link android.widget.RelativeLayout} lets child views specify their
    position relative to the parent view or to each other (specified by ID). So you can
@@ -231,11 +220,6 @@ RelativeLayout</a> tutorial.</p>
        <th scope="col">Class</th>
        <th scope="col">Description</th>
    </tr>
    <tr>
        <td>{@link android.widget.AbsoluteLayout AbsoluteLayout}<br /></td>
        <td>Enables you to specify the location of child objects relative to the
            parent in exact measurements (for example, pixels). </td>
    </tr>
    <tr>
        <td>{@link android.widget.FrameLayout FrameLayout}</td>
        <td>Layout that acts as a view frame to display