summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorScott Main <nobody@android.com>2009-05-04 13:20:20 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-04 13:20:20 -0700
commiteb086d60b2b3425dec37d41b059d9e9cadfbbd18 (patch)
treef2b38593dd23fe1c84f535e983b20f8a2ad00815 /docs
parenta417ee5afa8133d42d76691d6501741dc6c7178d (diff)
downloadframeworks_base-eb086d60b2b3425dec37d41b059d9e9cadfbbd18.zip
frameworks_base-eb086d60b2b3425dec37d41b059d9e9cadfbbd18.tar.gz
frameworks_base-eb086d60b2b3425dec37d41b059d9e9cadfbbd18.tar.bz2
AI 148270: remove references to AbsoluteLayout because it's been deprecated
BUG=1790234 Automated import of CL 148270
Diffstat (limited to 'docs')
-rw-r--r--docs/html/guide/topics/ui/custom-components.jd2
-rw-r--r--docs/html/guide/topics/ui/how-android-draws.jd4
-rw-r--r--docs/html/guide/topics/ui/index.jd2
-rw-r--r--docs/html/guide/topics/ui/layout-objects.jd16
4 files changed, 4 insertions, 20 deletions
diff --git a/docs/html/guide/topics/ui/custom-components.jd b/docs/html/guide/topics/ui/custom-components.jd
index eccc2ca..76d1034 100644
--- a/docs/html/guide/topics/ui/custom-components.jd
+++ b/docs/html/guide/topics/ui/custom-components.jd
@@ -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.
diff --git a/docs/html/guide/topics/ui/how-android-draws.jd b/docs/html/guide/topics/ui/how-android-draws.jd
index a511005..21f9833 100644
--- a/docs/html/guide/topics/ui/how-android-draws.jd
+++ b/docs/html/guide/topics/ui/how-android-draws.jd
@@ -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>
diff --git a/docs/html/guide/topics/ui/index.jd b/docs/html/guide/topics/ui/index.jd
index 6bd1d15..ef23672 100644
--- a/docs/html/guide/topics/ui/index.jd
+++ b/docs/html/guide/topics/ui/index.jd
@@ -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,
diff --git a/docs/html/guide/topics/ui/layout-objects.jd b/docs/html/guide/topics/ui/layout-objects.jd
index cf85fd6..bb13a18 100644
--- a/docs/html/guide/topics/ui/layout-objects.jd
+++ b/docs/html/guide/topics/ui/layout-objects.jd
@@ -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
@@ -232,11 +221,6 @@ RelativeLayout</a> tutorial.</p>
<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
a single object. </td>