blob: ee9d1c29b4c856061de40f6c3b9355ee3e87a3b2 [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">17</td>
</tr>
<tr>
<td class="diffspec">From Level:</td>
<td class="diffvalueold">16</td>
</tr>
<tr>
<td class="diffspec">Generated</td>
<td class="diffvalue">2012.11.12 19:50</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.generateViewId_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#generateViewId()" target="_top"><code>generateViewId</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getDisplay_added()"></A>
<nobr><code>Display</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getDisplay()" target="_top"><code>getDisplay</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getLabelFor_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getLabelFor()" target="_top"><code>getLabelFor</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getLayoutDirection_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getLayoutDirection()" target="_top"><code>getLayoutDirection</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getPaddingEnd_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getPaddingEnd()" target="_top"><code>getPaddingEnd</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getPaddingStart_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getPaddingStart()" target="_top"><code>getPaddingStart</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getTextAlignment_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getTextAlignment()" target="_top"><code>getTextAlignment</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.getTextDirection_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getTextDirection()" target="_top"><code>getTextDirection</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.isPaddingRelative_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#isPaddingRelative()" target="_top"><code>isPaddingRelative</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.onRtlPropertiesChanged_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#onRtlPropertiesChanged(int)" target="_top"><code>onRtlPropertiesChanged</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.setLabelFor_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setLabelFor(int)" target="_top"><code>setLabelFor</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.setLayerPaint_added(android.graphics.Paint)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setLayerPaint(android.graphics.Paint)" target="_top"><code>setLayerPaint</code></A>(<code>Paint</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setLayoutDirection_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setLayoutDirection(int)" target="_top"><code>setLayoutDirection</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.setPaddingRelative_added(int, int, int, int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.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>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.setTextAlignment_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setTextAlignment(int)" target="_top"><code>setTextAlignment</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.setTextDirection_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setTextDirection(int)" target="_top"><code>setTextDirection</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
<p>
<a NAME="Removed"></a>
<TABLE summary="Removed Fields" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Removed Fields</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_RESOLVED_DEFAULT"></A>
<code>int</code>&nbsp;TEXT_ALIGNMENT_RESOLVED_DEFAULT
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<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.LAYOUT_DIRECTION_INHERIT"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_INHERIT" target="_top"><code>LAYOUT_DIRECTION_INHERIT</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.LAYOUT_DIRECTION_LOCALE"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_LOCALE" target="_top"><code>LAYOUT_DIRECTION_LOCALE</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.LAYOUT_DIRECTION_LTR"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_LTR" target="_top"><code>LAYOUT_DIRECTION_LTR</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.LAYOUT_DIRECTION_RTL"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_RTL" target="_top"><code>LAYOUT_DIRECTION_RTL</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_CENTER"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_CENTER" target="_top"><code>TEXT_ALIGNMENT_CENTER</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_GRAVITY"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_GRAVITY" target="_top"><code>TEXT_ALIGNMENT_GRAVITY</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_TEXT_END"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_TEXT_END" target="_top"><code>TEXT_ALIGNMENT_TEXT_END</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_TEXT_START"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_TEXT_START" target="_top"><code>TEXT_ALIGNMENT_TEXT_START</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_VIEW_END"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_VIEW_END" target="_top"><code>TEXT_ALIGNMENT_VIEW_END</code></A></nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.view.View.TEXT_ALIGNMENT_VIEW_START"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_VIEW_START" target="_top"><code>TEXT_ALIGNMENT_VIEW_START</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_ANY_RTL"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_ANY_RTL" target="_top"><code>TEXT_DIRECTION_ANY_RTL</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"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_FIRST_STRONG" target="_top"><code>TEXT_DIRECTION_FIRST_STRONG</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_INHERIT"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_INHERIT" target="_top"><code>TEXT_DIRECTION_INHERIT</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_LOCALE"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_LOCALE" target="_top"><code>TEXT_DIRECTION_LOCALE</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_LTR"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_LTR" target="_top"><code>TEXT_DIRECTION_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_RTL"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_RTL" target="_top"><code>TEXT_DIRECTION_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="//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>