1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//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> 10android.app.ActionBar 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"> 16body{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="//developer.android.com" target="_top">Android Developers</a> | <a href="//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">21</td> 50 </tr> 51 <tr> 52 <td class="diffspec">From Level:</td> 53 <td class="diffvalueold">20</td> 54 </tr> 55 <tr> 56 <td class="diffspec">Generated</td> 57 <td class="diffvalue">2014.10.15 15:01</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> 74Class android.app.<A HREF="../../../../reference/android/app/ActionBar.html" target="_top"><font size="+2"><code>ActionBar</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.app.ActionBar.getElevation_added()"></A> 87 <nobr><code>float</code> <A HREF="../../../../reference/android/app/ActionBar.html#getElevation()" target="_top"><code>getElevation</code></A>()</nobr> 88 </TD> 89 <TD> </TD> 90</TR> 91<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 92 <TD VALIGN="TOP" WIDTH="25%"> 93 <A NAME="android.app.ActionBar.getHideOffset_added()"></A> 94 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#getHideOffset()" target="_top"><code>getHideOffset</code></A>()</nobr> 95 </TD> 96 <TD> </TD> 97</TR> 98<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 99 <TD VALIGN="TOP" WIDTH="25%"> 100 <A NAME="android.app.ActionBar.isHideOnContentScrollEnabled_added()"></A> 101 <nobr><code>boolean</code> <A HREF="../../../../reference/android/app/ActionBar.html#isHideOnContentScrollEnabled()" target="_top"><code>isHideOnContentScrollEnabled</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.app.ActionBar.setElevation_added(float)"></A> 108 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#setElevation(float)" target="_top"><code>setElevation</code></A>(<code>float</code>)</nobr> 109 </TD> 110 <TD> </TD> 111</TR> 112<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 113 <TD VALIGN="TOP" WIDTH="25%"> 114 <A NAME="android.app.ActionBar.setHideOffset_added(int)"></A> 115 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#setHideOffset(int)" target="_top"><code>setHideOffset</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.app.ActionBar.setHideOnContentScrollEnabled_added(boolean)"></A> 122 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#setHideOnContentScrollEnabled(boolean)" target="_top"><code>setHideOnContentScrollEnabled</code></A>(<code>boolean</code>)</nobr> 123 </TD> 124 <TD> </TD> 125</TR> 126</TABLE> 127 128<p> 129<a NAME="Changed"></a> 130<TABLE summary="Changed Methods" WIDTH="100%"> 131<TR> 132 <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD> 133</TH> 134<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 135 <TD VALIGN="TOP" WIDTH="25%"> 136 <A NAME="android.app.ActionBar.getNavigationItemCount_changed()"></A> 137 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#getNavigationItemCount()" target="_top"><code>getNavigationItemCount</code></A>() </nobr> 138 </TD> 139 <TD VALIGN="TOP" WIDTH="30%"> 140<b>Now deprecated</b>.<br> 141 </TD> 142 <TD> </TD> 143</TR> 144<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 145 <TD VALIGN="TOP" WIDTH="25%"> 146 <A NAME="android.app.ActionBar.getNavigationMode_changed()"></A> 147 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#getNavigationMode()" target="_top"><code>getNavigationMode</code></A>() </nobr> 148 </TD> 149 <TD VALIGN="TOP" WIDTH="30%"> 150<b>Now deprecated</b>.<br> 151 </TD> 152 <TD> </TD> 153</TR> 154<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 155 <TD VALIGN="TOP" WIDTH="25%"> 156 <A NAME="android.app.ActionBar.getSelectedNavigationIndex_changed()"></A> 157 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#getSelectedNavigationIndex()" target="_top"><code>getSelectedNavigationIndex</code></A>() </nobr> 158 </TD> 159 <TD VALIGN="TOP" WIDTH="30%"> 160<b>Now deprecated</b>.<br> 161 </TD> 162 <TD> </TD> 163</TR> 164<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 165 <TD VALIGN="TOP" WIDTH="25%"> 166 <A NAME="android.app.ActionBar.getSelectedTab_changed()"></A> 167 <nobr><code>Tab</code> <A HREF="../../../../reference/android/app/ActionBar.html#getSelectedTab()" target="_top"><code>getSelectedTab</code></A>() </nobr> 168 </TD> 169 <TD VALIGN="TOP" WIDTH="30%"> 170<b>Now deprecated</b>.<br> 171 </TD> 172 <TD> </TD> 173</TR> 174<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 175 <TD VALIGN="TOP" WIDTH="25%"> 176 <A NAME="android.app.ActionBar.getTabAt_changed(int)"></A> 177 <nobr><code>Tab</code> <A HREF="../../../../reference/android/app/ActionBar.html#getTabAt(int)" target="_top"><code>getTabAt</code></A>(<code>int</code>) </nobr> 178 </TD> 179 <TD VALIGN="TOP" WIDTH="30%"> 180<b>Now deprecated</b>.<br> 181 </TD> 182 <TD> </TD> 183</TR> 184<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 185 <TD VALIGN="TOP" WIDTH="25%"> 186 <A NAME="android.app.ActionBar.getTabCount_changed()"></A> 187 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#getTabCount()" target="_top"><code>getTabCount</code></A>() </nobr> 188 </TD> 189 <TD VALIGN="TOP" WIDTH="30%"> 190<b>Now deprecated</b>.<br> 191 </TD> 192 <TD> </TD> 193</TR> 194<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 195 <TD VALIGN="TOP" WIDTH="25%"> 196 <A NAME="android.app.ActionBar.newTab_changed()"></A> 197 <nobr><code>Tab</code> <A HREF="../../../../reference/android/app/ActionBar.html#newTab()" target="_top"><code>newTab</code></A>() </nobr> 198 </TD> 199 <TD VALIGN="TOP" WIDTH="30%"> 200<b>Now deprecated</b>.<br> 201 </TD> 202 <TD> </TD> 203</TR> 204<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 205 <TD VALIGN="TOP" WIDTH="25%"> 206 <A NAME="android.app.ActionBar.removeAllTabs_changed()"></A> 207 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#removeAllTabs()" target="_top"><code>removeAllTabs</code></A>() </nobr> 208 </TD> 209 <TD VALIGN="TOP" WIDTH="30%"> 210<b>Now deprecated</b>.<br> 211 </TD> 212 <TD> </TD> 213</TR> 214<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 215 <TD VALIGN="TOP" WIDTH="25%"> 216 <A NAME="android.app.ActionBar.removeTab_changed(android.app.ActionBar.Tab)"></A> 217 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#removeTab(android.app.ActionBar.Tab)" target="_top"><code>removeTab</code></A>(<code>Tab</code>) </nobr> 218 </TD> 219 <TD VALIGN="TOP" WIDTH="30%"> 220<b>Now deprecated</b>.<br> 221 </TD> 222 <TD> </TD> 223</TR> 224<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 225 <TD VALIGN="TOP" WIDTH="25%"> 226 <A NAME="android.app.ActionBar.removeTabAt_changed(int)"></A> 227 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#removeTabAt(int)" target="_top"><code>removeTabAt</code></A>(<code>int</code>) </nobr> 228 </TD> 229 <TD VALIGN="TOP" WIDTH="30%"> 230<b>Now deprecated</b>.<br> 231 </TD> 232 <TD> </TD> 233</TR> 234<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 235 <TD VALIGN="TOP" WIDTH="25%"> 236 <A NAME="android.app.ActionBar.selectTab_changed(android.app.ActionBar.Tab)"></A> 237 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#selectTab(android.app.ActionBar.Tab)" target="_top"><code>selectTab</code></A>(<code>Tab</code>) </nobr> 238 </TD> 239 <TD VALIGN="TOP" WIDTH="30%"> 240<b>Now deprecated</b>.<br> 241 </TD> 242 <TD> </TD> 243</TR> 244<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 245 <TD VALIGN="TOP" WIDTH="25%"> 246 <A NAME="android.app.ActionBar.setListNavigationCallbacks_changed(android.widget.SpinnerAdapter, android.app.ActionBar.OnNavigationListener)"></A> 247 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#setListNavigationCallbacks(android.widget.SpinnerAdapter, android.app.ActionBar.OnNavigationListener)" target="_top"><code>setListNavigationCallbacks</code></A>(<code>SpinnerAdapter,</nobr> OnNavigationListener<nobr><nobr></code>) </nobr> 248 </TD> 249 <TD VALIGN="TOP" WIDTH="30%"> 250<b>Now deprecated</b>.<br> 251 </TD> 252 <TD> </TD> 253</TR> 254<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 255 <TD VALIGN="TOP" WIDTH="25%"> 256 <A NAME="android.app.ActionBar.setNavigationMode_changed(int)"></A> 257 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#setNavigationMode(int)" target="_top"><code>setNavigationMode</code></A>(<code>int</code>) </nobr> 258 </TD> 259 <TD VALIGN="TOP" WIDTH="30%"> 260<b>Now deprecated</b>.<br> 261 </TD> 262 <TD> </TD> 263</TR> 264<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 265 <TD VALIGN="TOP" WIDTH="25%"> 266 <A NAME="android.app.ActionBar.setSelectedNavigationItem_changed(int)"></A> 267 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#setSelectedNavigationItem(int)" target="_top"><code>setSelectedNavigationItem</code></A>(<code>int</code>) </nobr> 268 </TD> 269 <TD VALIGN="TOP" WIDTH="30%"> 270<b>Now deprecated</b>.<br> 271 </TD> 272 <TD> </TD> 273</TR> 274<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 275 <TD VALIGN="TOP" WIDTH="25%"> 276 <A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab)"></A> 277 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#addTab(android.app.ActionBar.Tab)" target="_top"><code>addTab</code></A>(<code>Tab</code>) </nobr> 278 </TD> 279 <TD VALIGN="TOP" WIDTH="30%"> 280<b>Now deprecated</b>.<br> 281 </TD> 282 <TD> </TD> 283</TR> 284<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 285 <TD VALIGN="TOP" WIDTH="25%"> 286 <A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab, boolean)"></A> 287 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#addTab(android.app.ActionBar.Tab, boolean)" target="_top"><code>addTab</code></A>(<code>Tab,</nobr> boolean<nobr><nobr></code>) </nobr> 288 </TD> 289 <TD VALIGN="TOP" WIDTH="30%"> 290<b>Now deprecated</b>.<br> 291 </TD> 292 <TD> </TD> 293</TR> 294<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 295 <TD VALIGN="TOP" WIDTH="25%"> 296 <A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab, int)"></A> 297 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#addTab(android.app.ActionBar.Tab, int)" target="_top"><code>addTab</code></A>(<code>Tab,</nobr> int<nobr><nobr></code>) </nobr> 298 </TD> 299 <TD VALIGN="TOP" WIDTH="30%"> 300<b>Now deprecated</b>.<br> 301 </TD> 302 <TD> </TD> 303</TR> 304<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 305 <TD VALIGN="TOP" WIDTH="25%"> 306 <A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab, int, boolean)"></A> 307 <nobr><code>void</code> <A HREF="../../../../reference/android/app/ActionBar.html#addTab(android.app.ActionBar.Tab, int, boolean)" target="_top"><code>addTab</code></A>(<code>Tab,</nobr> int<nobr>,</nobr> boolean<nobr><nobr></code>) </nobr> 308 </TD> 309 <TD VALIGN="TOP" WIDTH="30%"> 310<b>Now deprecated</b>.<br> 311 </TD> 312 <TD> </TD> 313</TR> 314</TABLE> 315 316<a NAME="fields"></a> 317<p> 318<a NAME="Changed"></a> 319<TABLE summary="Changed Fields" WIDTH="100%"> 320<TR> 321 <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD> 322</TH> 323<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 324 <TD VALIGN="TOP" WIDTH="25%"> 325 <A NAME="android.app.ActionBar.NAVIGATION_MODE_LIST"></A> 326 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#NAVIGATION_MODE_LIST" target="_top"><code>NAVIGATION_MODE_LIST</code></font></A></nobr> </TD> 327 <TD VALIGN="TOP" WIDTH="30%"> 328<b>Now deprecated</b>.<br> 329 </TD> 330 <TD> </TD> 331</TR> 332<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 333 <TD VALIGN="TOP" WIDTH="25%"> 334 <A NAME="android.app.ActionBar.NAVIGATION_MODE_STANDARD"></A> 335 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#NAVIGATION_MODE_STANDARD" target="_top"><code>NAVIGATION_MODE_STANDARD</code></font></A></nobr> </TD> 336 <TD VALIGN="TOP" WIDTH="30%"> 337<b>Now deprecated</b>.<br> 338 </TD> 339 <TD> </TD> 340</TR> 341<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> 342 <TD VALIGN="TOP" WIDTH="25%"> 343 <A NAME="android.app.ActionBar.NAVIGATION_MODE_TABS"></A> 344 <nobr><code>int</code> <A HREF="../../../../reference/android/app/ActionBar.html#NAVIGATION_MODE_TABS" target="_top"><code>NAVIGATION_MODE_TABS</code></font></A></nobr> </TD> 345 <TD VALIGN="TOP" WIDTH="30%"> 346<b>Now deprecated</b>.<br> 347 </TD> 348 <TD> </TD> 349</TR> 350</TABLE> 351 352 </div> 353 <div id="footer"> 354 <div id="copyright"> 355 Except as noted, this content is licensed under 356 <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. 357 For details and restrictions, see the <a href="/license.html">Content License</a>. 358 </div> 359 <div id="footerlinks"> 360 <p> 361 <a href="//www.android.com/terms.html">Site Terms of Service</a> - 362 <a href="//www.android.com/privacy.html">Privacy Policy</a> - 363 <a href="//www.android.com/branding.html">Brand Guidelines</a> 364 </p> 365 </div> 366 </div> <!-- end footer --> 367 </div><!-- end doc-content --> 368 </div> <!-- end body-content --> 369<script src="//www.google-analytics.com/ga.js" type="text/javascript"> 370</script> 371<script type="text/javascript"> 372 try { 373 var pageTracker = _gat._getTracker("UA-5831155-1"); 374 pageTracker._setAllowAnchor(true); 375 pageTracker._initData(); 376 pageTracker._trackPageview(); 377 } catch(e) {} 378</script> 379</BODY> 380</HTML> 381