1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <HTML style="overflow:auto;"> 3 <HEAD> 4 <meta name="generator" content="JDiff v1.1.0"> 5 <!-- Generated by the JDiff Javadoc doclet --> 6 <!-- (http://www.jdiff.org) --> 7 <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared."> 8 <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet"> 9 <TITLE> 10 android.graphics.drawable.LayerDrawable 11 </TITLE> 12 <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" /> 13 <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" /> 14 <noscript> 15 <style type="text/css"> 16 body{overflow:auto;} 17 #body-content{position:relative; top:0;} 18 #doc-content{overflow:visible;border-left:3px solid #666;} 19 #side-nav{padding:0;} 20 #side-nav .toggle-list ul {display:block;} 21 #resize-packages-nav{border-bottom:3px solid #666;} 22 </style> 23 </noscript> 24 <style type="text/css"> 25 </style> 26 </HEAD> 27 <BODY> 28 <!-- Start of nav bar --> 29 <a name="top"></a> 30 <div id="header" style="margin-bottom:0;padding-bottom:0;"> 31 <div id="headerLeft"> 32 <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a> 33 </div> 34 <div id="headerRight"> 35 <div id="headerLinks"> 36 <!-- <img src="/assets/images/icon_world.jpg" alt="" /> --> 37 <span class="text"> 38 <!-- <a href="#">English</a> | --> 39 <nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr> 40 </span> 41 </div> 42 <div class="and-diff-id" style="margin-top:6px;margin-right:8px;"> 43 <table class="diffspectable"> 44 <tr> 45 <td colspan="2" class="diffspechead">API Diff Specification</td> 46 </tr> 47 <tr> 48 <td class="diffspec" style="padding-top:.25em">To Level:</td> 49 <td class="diffvaluenew" style="padding-top:.25em">23</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">22</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2015.08.14 14:28</td> 58 </tr> 59 </table> 60 </div><!-- End and-diff-id --> 61 <div class="and-diff-id" style="margin-right:8px;"> 62 <table class="diffspectable"> 63 <tr> 64 <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a> 65 </tr> 66 </table> 67 </div> <!-- End and-diff-id --> 68 </div> <!-- End headerRight --> 69 </div> <!-- End header --> 70 <div id="body-content" xstyle="padding:12px;padding-right:18px;"> 71 <div id="doc-content" style="position:relative;"> 72 <div id="mainBodyFluid"> 73 <H2> 74 Class android.graphics.drawable.<A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html" target="_top"><font size="+2"><code>LayerDrawable</code></font></A> 75 </H2> 76 <a NAME="constructors"></a> 77 <a NAME="methods"></a> 78 <p> 79 <a NAME="Added"></a> 80 <TABLE summary="Added Methods" WIDTH="100%"> 81 <TR> 82 <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD> 83 </TH> 84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 85 <TD VALIGN="TOP" WIDTH="25%"> 86 <A NAME="android.graphics.drawable.LayerDrawable.addLayer_added(android.graphics.drawable.Drawable)"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#addLayer(android.graphics.drawable.Drawable)" target="_top"><code>addLayer</code></A>(<code>Drawable</code>)</nobr> 88 </TD> 89 <TD> </TD> 90 </TR> 91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 92 <TD VALIGN="TOP" WIDTH="25%"> 93 <A NAME="android.graphics.drawable.LayerDrawable.findIndexByLayerId_added(int)"></A> 94 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#findIndexByLayerId(int)" target="_top"><code>findIndexByLayerId</code></A>(<code>int</code>)</nobr> 95 </TD> 96 <TD> </TD> 97 </TR> 98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 99 <TD VALIGN="TOP" WIDTH="25%"> 100 <A NAME="android.graphics.drawable.LayerDrawable.getBottomPadding_added()"></A> 101 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getBottomPadding()" target="_top"><code>getBottomPadding</code></A>()</nobr> 102 </TD> 103 <TD> </TD> 104 </TR> 105 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 106 <TD VALIGN="TOP" WIDTH="25%"> 107 <A NAME="android.graphics.drawable.LayerDrawable.getEndPadding_added()"></A> 108 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getEndPadding()" target="_top"><code>getEndPadding</code></A>()</nobr> 109 </TD> 110 <TD> </TD> 111 </TR> 112 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 113 <TD VALIGN="TOP" WIDTH="25%"> 114 <A NAME="android.graphics.drawable.LayerDrawable.getLayerGravity_added(int)"></A> 115 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerGravity(int)" target="_top"><code>getLayerGravity</code></A>(<code>int</code>)</nobr> 116 </TD> 117 <TD> </TD> 118 </TR> 119 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 120 <TD VALIGN="TOP" WIDTH="25%"> 121 <A NAME="android.graphics.drawable.LayerDrawable.getLayerHeight_added(int)"></A> 122 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerHeight(int)" target="_top"><code>getLayerHeight</code></A>(<code>int</code>)</nobr> 123 </TD> 124 <TD> </TD> 125 </TR> 126 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 127 <TD VALIGN="TOP" WIDTH="25%"> 128 <A NAME="android.graphics.drawable.LayerDrawable.getLayerInsetBottom_added(int)"></A> 129 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerInsetBottom(int)" target="_top"><code>getLayerInsetBottom</code></A>(<code>int</code>)</nobr> 130 </TD> 131 <TD> </TD> 132 </TR> 133 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 134 <TD VALIGN="TOP" WIDTH="25%"> 135 <A NAME="android.graphics.drawable.LayerDrawable.getLayerInsetEnd_added(int)"></A> 136 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerInsetEnd(int)" target="_top"><code>getLayerInsetEnd</code></A>(<code>int</code>)</nobr> 137 </TD> 138 <TD> </TD> 139 </TR> 140 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 141 <TD VALIGN="TOP" WIDTH="25%"> 142 <A NAME="android.graphics.drawable.LayerDrawable.getLayerInsetLeft_added(int)"></A> 143 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerInsetLeft(int)" target="_top"><code>getLayerInsetLeft</code></A>(<code>int</code>)</nobr> 144 </TD> 145 <TD> </TD> 146 </TR> 147 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 148 <TD VALIGN="TOP" WIDTH="25%"> 149 <A NAME="android.graphics.drawable.LayerDrawable.getLayerInsetRight_added(int)"></A> 150 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerInsetRight(int)" target="_top"><code>getLayerInsetRight</code></A>(<code>int</code>)</nobr> 151 </TD> 152 <TD> </TD> 153 </TR> 154 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 155 <TD VALIGN="TOP" WIDTH="25%"> 156 <A NAME="android.graphics.drawable.LayerDrawable.getLayerInsetStart_added(int)"></A> 157 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerInsetStart(int)" target="_top"><code>getLayerInsetStart</code></A>(<code>int</code>)</nobr> 158 </TD> 159 <TD> </TD> 160 </TR> 161 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 162 <TD VALIGN="TOP" WIDTH="25%"> 163 <A NAME="android.graphics.drawable.LayerDrawable.getLayerInsetTop_added(int)"></A> 164 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerInsetTop(int)" target="_top"><code>getLayerInsetTop</code></A>(<code>int</code>)</nobr> 165 </TD> 166 <TD> </TD> 167 </TR> 168 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 169 <TD VALIGN="TOP" WIDTH="25%"> 170 <A NAME="android.graphics.drawable.LayerDrawable.getLayerWidth_added(int)"></A> 171 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLayerWidth(int)" target="_top"><code>getLayerWidth</code></A>(<code>int</code>)</nobr> 172 </TD> 173 <TD> </TD> 174 </TR> 175 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 176 <TD VALIGN="TOP" WIDTH="25%"> 177 <A NAME="android.graphics.drawable.LayerDrawable.getLeftPadding_added()"></A> 178 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getLeftPadding()" target="_top"><code>getLeftPadding</code></A>()</nobr> 179 </TD> 180 <TD> </TD> 181 </TR> 182 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 183 <TD VALIGN="TOP" WIDTH="25%"> 184 <A NAME="android.graphics.drawable.LayerDrawable.getRightPadding_added()"></A> 185 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getRightPadding()" target="_top"><code>getRightPadding</code></A>()</nobr> 186 </TD> 187 <TD> </TD> 188 </TR> 189 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 190 <TD VALIGN="TOP" WIDTH="25%"> 191 <A NAME="android.graphics.drawable.LayerDrawable.getStartPadding_added()"></A> 192 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getStartPadding()" target="_top"><code>getStartPadding</code></A>()</nobr> 193 </TD> 194 <TD> </TD> 195 </TR> 196 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 197 <TD VALIGN="TOP" WIDTH="25%"> 198 <A NAME="android.graphics.drawable.LayerDrawable.getTopPadding_added()"></A> 199 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#getTopPadding()" target="_top"><code>getTopPadding</code></A>()</nobr> 200 </TD> 201 <TD> </TD> 202 </TR> 203 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 204 <TD VALIGN="TOP" WIDTH="25%"> 205 <A NAME="android.graphics.drawable.LayerDrawable.setDrawable_added(int, android.graphics.drawable.Drawable)"></A> 206 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setDrawable(int, android.graphics.drawable.Drawable)" target="_top"><code>setDrawable</code></A>(<code>int,</nobr> Drawable<nobr><nobr></code>)</nobr> 207 </TD> 208 <TD> </TD> 209 </TR> 210 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 211 <TD VALIGN="TOP" WIDTH="25%"> 212 <A NAME="android.graphics.drawable.LayerDrawable.setLayerGravity_added(int, int)"></A> 213 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerGravity(int, int)" target="_top"><code>setLayerGravity</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 214 </TD> 215 <TD> </TD> 216 </TR> 217 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 218 <TD VALIGN="TOP" WIDTH="25%"> 219 <A NAME="android.graphics.drawable.LayerDrawable.setLayerHeight_added(int, int)"></A> 220 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerHeight(int, int)" target="_top"><code>setLayerHeight</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 221 </TD> 222 <TD> </TD> 223 </TR> 224 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 225 <TD VALIGN="TOP" WIDTH="25%"> 226 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetBottom_added(int, int)"></A> 227 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetBottom(int, int)" target="_top"><code>setLayerInsetBottom</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 228 </TD> 229 <TD> </TD> 230 </TR> 231 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 232 <TD VALIGN="TOP" WIDTH="25%"> 233 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetEnd_added(int, int)"></A> 234 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetEnd(int, int)" target="_top"><code>setLayerInsetEnd</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 235 </TD> 236 <TD> </TD> 237 </TR> 238 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 239 <TD VALIGN="TOP" WIDTH="25%"> 240 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetLeft_added(int, int)"></A> 241 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetLeft(int, int)" target="_top"><code>setLayerInsetLeft</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 242 </TD> 243 <TD> </TD> 244 </TR> 245 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 246 <TD VALIGN="TOP" WIDTH="25%"> 247 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetRelative_added(int, int, int, int, int)"></A> 248 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetRelative(int, int, int, int, int)" target="_top"><code>setLayerInsetRelative</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 249 </TD> 250 <TD> </TD> 251 </TR> 252 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 253 <TD VALIGN="TOP" WIDTH="25%"> 254 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetRight_added(int, int)"></A> 255 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetRight(int, int)" target="_top"><code>setLayerInsetRight</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 256 </TD> 257 <TD> </TD> 258 </TR> 259 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 260 <TD VALIGN="TOP" WIDTH="25%"> 261 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetStart_added(int, int)"></A> 262 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetStart(int, int)" target="_top"><code>setLayerInsetStart</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 263 </TD> 264 <TD> </TD> 265 </TR> 266 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 267 <TD VALIGN="TOP" WIDTH="25%"> 268 <A NAME="android.graphics.drawable.LayerDrawable.setLayerInsetTop_added(int, int)"></A> 269 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerInsetTop(int, int)" target="_top"><code>setLayerInsetTop</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 270 </TD> 271 <TD> </TD> 272 </TR> 273 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 274 <TD VALIGN="TOP" WIDTH="25%"> 275 <A NAME="android.graphics.drawable.LayerDrawable.setLayerSize_added(int, int, int)"></A> 276 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerSize(int, int, int)" target="_top"><code>setLayerSize</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 277 </TD> 278 <TD> </TD> 279 </TR> 280 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 281 <TD VALIGN="TOP" WIDTH="25%"> 282 <A NAME="android.graphics.drawable.LayerDrawable.setLayerWidth_added(int, int)"></A> 283 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setLayerWidth(int, int)" target="_top"><code>setLayerWidth</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 284 </TD> 285 <TD> </TD> 286 </TR> 287 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 288 <TD VALIGN="TOP" WIDTH="25%"> 289 <A NAME="android.graphics.drawable.LayerDrawable.setPadding_added(int, int, int, int)"></A> 290 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setPadding(int, int, int, int)" target="_top"><code>setPadding</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 291 </TD> 292 <TD> </TD> 293 </TR> 294 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 295 <TD VALIGN="TOP" WIDTH="25%"> 296 <A NAME="android.graphics.drawable.LayerDrawable.setPaddingRelative_added(int, int, int, int)"></A> 297 <nobr><code>void</code> <A HREF="../../../../reference/android/graphics/drawable/LayerDrawable.html#setPaddingRelative(int, int, int, int)" target="_top"><code>setPaddingRelative</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr> 298 </TD> 299 <TD> </TD> 300 </TR> 301 </TABLE> 302 303 <a NAME="fields"></a> 304 </div> 305 <div id="footer"> 306 <div id="copyright"> 307 Except as noted, this content is licensed under 308 <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 309 For details and restrictions, see the <a href="/license.html">Content License</a>. 310 </div> 311 <div id="footerlinks"> 312 <p> 313 <a href="http://www.android.com/terms.html">Site Terms of Service</a> - 314 <a href="http://www.android.com/privacy.html">Privacy Policy</a> - 315 <a href="http://www.android.com/branding.html">Brand Guidelines</a> 316 </p> 317 </div> 318 </div> <!-- end footer --> 319 </div><!-- end doc-content --> 320 </div> <!-- end body-content --> 321 <script src="https://www.google-analytics.com/ga.js" type="text/javascript"></script> 322 <script type="text/javascript"> 323 try { 324 var pageTracker = _gat._getTracker("UA-5831155-1"); 325 pageTracker._setAllowAnchor(true); 326 pageTracker._initData(); 327 pageTracker._trackPageview(); 328 } catch(e) {} 329 </script> 330 </BODY> 331 </HTML> 332