1page.title=Support Library Features 2 3@jd:body 4 5<div id="qv-wrapper"> 6 <div id="qv"> 7 8 <h2>In this document</h2> 9 <ol> 10 <li><a href="#v4">v4 Support Library</a></li> 11 <li><a href="#multidex">Multidex Support Library</a></li> 12 <li><a href="#v7">v7 Support Libraries</a> 13 <ol> 14 <li><a href="#v7-appcompat">v7 appcompat library</a></li> 15 <li><a href="#v7-cardview">v7 cardview library</a></li> 16 <li><a href="#v7-gridlayout">v7 gridlayout library</a></li> 17 <li><a href="#v7-mediarouter">v7 mediarouter library</a></li> 18 <li><a href="#v7-palette">v7 palette library</a></li> 19 <li><a href="#v7-recyclerview">v7 recyclerview library</a></li> 20 <li><a href="#v7-preference">v7 preference library</a></li> 21 </ol> 22 </li> 23 <li><a href="#v8">v8 Support Library</a></li> 24 <li><a href="#v13">v13 Support Library</a></li> 25 <li><a href="#v14-preference">v14 Preference Support Library</a></li> 26 <li><a href="#v17-leanback">v17 Leanback Library</a></li> 27 <li><a href="#v17-preference">v17 Preference Library for TV</a></li> 28 <li><a href="#annotations">Annotations Support Library</a></li> 29 <li><a href="#design">Design Support Library</a></li> 30 <li><a href="#custom-tabs">Custom Tabs Support Library</a></li> 31 <li><a href="#percent">Percent Support Library</a></li> 32 <li><a href="#recommendation">Recommendation Support Library for TV</a></li> 33 </ol> 34 35 <h2>See also</h2> 36 <ol> 37 <li><a href="{@docRoot}topic/libraries/support-library/index.html#revisions"> 38 Support Library Revisions</a></li> 39 <li><a href="{@docRoot}topic/libraries/support-library/setup.html"> 40 Support Library Setup</a></li> 41 <li><a href="{@docRoot}topic/libraries/testing-support-library/index.html"> 42 Testing Support Library</a></li> 43 </ol> 44 45 </div> 46</div> 47 48<p>The Android Support Library package contains several libraries that can be included 49 in your application. Each of these libraries supports a specific range of Android platform 50 versions and set of features.</p> 51 52<p>This guide explains the important features and version support provided by the Support 53 Libraries to help you decide which of them you should include in your application. In general, 54 we recommend including the <a href="#v4">v4 support</a> and <a href="#v7-appcompat">v7 55 appcompat</a> libraries, because they support a wide range of 56 Android versions and provide APIs for recommended user interface patterns.</p> 57 58<p>In order to use any of the following libraries, you must download the library files to your 59 Android SDK installation. Follow the directions for downloading the Support Libraries in 60 <a href="{@docRoot}tools/support-library/setup.html#download">Support Library Setup</a> to 61 complete this step. You must take additional steps to include a specific Support Library in 62 your application. See the end of each library section below for important information on how to 63 include the library in your application.</p> 64 65 66<h2 id="v4">v4 Support Library</h2> 67 68<p>This library is designed to be used with Android 1.6 (API level 4) and higher. It includes the 69 largest set of APIs compared to the other libraries, including support for application components, 70 user interface features, accessibility, data handling, network connectivity, and programming 71 utilities. Here are a few of the key classes included in the v4 library:</p> 72 73<ul> 74 <li>App Components 75 <ul> 76 <li>{@link android.support.v4.app.Fragment} 77 - Adds support for encapsulation of user interface and functionality 78 with Fragments, enabling 79 applications to provide layouts that adjust between small and 80 large-screen devices. 81 </li> 82 83 <li>{@link android.support.v4.app.NotificationCompat} - Adds support for rich notification 84 features.</li> 85 <li>{@link android.support.v4.content.LocalBroadcastManager} - Allows applications to easily 86 register for and receive intents within a single application without broadcasting them 87 globally.</li> 88 </ul> 89 </li> 90 <li>User Interface 91 <ul> 92 <li>{@link android.support.v4.view.ViewPager} - Adds a 93 {@link android.view.ViewGroup} that manages the layout for the 94 child views, which the user can swipe between.</li> 95 <li>{@link android.support.v4.view.PagerTitleStrip} 96 - Adds a non-interactive title strip, that can be added as a child of 97 {@link android.support.v4.view.ViewPager}.</li> 98 <li>{@link android.support.v4.view.PagerTabStrip} - Adds a 99 navigation widget for switching between paged views, that can also be used with 100 {@link android.support.v4.view.ViewPager}.</li> 101 <li>{@link android.support.v4.widget.DrawerLayout} - Adds 102 support for creating a <a href="{@docRoot}training/implementing-navigation/nav-drawer.html" 103 >Navigation Drawer</a> that can be pulled in from the edge of a window.</li> 104 <li>{@link android.support.v4.widget.SlidingPaneLayout} 105 - Adds widget for creating linked summary and detail views that 106 appropriately adapt to various screen sizes.</li> 107 </ul> 108 </li> 109 <li>Accessibility 110 <ul> 111 <li>{@link android.support.v4.widget.ExploreByTouchHelper} 112 - Adds a helper class for implementing accessibility support for custom views.</li> 113 <li>{@link android.support.v4.view.accessibility.AccessibilityEventCompat} - Adds support for 114 {@link android.view.accessibility.AccessibilityEvent}. For more information about implementing 115 accessibility, see <a href="{@docRoot}guide/topics/ui/accessibility/index.html" 116 >Accessibility</a>.</li> 117 118 <li>{@link android.support.v4.view.accessibility.AccessibilityNodeInfoCompat} - Adds support 119 for {@link android.view.accessibility.AccessibilityNodeInfo}.</li> 120 <li>{@link android.support.v4.view.accessibility.AccessibilityNodeProviderCompat} - Adds 121 support for {@link android.view.accessibility.AccessibilityNodeProvider}.</li> 122 <li>{@link android.support.v4.view.AccessibilityDelegateCompat} - Adds support for 123 {@link android.view.View.AccessibilityDelegate}.</li> 124 </ul> 125 </li> 126 <li>Content 127 <ul> 128 <li>{@link android.support.v4.content.Loader} - Adds support for asynchronous loading of data. 129 The library also provides concrete implementations of this class, including 130 {@link android.support.v4.content.CursorLoader} and 131 {@link android.support.v4.content.AsyncTaskLoader}.</li> 132 <li>{@link android.support.v4.content.FileProvider} - Adds support for sharing of private 133 files between applications.</li> 134 </ul> 135 </li> 136</ul> 137 138<p> 139 There are many other APIs included in this library. For complete, detailed information about the 140 v4 Support Library APIs, see the {@link android.support.v4.app android.support.v4} package in the 141 API reference. 142</p> 143 144<p>After you download the Android Support Libraries, this library is located in the 145{@code <sdk>/extras/android/support/v4/} directory. The library does not contain user 146interface resources. To include it in your application project, follow the instructions for 147<a href="{@docRoot}tools/support-library/setup.html#libs-without-res">Adding libraries without 148resources</a>.</p> 149 150<p class="caution"><strong>Caution:</strong> Using dynamic dependencies, especially for higher version 151numbers, can cause unexpected version updates and regression incompatibilities.</p> 152 153<p>The Gradle build script dependency identifier for this library is as follows:</p> 154 155<pre> 156com.android.support:support-v4:23.3.0 157</pre> 158 159 160 161<h2 id="multidex">Multidex Support Library</h2> 162 163<p> 164 This library provides support for building apps with multiple Dalvik Executable (DEX) files. 165 Apps that reference more than 65536 methods are required to use multidex configurations. For 166 more information about using multidex, see <a href="{@docRoot}tools/building/multidex.html"> 167 Building Apps with Over 64K Methods</a>. 168</p> 169 170<p> 171 After you download the Android Support Libraries, this library is located in the 172 {@code <sdk>/extras/android/support/multidex/} directory. The library does not contain 173 user interface resources. To include it in your application project, follow the instructions 174 for 175 <a href= "{@docRoot}tools/support-library/setup.html#libs-without-res">Adding libraries without 176 resources</a>. 177</p> 178 179<p> 180 The Gradle build script dependency identifier for this library is as follows: 181</p> 182 183<pre> 184com.android.support:multidex:1.0.0 185</pre> 186 187 188 189<h2 id="v7">v7 Support Libraries</h2> 190 191<p>There are several libraries designed to be used with Android 2.1 (API level 7) and higher. 192 These libraries provide specific feature sets and can be included in your application 193 independently from each other.</p> 194 195 196<h3 id="v7-appcompat">v7 appcompat library</h3> 197 198<p>This library adds support for the 199 <a href="{@docRoot}guide/topics/ui/actionbar.html">Action Bar</a> user 200 interface <a href="{@docRoot}design/patterns/actionbar.html">design 201 pattern</a>. This library includes support for 202 <a href="{@docRoot}design/material/">material design</a> user interface 203 implementations. 204</p> 205 206<p class="note"><strong>Note:</strong> 207 This library depends on the v4 Support Library. 208</p> 209 210<p>Here are a few of the key classes included in the v7 appcompat library:</p> 211 212<ul> 213 <li>{@link android.support.v7.app.ActionBar} - Provides an implementation of the action bar 214 <a href="{@docRoot}design/patterns/actionbar.html">user interface pattern</a>. For more 215 information on using the Action Bar, see the 216 <a href="{@docRoot}guide/topics/ui/actionbar.html">Action Bar</a> developer guide. 217 </li> 218 <li>{@link android.support.v7.app.AppCompatActivity} - Adds an application activity class that can 219 be used as a base class for activities that use the Support Library action bar 220 implementation. 221 </li> 222 <li>{@link android.support.v7.app.AppCompatDialog} - Adds a dialog class that can be used as a base 223 class for AppCompat themed dialogs. 224 </li> 225 <li>{@link android.support.v7.widget.ShareActionProvider} - Adds support for a standardized 226 sharing action (such as email or posting to social applications) that can be included in an 227 action bar. 228 </li> 229</ul> 230 231<p>After you download the Android Support Libraries, this library is located in the 232{@code <sdk>/extras/android/support/v7/appcompat/} directory. The library contains user 233interface resources. To include it in your application project, follow the instructions for 234<a href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries with 235resources</a>.</p> 236 237<p>The Gradle build script dependency identifier for this library is as follows:</p> 238 239<pre> 240com.android.support:appcompat-v7:23.3.0 241</pre> 242 243 244 245<h3 id="v7-cardview">v7 cardview library</h3> 246 247<p>This library adds support for the {@link android.support.v7.widget.CardView} 248widget, which lets you show information inside cards that have a consistent look 249on any app. These cards are useful for material design 250implementations, and are used extensively in layouts for TV apps.</p> 251 252<p>After you download the Android Support Libraries, this library is located in the 253{@code <sdk>/extras/android/support/v7/cardview/} directory. The library contains user interface 254resources. To include it in your application project, follow the instructions 255for <a href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding 256libraries with resources</a>.</p> 257 258<p>The Gradle build script dependency identifier for this library is as follows:</p> 259 260<pre> 261com.android.support:cardview-v7:23.3.0 262</pre> 263 264 265 266<h3 id="v7-gridlayout">v7 gridlayout library</h3> 267 268<p>After you download the Android Support Libraries, this library adds support for the 269{@link android.support.v7.widget.GridLayout} class, which 270allows you to arrange user interface elements using a grid of rectangular cells. 271For detailed information about the v7 gridlayout library APIs, see the 272{@link android.support.v7.widget android.support.v7.widget} package in the API reference.</p> 273 274<p>This library is located in the {@code <sdk>/extras/android/support/v7/gridlayout/} 275 directory . The library contains user 276 interface resources. To include it in your application project, follow the instructions for 277 <a href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries with 278 resources</a>.</p> 279 280<p>The Gradle build script dependency identifier for this library is as follows:</p> 281 282<pre> 283com.android.support:gridlayout-v7:23.3.0 284</pre> 285 286 287 288<h3 id="v7-mediarouter">v7 mediarouter library</h3> 289 290<p>This library provides {@link android.support.v7.media.MediaRouter}, {@link 291android.support.v7.media.MediaRouteProvider}, and related media classes that 292support <a href="https://developers.google.com/cast/docs/android_sender">Google Cast</a>. </p> 293 294<p>In general, the APIs in the v7 mediarouter library provide a means of 295controlling the routing of media channels and streams from the current device to 296external screens, speakers, and other destination devices. The library includes 297APIs for publishing app-specific media route providers, for discovering and 298selecting destination devices, for checking media status, and more. For detailed 299information about the v7 mediarouter library APIs, see the 300{@link android.support.v7.media android.support.v7.media} package in the API 301reference.</p> 302 303<p>The v7 mediarouter library is located in the 304<code><sdk>/extras/android/support/v7/mediarouter/</code> directory after 305you download the Android Support Library. It's provided as a library project 306with a dependency on the v7 appcompat library, so you'll need to include both 307libraries in your build path when setting up your project. For more information 308on how to set up your project, follow the instructions in <a 309href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 310with resources</a>.</p> 311 312<p>The Gradle builder script dependency identifier is as follows: 313<code>com.android.support:support-v7-mediarouter:<revision></code>, 314where "<revision>" is the minimum revision at which the library is available. For example:</p> 315 316<pre> 317com.android.support:mediarouter-v7:23.3.0 318</pre> 319 320<p class="caution">The v7 mediarouter library APIs introduced in Support Library 321r18 are subject to change in later revisions of the Support Library. At this 322time, we recommend using the library only in connection with <a 323href="https://developers.google.com/cast/docs/android_sender">Google Cast</a>. </p> 324 325<h3 id="v7-palette">v7 palette library</h3> 326 327<p>The v7 palette support library includes the 328{@link android.support.v7.graphics.Palette} class, which lets you extract 329prominent colors from an image. For example, a music app could use a 330{@link android.support.v7.graphics.Palette} object to extract the major colors 331from an album cover, and use those colors to build a color-coordinated song 332title card.</p> 333 334<p>After you download the Android Support Libraries, this library is located in the 335{@code <sdk>/extras/android/support/v7/palette/} directory. The library does not contain 336user interface resources. To include it in your application project, follow the instructions for 337<a href="{@docRoot}tools/support-library/setup.html#libs-without-res">Adding libraries without 338resources</a>.</p> 339 340<p>The Gradle build script dependency identifier for this library is as follows:</p> 341 342<pre> 343com.android.support:palette-v7:23.3.0 344</pre> 345 346 347 348<h3 id="v7-recyclerview">v7 recyclerview library</h3> 349 350<p>The recyclerview library adds the {@link android.support.v7.widget.RecyclerView} 351class. This class provides support for the 352<a href="{@docRoot}training/material/lists-cards.html">RecyclerView</a> 353widget, a view for efficiently displaying large data sets by providing a 354limited window of data items.</p> 355 356<p>After you download the Android Support Libraries, this library is located in the 357{@code <sdk>/extras/android/support/v7/recyclerview/} directory. The library contains 358user interface resources. To include it in your application project, follow the instructions 359for <a href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding 360libraries with resources</a>.</p> 361 362<p>The Gradle build script dependency identifier for this library is as follows:</p> 363 364<pre> 365com.android.support:recyclerview-v7:23.3.0 366</pre> 367 368 369<h3 id="v7-preference">v7 Preference Support Library</h3> 370 371<p>The 372<a href="{@docRoot}reference/android/support/v7/preference/package-summary.html">preference</a> 373package provides APIs to support adding preference objects, such as 374{@link android.support.v7.preference.CheckBoxPreference} and 375{@link android.support.v7.preference.ListPreference}, for 376users to modify UI settings. </p> 377 378<p>The v7 Preference library adds support for interfaces, such as 379{@link android.support.v7.preference.Preference.OnPreferenceChangeListener} and 380{@link android.support.v7.preference.Preference.OnPreferenceClickListener}, and classes, 381such as {@link android.support.v7.preference.CheckBoxPreference} and 382{@link android.support.v7.preference.ListPreference}. </p> 383 384 385<p>After you download the Android Support Libraries, this library is located in the 386{@code <sdk>/extras/android/support/v7/preference} directory. For more information 387on how to set up your project, follow the instructions in <a 388href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 389with resources</a>. </p> 390 391<p>The Gradle build script dependency identifier for this library is as follows:</p> 392 393<pre> 394com.android.support:preference-v7:23.3.0 395</pre> 396 397 398 399 400 401 402 403 404<h2 id="v8">v8 Support Library</h2> 405 406<p>This library is designed to be used with Android 2.2 (API level 8) and higher. 407 This library provides specific feature sets and can be included in your application 408 independently from other libraries.</p> 409 410<h3 id="v8-renderscript">v8 renderscript library</h3> 411 412<p>This library is designed to be used with Android (API level 8) and higher. It adds support for 413 the <a href="{@docRoot}guide/topics/renderscript/compute.html">RenderScript</a> computation 414 framework. These APIs are included in the {@link android.support.v8.renderscript} package. You 415 should be aware that the steps for including these APIs in your application is <em>very 416 different</em> from other support library APIs. For more information about using these APIs 417 in your application, see the 418 <a href="{@docRoot}guide/topics/renderscript/compute.html#access-rs-apis">RenderScript</a> 419 developer guide.</p> 420 421<p class="note"> 422 <strong>Note:</strong> Use of RenderScript with the support library is supported with Android 423 Studio and Gradle-based builds. The 424 renderscript library is located in the <code>build-tools/$VERSION/renderscript/</code> folder. 425</p> 426 427<p>The following example shows the Gradle build script properties for this library:</p> 428 429<pre> 430defaultConfig { 431 renderscriptTargetApi 18 432 renderscriptSupportModeEnabled true 433} 434</pre> 435 436 437 438<h2 id="v13">v13 Support Library</h2> 439 440<p>This library is designed to be used for Android 3.2 (API level 13) and higher. It adds support 441 for the <a href="{@docRoot}guide/components/fragments.html">Fragment</a> user interface pattern 442 with the ({@link android.support.v13.app.FragmentCompat}) class and additional fragment support 443 classes. For more information about fragments, see the 444 <a href="{@docRoot}guide/components/fragments.html">Fragments</a> developer guide. For detailed 445 information about the v13 Support Library APIs, see the {@link android.support.v13.app 446 android.support.v13} package in the API reference. 447</p> 448 449<p>After you download the Android Support Libraries, this library is located in the 450{@code <sdk>/extras/android/support/v13/} directory. The library does not contain user 451interface resources. To include it in your application project, follow the instructions for 452<a href="{@docRoot}tools/support-library/setup.html#libs-without-res">Adding libraries without 453resources</a>.</p> 454 455<p>The Gradle build script dependency identifier for this library is as follows:</p> 456 457<pre> 458com.android.support:support-v13:23.3.0 459</pre> 460 461 462 463 464 465<h2 id="v14-preference">v14 Preference Support Library</h2> 466 467 468<p>The {@link android.support.v14.preference} package provides APIs to add support 469for preference interfaces such as 470{@link android.support.v14.preference.PreferenceFragment.OnPreferenceStartFragmentCallback} 471 and 472{@link android.support.v14.preference.PreferenceFragment.OnPreferenceStartScreenCallback}, 473 along with classes, such as 474{@link android.support.v14.preference.MultiSelectListPreference} and 475{@link android.support.v14.preference.PreferenceFragment}. For detailed 476 information about the v14 Preference Support Library APIs, see the 477 <a href="{@docRoot}reference/android/support/v14/preference/package-summary.html">preference</a> 478 package in the API reference. 479</p> 480 481<p>After you download the Android Support Libraries, this library is located in the 482{@code <sdk>/extras/android/support/v14/} directory. The library does not contain user 483interface resources. To include it in your application project, follow the instructions for 484<a href="{@docRoot}tools/support-library/setup.html#libs-without-res">Adding libraries without 485resources</a>.</p> 486 487<p>The Gradle build script dependency identifier for this library is as follows:</p> 488 489<pre> 490com.android.support:preference-v14:23.3.0 491</pre> 492 493 494 495 496<h2 id="v17-preference">v17 Preference Support Library for TV</h2> 497 498 499<p>The {@link android.support.v17.preference} package provides APIs for providing preference 500 interfaces on TV devices, including support for the 501{@link android.support.v17.preference.LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener} 502interface and classes, such as 503{@link android.support.v17.preference.BaseLeanbackPreferenceFragment} and 504{@link android.support.v17.preference.LeanbackPreferenceFragment}. For detailed 505 information about the v17 Preference Support Library APIs, see the 506 <a href="{@docRoot}reference/android/support/v17/preference/package-summary.html">preference</a> 507 package in the API reference. 508</p> 509 510<p>After you download the Android Support Libraries, this library is located in the 511{@code <sdk>/extras/android/support/v17/} directory. The library does not contain user 512interface resources. To include it in your application project, follow the instructions for 513<a href="{@docRoot}tools/support-library/setup.html#libs-without-res">Adding libraries without 514resources</a>.</p> 515 516<p>The Gradle build script dependency identifier for this library is as follows:</p> 517 518<pre> 519com.android.support:preference-leanback-v17:23.3.0 520</pre> 521 522 523 524 525 526<h2 id="v17-leanback">v17 Leanback Library</h2> 527 528<p>The {@link android.support.v17.leanback} package provides APIs to support 529 building user interfaces 530 on TV devices. It provides a number of important widgets for TV apps. Some of the notable classes include:</p> 531 532<ul> 533 <li>{@link android.support.v17.leanback.app.BrowseFragment} - A fragment for 534 creating a primary layout for browsing categories and rows of media 535 items.</li> 536 <li>{@link android.support.v17.leanback.app.DetailsFragment} - A wrapper 537 fragment for Leanback details screens.</li> 538 <li>{@link android.support.v17.leanback.app.PlaybackOverlayFragment} - A 539 subclass of {@link android.support.v17.leanback.app.DetailsFragment} for 540 displaying playback controls and related content.</li> 541 <li>{@link android.support.v17.leanback.app.SearchFragment} - A fragment to 542 handle searches. The fragment receives the user's search request and passes 543 it to the application-provided {@link 544 android.support.v17.leanback.app.SearchFragment.SearchResultProvider 545 SearchResultProvider}. The {@link 546 android.support.v17.leanback.app.SearchFragment.SearchResultProvider 547 SearchResultProvider} returns the search results to the 548 {@link android.support.v17.leanback.app.SearchFragment}, which renders them 549 into a {@link android.support.v17.leanback.app.RowsFragment}.</li> 550</ul> 551 552<p>After you download the Android Support Libraries, this library is located in the 553{@code <sdk>/extras/android/support/v17/leanback} directory. For more information 554on how to set up your project, follow the instructions in <a 555href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 556with resources</a>. </p> 557 558<p>The Gradle build script dependency identifier for this library is as follows:</p> 559 560<pre> 561com.android.support:leanback-v17:23.3.0 562</pre> 563 564 565 566<h2 id="annotations">Annotations Support Library</h2> 567 568<p>The <a href="{@docRoot}reference/android/support/annotation/package-summary.html">Annotation</a> 569package provides APIs to support adding annotation metadata to your apps. </p> 570 571<p></p> 572 573<p>After you download the Android Support Libraries, this library is located in the 574{@code <sdk>/extras/android/support/annotations} directory. For more information 575on how to set up your project, follow the instructions in <a 576href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 577with resources</a>. </p> 578 579<p>The Gradle build script dependency identifier for this library is as follows:</p> 580 581<pre> 582com.android.support:support-annotations:23.3.0 583</pre> 584 585 586 587<h2 id="design">Design Support Library</h2> 588 589<p>The 590<a href="{@docRoot}reference/android/support/design/package-summary.html">Design</a> package 591provides APIs to support adding material design components and patterns to your apps. </p> 592 593<p>The Design Support library adds support for various material design components and patterns for 594app developers to build upon, such as navigation drawers, floating action buttons (<i>FAB</i>), 595snackbars, and <a href="{@docRoot}design/building-blocks/tabs.html">tabs</a>. </p> 596 597 598<p>After you download the Android Support Libraries, this library is located in the 599{@code <sdk>/extras/android/support/design} directory. For more information 600on how to set up your project, follow the instructions in <a 601href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 602with resources</a>. </p> 603 604<p>The Gradle build script dependency identifier for this library is as follows:</p> 605 606<pre> 607com.android.support:design:23.3.0 608</pre> 609 610 611 612<h2 id="custom-tabs">Custom Tabs Support Library</h2> 613 614<p>The 615<a href="{@docRoot}reference/android/support/customtabs/package-summary.html">Custom Tabs</a> 616package provides APIs to support adding and managing custom tabs in your apps. </p> 617 618<p>The Custom Tabs Support library adds support for various classes, such as 619<a href="{@docRoot}reference/android/support/customtabs/CustomTabsService.html">Custom Tabs 620Service</a> 621and 622<a href="{@docRoot}reference/android/support/customtabs/CustomTabsCallback.html">Custom Tabs 623Callback</a>. </p> 624 625 626<p>After you download the Android Support Libraries, this library is located in the 627{@code <sdk>/extras/android/support/customtabs} directory. For more information 628on how to set up your project, follow the instructions in <a 629href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 630with resources</a>. </p> 631 632<p>The Gradle build script dependency identifier for this library is as follows:</p> 633 634<pre> 635com.android.support:customtabs:23.3.0 636</pre> 637 638 639 640 641<h2 id="percent">Percent Support Library</h2> 642 643<p>The 644<a href="{@docRoot}reference/android/support/percent/package-summary.html">Percent</a> 645package provides APIs to support adding and managing percentage based dimensions in your app. </p> 646 647<p>The Percent Support library adds support for the 648<a href="{@docRoot}reference/android/support/percent/PercentLayoutHelper.PercentLayoutParams.html"> 649PercentLayoutHelper.PercentLayoutParams</a> interface 650and various classes, such as 651<a href="{@docRoot}reference/android/support/percent/PercentFrameLayout.html">PercentFrameLayout</a> 652and 653<a href="{@docRoot}reference/android/support/percent/PercentRelativeLayout.html"> 654PercentRelativeLayout</a>. </p> 655 656 657<p>After you download the Android Support Libraries, this library is located in the 658{@code <sdk>/extras/android/support/percent} directory. For more information 659on how to set up your project, follow the instructions in <a 660href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 661with resources</a>. </p> 662 663<p>The Gradle build script dependency identifier for this library is as follows:</p> 664 665<pre> 666com.android.support:percent:23.3.0 667</pre> 668 669 670 671<h2 id="recommendation">App Recommendation Support Library for TV</h2> 672 673<p>The 674<a href="{@docRoot}reference/android/support/app/recommendation/package-summary.html">App 675Recommendation</a> 676package provides APIs to support adding content recommendations in your app running on TV devices. </p> 677 678<p>The App library adds support for annotations, such as 679<a href="{@docRoot}reference/android/support/app/recommendation/ContentRecommendation.ContentMaturity.html"> 680ContentRecommendation.ContentMaturity</a> and various classes, such as 681<a href="{@docRoot}reference/android/support/app/recommendation/ContentRecommendation.html">ContentRecommendation</a> 682and 683<a href="{@docRoot}reference/android/support/app/recommendation/RecommendationExtender.html"> 684RecommendationExtender</a>. </p> 685 686 687<p>After you download the Android Support Libraries, this library is located in the 688{@code <sdk>/extras/android/support/recommendation} directory. For more information 689on how to set up your project, follow the instructions in <a 690href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries 691with resources</a>. </p> 692 693<p>The Gradle build script dependency identifier for this library is as follows:</p> 694 695<pre> 696com.android.support:recommendation:23.3.0 697</pre> 698