blob: aa5c5f36207633cd6d55559847e258e808bca887 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<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.">
<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
<TITLE>
android.app.ActionBar
</TITLE>
<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
<noscript>
<style type="text/css">
body{overflow:auto;}
#body-content{position:relative; top:0;}
#doc-content{overflow:visible;border-left:3px solid #666;}
#side-nav{padding:0;}
#side-nav .toggle-list ul {display:block;}
#resize-packages-nav{border-bottom:3px solid #666;}
</style>
</noscript>
<style type="text/css">
</style>
</HEAD>
<BODY>
<!-- Start of nav bar -->
<a name="top"></a>
<div id="header" style="margin-bottom:0;padding-bottom:0;">
<div id="headerLeft">
<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
</div>
<div id="headerRight">
<div id="headerLinks">
<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
<span class="text">
<!-- &nbsp;<a href="#">English</a> | -->
<nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr>
</span>
</div>
<div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
<table class="diffspectable">
<tr>
<td colspan="2" class="diffspechead">API Diff Specification</td>
</tr>
<tr>
<td class="diffspec" style="padding-top:.25em">To Level:</td>
<td class="diffvaluenew" style="padding-top:.25em">21</td>
</tr>
<tr>
<td class="diffspec">From Level:</td>
<td class="diffvalueold">20</td>
</tr>
<tr>
<td class="diffspec">Generated</td>
<td class="diffvalue">2014.10.15 15:01</td>
</tr>
</table>
</div><!-- End and-diff-id -->
<div class="and-diff-id" style="margin-right:8px;">
<table class="diffspectable">
<tr>
<td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
</tr>
</table>
</div> <!-- End and-diff-id -->
</div> <!-- End headerRight -->
</div> <!-- End header -->
<div id="body-content" xstyle="padding:12px;padding-right:18px;">
<div id="doc-content" style="position:relative;">
<div id="mainBodyFluid">
<H2>
Class android.app.<A HREF="../../../../reference/android/app/ActionBar.html" target="_top"><font size="+2"><code>ActionBar</code></font></A>
</H2>
<a NAME="constructors"></a>
<a NAME="methods"></a>
<p>
<a NAME="Added"></a>
<TABLE summary="Added Methods" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getElevation_added()"></A>
<nobr><code>float</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getElevation()" target="_top"><code>getElevation</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getHideOffset_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getHideOffset()" target="_top"><code>getHideOffset</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.isHideOnContentScrollEnabled_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#isHideOnContentScrollEnabled()" target="_top"><code>isHideOnContentScrollEnabled</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.setElevation_added(float)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#setElevation(float)" target="_top"><code>setElevation</code></A>(<code>float</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.setHideOffset_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#setHideOffset(int)" target="_top"><code>setHideOffset</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.setHideOnContentScrollEnabled_added(boolean)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#setHideOnContentScrollEnabled(boolean)" target="_top"><code>setHideOnContentScrollEnabled</code></A>(<code>boolean</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<p>
<a NAME="Changed"></a>
<TABLE summary="Changed Methods" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getNavigationItemCount_changed()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getNavigationItemCount()" target="_top"><code>getNavigationItemCount</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getNavigationMode_changed()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getNavigationMode()" target="_top"><code>getNavigationMode</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getSelectedNavigationIndex_changed()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getSelectedNavigationIndex()" target="_top"><code>getSelectedNavigationIndex</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getSelectedTab_changed()"></A>
<nobr><code>Tab</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getSelectedTab()" target="_top"><code>getSelectedTab</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getTabAt_changed(int)"></A>
<nobr><code>Tab</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getTabAt(int)" target="_top"><code>getTabAt</code></A>(<code>int</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.getTabCount_changed()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#getTabCount()" target="_top"><code>getTabCount</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.newTab_changed()"></A>
<nobr><code>Tab</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#newTab()" target="_top"><code>newTab</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.removeAllTabs_changed()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#removeAllTabs()" target="_top"><code>removeAllTabs</code></A>() </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.removeTab_changed(android.app.ActionBar.Tab)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#removeTab(android.app.ActionBar.Tab)" target="_top"><code>removeTab</code></A>(<code>Tab</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.removeTabAt_changed(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#removeTabAt(int)" target="_top"><code>removeTabAt</code></A>(<code>int</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.selectTab_changed(android.app.ActionBar.Tab)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#selectTab(android.app.ActionBar.Tab)" target="_top"><code>selectTab</code></A>(<code>Tab</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.setListNavigationCallbacks_changed(android.widget.SpinnerAdapter, android.app.ActionBar.OnNavigationListener)"></A>
<nobr><code>void</code>&nbsp;<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>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.setNavigationMode_changed(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#setNavigationMode(int)" target="_top"><code>setNavigationMode</code></A>(<code>int</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.setSelectedNavigationItem_changed(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#setSelectedNavigationItem(int)" target="_top"><code>setSelectedNavigationItem</code></A>(<code>int</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#addTab(android.app.ActionBar.Tab)" target="_top"><code>addTab</code></A>(<code>Tab</code>) </nobr>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab, boolean)"></A>
<nobr><code>void</code>&nbsp;<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>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab, int)"></A>
<nobr><code>void</code>&nbsp;<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>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.addTab_changed(android.app.ActionBar.Tab, int, boolean)"></A>
<nobr><code>void</code>&nbsp;<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>
</TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
<p>
<a NAME="Changed"></a>
<TABLE summary="Changed Fields" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.NAVIGATION_MODE_LIST"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#NAVIGATION_MODE_LIST" target="_top"><code>NAVIGATION_MODE_LIST</code></font></A></nobr> </TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.NAVIGATION_MODE_STANDARD"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#NAVIGATION_MODE_STANDARD" target="_top"><code>NAVIGATION_MODE_STANDARD</code></font></A></nobr> </TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.app.ActionBar.NAVIGATION_MODE_TABS"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/app/ActionBar.html#NAVIGATION_MODE_TABS" target="_top"><code>NAVIGATION_MODE_TABS</code></font></A></nobr> </TD>
<TD VALIGN="TOP" WIDTH="30%">
<b>Now deprecated</b>.<br>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
</div>
<div id="footer">
<div id="copyright">
Except as noted, this content is licensed under
<a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
For details and restrictions, see the <a href="/license.html">Content License</a>.
</div>
<div id="footerlinks">
<p>
<a href="//www.android.com/terms.html">Site Terms of Service</a> -
<a href="//www.android.com/privacy.html">Privacy Policy</a> -
<a href="//www.android.com/branding.html">Brand Guidelines</a>
</p>
</div>
</div> <!-- end footer -->
</div><!-- end doc-content -->
</div> <!-- end body-content -->
<script src="//www.google-analytics.com/ga.js" type="text/javascript">
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5831155-1");
pageTracker._setAllowAnchor(true);
pageTracker._initData();
pageTracker._trackPageview();
} catch(e) {}
</script>
</BODY>
</HTML>