blob: 2a15daf4a9322732f962bbf31c7e550d1c597f68 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://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.view.View
</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="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://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">23</td>
</tr>
<tr>
<td class="diffspec">From Level:</td>
<td class="diffvalueold">22</td>
</tr>
<tr>
<td class="diffspec">Generated</td>
<td class="diffvalue">2015.08.14 14:28</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.view.<A HREF="../../../../reference/android/view/View.html" target="_top"><font size="+2"><code>View</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.view.View.dispatchProvideStructure_added(android.view.ViewStructure)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#dispatchProvideStructure(android.view.ViewStructure)" target="_top"><code>dispatchProvideStructure</code></A>(<code>ViewStructure</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getAccessibilityClassName_added()"></A>
<nobr><code>CharSequence</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getAccessibilityClassName()" target="_top"><code>getAccessibilityClassName</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getClipBounds_added(android.graphics.Rect)"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getClipBounds(android.graphics.Rect)" target="_top"><code>getClipBounds</code></A>(<code>Rect</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getForeground_added()"></A>
<nobr><code>Drawable</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getForeground()" target="_top"><code>getForeground</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getForegroundGravity_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getForegroundGravity()" target="_top"><code>getForegroundGravity</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getForegroundTintList_added()"></A>
<nobr><code>ColorStateList</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getForegroundTintList()" target="_top"><code>getForegroundTintList</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getForegroundTintMode_added()"></A>
<nobr><code>Mode</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getForegroundTintMode()" target="_top"><code>getForegroundTintMode</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getRootWindowInsets_added()"></A>
<nobr><code>WindowInsets</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getRootWindowInsets()" target="_top"><code>getRootWindowInsets</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getScrollIndicators_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getScrollIndicators()" target="_top"><code>getScrollIndicators</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.isContextClickable_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#isContextClickable()" target="_top"><code>isContextClickable</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.onDrawForeground_added(android.graphics.Canvas)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#onDrawForeground(android.graphics.Canvas)" target="_top"><code>onDrawForeground</code></A>(<code>Canvas</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.onProvideStructure_added(android.view.ViewStructure)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#onProvideStructure(android.view.ViewStructure)" target="_top"><code>onProvideStructure</code></A>(<code>ViewStructure</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.onProvideVirtualStructure_added(android.view.ViewStructure)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#onProvideVirtualStructure(android.view.ViewStructure)" target="_top"><code>onProvideVirtualStructure</code></A>(<code>ViewStructure</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.performContextClick_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#performContextClick()" target="_top"><code>performContextClick</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setContextClickable_added(boolean)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setContextClickable(boolean)" target="_top"><code>setContextClickable</code></A>(<code>boolean</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setForeground_added(android.graphics.drawable.Drawable)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setForeground(android.graphics.drawable.Drawable)" target="_top"><code>setForeground</code></A>(<code>Drawable</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setForegroundGravity_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setForegroundGravity(int)" target="_top"><code>setForegroundGravity</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setForegroundTintList_added(android.content.res.ColorStateList)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setForegroundTintList(android.content.res.ColorStateList)" target="_top"><code>setForegroundTintList</code></A>(<code>ColorStateList</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setForegroundTintMode_added(android.graphics.PorterDuff.Mode)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setForegroundTintMode(android.graphics.PorterDuff.Mode)" target="_top"><code>setForegroundTintMode</code></A>(<code>Mode</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setOnContextClickListener_added(android.view.View.OnContextClickListener)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setOnContextClickListener(android.view.View.OnContextClickListener)" target="_top"><code>setOnContextClickListener</code></A>(<code>OnContextClickListener</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setOnScrollChangeListener_added(android.view.View.OnScrollChangeListener)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setOnScrollChangeListener(android.view.View.OnScrollChangeListener)" target="_top"><code>setOnScrollChangeListener</code></A>(<code>OnScrollChangeListener</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setScrollIndicators_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setScrollIndicators(int)" target="_top"><code>setScrollIndicators</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setScrollIndicators_added(int, int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setScrollIndicators(int, int)" target="_top"><code>setScrollIndicators</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.startActionMode_added(android.view.ActionMode.Callback, int)"></A>
<nobr><code>ActionMode</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#startActionMode(android.view.ActionMode.Callback, int)" target="_top"><code>startActionMode</code></A>(<code>Callback,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
<p>
<a NAME="Added"></a>
<TABLE summary="Added Fields" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SCROLL_INDICATOR_BOTTOM"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SCROLL_INDICATOR_BOTTOM" target="_top"><code>SCROLL_INDICATOR_BOTTOM</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SCROLL_INDICATOR_END"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SCROLL_INDICATOR_END" target="_top"><code>SCROLL_INDICATOR_END</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SCROLL_INDICATOR_LEFT"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SCROLL_INDICATOR_LEFT" target="_top"><code>SCROLL_INDICATOR_LEFT</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SCROLL_INDICATOR_RIGHT"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SCROLL_INDICATOR_RIGHT" target="_top"><code>SCROLL_INDICATOR_RIGHT</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SCROLL_INDICATOR_START"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SCROLL_INDICATOR_START" target="_top"><code>SCROLL_INDICATOR_START</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SCROLL_INDICATOR_TOP"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SCROLL_INDICATOR_TOP" target="_top"><code>SCROLL_INDICATOR_TOP</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR" target="_top"><code>SYSTEM_UI_FLAG_LIGHT_STATUS_BAR</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_DIRECTION_FIRST_STRONG_LTR"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_FIRST_STRONG_LTR" target="_top"><code>TEXT_DIRECTION_FIRST_STRONG_LTR</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_DIRECTION_FIRST_STRONG_RTL"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_FIRST_STRONG_RTL" target="_top"><code>TEXT_DIRECTION_FIRST_STRONG_RTL</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
</div>
<div id="footer">
<div id="copyright">
Except as noted, this content is licensed under
<a href="http://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="http://www.android.com/terms.html">Site Terms of Service</a> -
<a href="http://www.android.com/privacy.html">Privacy Policy</a> -
<a href="http://www.android.com/branding.html">Brand Guidelines</a>
</p>
</div>
</div> <!-- end footer -->
</div><!-- end doc-content -->
</div> <!-- end body-content -->
<script src="http://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>