diff --git a/docs/html/guide/practices/screens_support.jd b/docs/html/guide/practices/screens_support.jd index 4d93c835035e8..2223dbf3096dc 100644 --- a/docs/html/guide/practices/screens_support.jd +++ b/docs/html/guide/practices/screens_support.jd @@ -988,7 +988,7 @@ configurations.

on different screens:

    -
  1. Use {@code wrap_content}, {@code fill_parent}, or {@code dp} units when specifying +
  2. Use {@code wrap_content}, {@code match_parent}, or {@code dp} units when specifying dimensions in an XML layout file
  3. Do not use hard coded pixel values in your application code
  4. Do not use {@code AbsoluteLayout} (it's deprecated)
  5. @@ -998,7 +998,7 @@ dimensions in an XML layout file

    The following sections provide more details.

    -

    1. Use wrap_content, fill_parent, or the dp unit for layout dimensions

    +

    1. Use wrap_content, match_parent, or the dp unit for layout dimensions

    When defining the {@code android:layout_height} for views in an XML layout file, using "wrap_content", -"fill_parent" or dp units guarantees that the view is +"match_parent" or dp units guarantees that the view is given an appropriate size on the current device screen.

    For instance, a view with a layout_width="100dp" measures 100 pixels wide on