From fee4583b930d6d7771ed8b6f0915a6bd903e56a8 Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Mon, 11 Jul 2016 11:46:18 -0700 Subject: [PATCH] docs: Fixing badly formatted {@code} strings {@code} blocks in .jd files automatically escape special characters (like <>&) in the contents, which is bad if the contents were *already* escaped--it turns (e.g.) "< foo >"" into "&lt; foo &gt;". Fixing it where I find it, by replacing {@code} tags with old-fashioned . See first comment for doc stage location. bug: 30038013 Change-Id: Ic502096dc69fb7b43f58a34c3f92fd3a41f033f6 --- .../libraries/support-library/features.jd | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/html/topic/libraries/support-library/features.jd b/docs/html/topic/libraries/support-library/features.jd index 584bef8a79818..d648384399da8 100755 --- a/docs/html/topic/libraries/support-library/features.jd +++ b/docs/html/topic/libraries/support-library/features.jd @@ -142,7 +142,7 @@ page.title=Support Library Features

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v4/} directory. The library does not contain user +<sdk>/extras/android/support/v4/ directory. The library does not contain user interface resources. To include it in your application project, follow the instructions for Adding libraries without resources.

@@ -169,7 +169,7 @@ com.android.support:support-v4:23.3.0

After you download the Android Support Libraries, this library is located in the - {@code <sdk>/extras/android/support/multidex/} directory. The library does not contain + <sdk>/extras/android/support/multidex/ directory. The library does not contain user interface resources. To include it in your application project, follow the instructions for Adding libraries without @@ -229,7 +229,7 @@ com.android.support:multidex:1.0.0

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v7/appcompat/} directory. The library contains user +<sdk>/extras/android/support/v7/appcompat/ directory. The library contains user interface resources. To include it in your application project, follow the instructions for Adding libraries with resources.

@@ -250,7 +250,7 @@ on any app. These cards are useful for material design implementations, and are used extensively in layouts for TV apps.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v7/cardview/} directory. The library contains user interface +<sdk>/extras/android/support/v7/cardview/ directory. The library contains user interface resources. To include it in your application project, follow the instructions for Adding libraries with resources.

@@ -271,7 +271,7 @@ allows you to arrange user interface elements using a grid of rectangular cells. For detailed information about the v7 gridlayout library APIs, see the {@link android.support.v7.widget android.support.v7.widget} package in the API reference.

-

This library is located in the {@code <sdk>/extras/android/support/v7/gridlayout/} +

This library is located in the <sdk>/extras/android/support/v7/gridlayout/ directory . The library contains user interface resources. To include it in your application project, follow the instructions for Adding libraries with @@ -332,7 +332,7 @@ from an album cover, and use those colors to build a color-coordinated song title card.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v7/palette/} directory. The library does not contain +<sdk>/extras/android/support/v7/palette/ directory. The library does not contain user interface resources. To include it in your application project, follow the instructions for Adding libraries without resources.

@@ -354,7 +354,7 @@ widget, a view for efficiently displaying large data sets by providing a limited window of data items.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v7/recyclerview/} directory. The library contains +<sdk>/extras/android/support/v7/recyclerview/ directory. The library contains user interface resources. To include it in your application project, follow the instructions for Adding libraries with resources.

@@ -383,7 +383,7 @@ such as {@link android.support.v7.preference.CheckBoxPreference} and

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v7/preference} directory. For more information +<sdk>/extras/android/support/v7/preference directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

@@ -447,7 +447,7 @@ defaultConfig {

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v13/} directory. The library does not contain user +<sdk>/extras/android/support/v13/ directory. The library does not contain user interface resources. To include it in your application project, follow the instructions for Adding libraries without resources.

@@ -479,7 +479,7 @@ for preference interfaces such as

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v14/} directory. The library does not contain user +<sdk>/extras/android/support/v14/ directory. The library does not contain user interface resources. To include it in your application project, follow the instructions for Adding libraries without resources.

@@ -508,7 +508,7 @@ interface and classes, such as

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v17/} directory. The library does not contain user +<sdk>/extras/android/support/v17/ directory. The library does not contain user interface resources. To include it in your application project, follow the instructions for Adding libraries without resources.

@@ -550,7 +550,7 @@ com.android.support:preference-leanback-v17:23.3.0

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/v17/leanback} directory. For more information +<sdk>/extras/android/support/v17/leanback directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

@@ -571,7 +571,7 @@ package provides APIs to support adding annotation metadata to your apps.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/annotations} directory. For more information +<sdk>/extras/android/support/annotations directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

@@ -596,7 +596,7 @@ snackbars, and tabs. <

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/design} directory. For more information +<sdk>/extras/android/support/design directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

@@ -624,7 +624,7 @@ Callback.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/customtabs} directory. For more information +<sdk>/extras/android/support/customtabs directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

@@ -655,7 +655,7 @@ PercentRelativeLayout.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/percent} directory. For more information +<sdk>/extras/android/support/percent directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

@@ -685,7 +685,7 @@ RecommendationExtender.

After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/recommendation} directory. For more information +<sdk>/extras/android/support/recommendation directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.