Home | History | Annotate | Download | only in changes
      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.view.View
     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 <!-- &nbsp;<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">17</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">16</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2012.11.12 19:50</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.view.<A HREF="../../../../reference/android/view/View.html" target="_top"><font size="+2"><code>View</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.view.View.generateViewId_added()"></A>
     87   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#generateViewId()" target="_top"><code>generateViewId</code></A>()</nobr>
     88   </TD>
     89   <TD>&nbsp;</TD>
     90 </TR>
     91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     92   <TD VALIGN="TOP" WIDTH="25%">
     93   <A NAME="android.view.View.getDisplay_added()"></A>
     94   <nobr><code>Display</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getDisplay()" target="_top"><code>getDisplay</code></A>()</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     99   <TD VALIGN="TOP" WIDTH="25%">
    100   <A NAME="android.view.View.getLabelFor_added()"></A>
    101   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getLabelFor()" target="_top"><code>getLabelFor</code></A>()</nobr>
    102   </TD>
    103   <TD>&nbsp;</TD>
    104 </TR>
    105 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    106   <TD VALIGN="TOP" WIDTH="25%">
    107   <A NAME="android.view.View.getLayoutDirection_added()"></A>
    108   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getLayoutDirection()" target="_top"><code>getLayoutDirection</code></A>()</nobr>
    109   </TD>
    110   <TD>&nbsp;</TD>
    111 </TR>
    112 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    113   <TD VALIGN="TOP" WIDTH="25%">
    114   <A NAME="android.view.View.getPaddingEnd_added()"></A>
    115   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getPaddingEnd()" target="_top"><code>getPaddingEnd</code></A>()</nobr>
    116   </TD>
    117   <TD>&nbsp;</TD>
    118 </TR>
    119 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    120   <TD VALIGN="TOP" WIDTH="25%">
    121   <A NAME="android.view.View.getPaddingStart_added()"></A>
    122   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getPaddingStart()" target="_top"><code>getPaddingStart</code></A>()</nobr>
    123   </TD>
    124   <TD>&nbsp;</TD>
    125 </TR>
    126 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    127   <TD VALIGN="TOP" WIDTH="25%">
    128   <A NAME="android.view.View.getTextAlignment_added()"></A>
    129   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getTextAlignment()" target="_top"><code>getTextAlignment</code></A>()</nobr>
    130   </TD>
    131   <TD>&nbsp;</TD>
    132 </TR>
    133 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    134   <TD VALIGN="TOP" WIDTH="25%">
    135   <A NAME="android.view.View.getTextDirection_added()"></A>
    136   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#getTextDirection()" target="_top"><code>getTextDirection</code></A>()</nobr>
    137   </TD>
    138   <TD>&nbsp;</TD>
    139 </TR>
    140 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    141   <TD VALIGN="TOP" WIDTH="25%">
    142   <A NAME="android.view.View.isPaddingRelative_added()"></A>
    143   <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#isPaddingRelative()" target="_top"><code>isPaddingRelative</code></A>()</nobr>
    144   </TD>
    145   <TD>&nbsp;</TD>
    146 </TR>
    147 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    148   <TD VALIGN="TOP" WIDTH="25%">
    149   <A NAME="android.view.View.onRtlPropertiesChanged_added(int)"></A>
    150   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#onRtlPropertiesChanged(int)" target="_top"><code>onRtlPropertiesChanged</code></A>(<code>int</code>)</nobr>
    151   </TD>
    152   <TD>&nbsp;</TD>
    153 </TR>
    154 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    155   <TD VALIGN="TOP" WIDTH="25%">
    156   <A NAME="android.view.View.setLabelFor_added(int)"></A>
    157   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setLabelFor(int)" target="_top"><code>setLabelFor</code></A>(<code>int</code>)</nobr>
    158   </TD>
    159   <TD>&nbsp;</TD>
    160 </TR>
    161 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    162   <TD VALIGN="TOP" WIDTH="25%">
    163   <A NAME="android.view.View.setLayerPaint_added(android.graphics.Paint)"></A>
    164   <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>
    165   </TD>
    166   <TD>&nbsp;</TD>
    167 </TR>
    168 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    169   <TD VALIGN="TOP" WIDTH="25%">
    170   <A NAME="android.view.View.setLayoutDirection_added(int)"></A>
    171   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setLayoutDirection(int)" target="_top"><code>setLayoutDirection</code></A>(<code>int</code>)</nobr>
    172   </TD>
    173   <TD>&nbsp;</TD>
    174 </TR>
    175 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    176   <TD VALIGN="TOP" WIDTH="25%">
    177   <A NAME="android.view.View.setPaddingRelative_added(int, int, int, int)"></A>
    178   <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>
    179   </TD>
    180   <TD>&nbsp;</TD>
    181 </TR>
    182 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    183   <TD VALIGN="TOP" WIDTH="25%">
    184   <A NAME="android.view.View.setTextAlignment_added(int)"></A>
    185   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setTextAlignment(int)" target="_top"><code>setTextAlignment</code></A>(<code>int</code>)</nobr>
    186   </TD>
    187   <TD>&nbsp;</TD>
    188 </TR>
    189 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    190   <TD VALIGN="TOP" WIDTH="25%">
    191   <A NAME="android.view.View.setTextDirection_added(int)"></A>
    192   <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#setTextDirection(int)" target="_top"><code>setTextDirection</code></A>(<code>int</code>)</nobr>
    193   </TD>
    194   <TD>&nbsp;</TD>
    195 </TR>
    196 </TABLE>
    197 &nbsp;
    198 <a NAME="fields"></a>
    199 <p>
    200 <a NAME="Removed"></a>
    201 <TABLE summary="Removed Fields" WIDTH="100%">
    202 <TR>
    203   <TH VALIGN="TOP" COLSPAN=2>Removed Fields</FONT></TD>
    204 </TH>
    205 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    206   <TD VALIGN="TOP" WIDTH="25%">
    207   <A NAME="android.view.View.TEXT_ALIGNMENT_RESOLVED_DEFAULT"></A>
    208   <code>int</code>&nbsp;TEXT_ALIGNMENT_RESOLVED_DEFAULT
    209   </TD>
    210   <TD>&nbsp;</TD>
    211 </TR>
    212 </TABLE>
    213 &nbsp;
    214 <p>
    215 <a NAME="Added"></a>
    216 <TABLE summary="Added Fields" WIDTH="100%">
    217 <TR>
    218   <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
    219 </TH>
    220 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    221   <TD VALIGN="TOP" WIDTH="25%">
    222   <A NAME="android.view.View.LAYOUT_DIRECTION_INHERIT"></A>
    223   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_INHERIT" target="_top"><code>LAYOUT_DIRECTION_INHERIT</code></A></nobr>
    224   </TD>
    225   <TD>&nbsp;</TD>
    226 </TR>
    227 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    228   <TD VALIGN="TOP" WIDTH="25%">
    229   <A NAME="android.view.View.LAYOUT_DIRECTION_LOCALE"></A>
    230   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_LOCALE" target="_top"><code>LAYOUT_DIRECTION_LOCALE</code></A></nobr>
    231   </TD>
    232   <TD>&nbsp;</TD>
    233 </TR>
    234 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    235   <TD VALIGN="TOP" WIDTH="25%">
    236   <A NAME="android.view.View.LAYOUT_DIRECTION_LTR"></A>
    237   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_LTR" target="_top"><code>LAYOUT_DIRECTION_LTR</code></A></nobr>
    238   </TD>
    239   <TD>&nbsp;</TD>
    240 </TR>
    241 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    242   <TD VALIGN="TOP" WIDTH="25%">
    243   <A NAME="android.view.View.LAYOUT_DIRECTION_RTL"></A>
    244   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#LAYOUT_DIRECTION_RTL" target="_top"><code>LAYOUT_DIRECTION_RTL</code></A></nobr>
    245   </TD>
    246   <TD>&nbsp;</TD>
    247 </TR>
    248 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    249   <TD VALIGN="TOP" WIDTH="25%">
    250   <A NAME="android.view.View.TEXT_ALIGNMENT_CENTER"></A>
    251   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_CENTER" target="_top"><code>TEXT_ALIGNMENT_CENTER</code></A></nobr>
    252   </TD>
    253   <TD>&nbsp;</TD>
    254 </TR>
    255 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    256   <TD VALIGN="TOP" WIDTH="25%">
    257   <A NAME="android.view.View.TEXT_ALIGNMENT_GRAVITY"></A>
    258   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_ALIGNMENT_GRAVITY" target="_top"><code>TEXT_ALIGNMENT_GRAVITY</code></A></nobr>
    259   </TD>
    260   <TD>&nbsp;</TD>
    261 </TR>
    262 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    263   <TD VALIGN="TOP" WIDTH="25%">
    264   <A NAME="android.view.View.TEXT_ALIGNMENT_TEXT_END"></A>
    265   <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>
    266   </TD>
    267   <TD>&nbsp;</TD>
    268 </TR>
    269 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    270   <TD VALIGN="TOP" WIDTH="25%">
    271   <A NAME="android.view.View.TEXT_ALIGNMENT_TEXT_START"></A>
    272   <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>
    273   </TD>
    274   <TD>&nbsp;</TD>
    275 </TR>
    276 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    277   <TD VALIGN="TOP" WIDTH="25%">
    278   <A NAME="android.view.View.TEXT_ALIGNMENT_VIEW_END"></A>
    279   <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>
    280   </TD>
    281   <TD>&nbsp;</TD>
    282 </TR>
    283 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    284   <TD VALIGN="TOP" WIDTH="25%">
    285   <A NAME="android.view.View.TEXT_ALIGNMENT_VIEW_START"></A>
    286   <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>
    287   </TD>
    288   <TD>&nbsp;</TD>
    289 </TR>
    290 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    291   <TD VALIGN="TOP" WIDTH="25%">
    292   <A NAME="android.view.View.TEXT_DIRECTION_ANY_RTL"></A>
    293   <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>
    294   </TD>
    295   <TD>&nbsp;</TD>
    296 </TR>
    297 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    298   <TD VALIGN="TOP" WIDTH="25%">
    299   <A NAME="android.view.View.TEXT_DIRECTION_FIRST_STRONG"></A>
    300   <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>
    301   </TD>
    302   <TD>&nbsp;</TD>
    303 </TR>
    304 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    305   <TD VALIGN="TOP" WIDTH="25%">
    306   <A NAME="android.view.View.TEXT_DIRECTION_INHERIT"></A>
    307   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_INHERIT" target="_top"><code>TEXT_DIRECTION_INHERIT</code></A></nobr>
    308   </TD>
    309   <TD>&nbsp;</TD>
    310 </TR>
    311 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    312   <TD VALIGN="TOP" WIDTH="25%">
    313   <A NAME="android.view.View.TEXT_DIRECTION_LOCALE"></A>
    314   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_LOCALE" target="_top"><code>TEXT_DIRECTION_LOCALE</code></A></nobr>
    315   </TD>
    316   <TD>&nbsp;</TD>
    317 </TR>
    318 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    319   <TD VALIGN="TOP" WIDTH="25%">
    320   <A NAME="android.view.View.TEXT_DIRECTION_LTR"></A>
    321   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_LTR" target="_top"><code>TEXT_DIRECTION_LTR</code></A></nobr>
    322   </TD>
    323   <TD>&nbsp;</TD>
    324 </TR>
    325 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    326   <TD VALIGN="TOP" WIDTH="25%">
    327   <A NAME="android.view.View.TEXT_DIRECTION_RTL"></A>
    328   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/view/View.html#TEXT_DIRECTION_RTL" target="_top"><code>TEXT_DIRECTION_RTL</code></A></nobr>
    329   </TD>
    330   <TD>&nbsp;</TD>
    331 </TR>
    332 </TABLE>
    333 &nbsp;
    334       </div>	
    335       <div id="footer">
    336         <div id="copyright">
    337         Except as noted, this content is licensed under 
    338         <a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    339         For details and restrictions, see the <a href="/license.html">Content License</a>.
    340         </div>
    341       <div id="footerlinks">
    342       <p>
    343         <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
    344         <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
    345         <a href="http://www.android.com/branding.html">Brand Guidelines</a>
    346       </p>
    347     </div>
    348     </div> <!-- end footer -->
    349     </div><!-- end doc-content -->
    350     </div> <!-- end body-content --> 
    351 <script src="//www.google-analytics.com/ga.js" type="text/javascript">
    352 </script>
    353 <script type="text/javascript">
    354   try {
    355     var pageTracker = _gat._getTracker("UA-5831155-1");
    356     pageTracker._setAllowAnchor(true);
    357     pageTracker._initData();
    358     pageTracker._trackPageview();
    359   } catch(e) {}
    360 </script>
    361 </BODY>
    362 </HTML>
    363