1<!DOCTYPE html>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98<html>
99<head>
100
101
102<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
103<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
104<meta content="IE=edge" http-equiv="X-UA-Compatible">
105
106<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
107<title>R | Android Developers</title>
108
109<!-- STYLESHEETS -->
110<link rel="stylesheet"
111href="http://fonts.googleapis.com/css?family=Roboto+Condensed">
112<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
113  title="roboto">
114
115<link href="../../../../assets/css/default.css?v=7" rel="stylesheet" type="text/css">
116
117
118<!-- FULLSCREEN STYLESHEET -->
119<link href="../../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen"
120type="text/css">
121
122
123<!-- JAVASCRIPT -->
124<script src="http://www.google.com/jsapi" type="text/javascript"></script>
125<script src="../../../../assets/js/android_3p-bundle.js" type="text/javascript"></script>
126<script type="text/javascript">
127  var toRoot = "../../../../";
128  var metaTags = [];
129  var devsite = false;
130</script>
131<script src="../../../../assets/js/docs.js?v=6" type="text/javascript"></script>
132
133
134
135<script>
136  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
137  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
138  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
139  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
140
141  ga('create', 'UA-5831155-1', 'android.com');
142  ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'});  // New tracker);
143  ga('send', 'pageview');
144  ga('universal.send', 'pageview'); // Send page view for new tracker.
145</script>
146
147</head>
148
149<body class="gc-documentation
150  develop reference" itemscope itemtype="http://schema.org/Article">
151  <div id="doc-api-level" class="" style="display:none"></div>
152  <a name="top"></a>
153
154<a name="top"></a>
155
156<!-- dialog to prompt lang pref change when loaded from hardcoded URL
157<div id="langMessage" style="display:none">
158  <div>
159    <div class="lang en">
160      <p>You requested a page in English, would you like to proceed with this language setting?</p>
161    </div>
162    <div class="lang es">
163      <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p>
164    </div>
165    <div class="lang ja">
166      <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p>
167    </div>
168    <div class="lang ko">
169      <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p>
170    </div>
171    <div class="lang ru">
172      <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p>
173    </div>
174    <div class="lang zh-cn">
175      <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p>
176    </div>
177    <div class="lang zh-tw">
178      <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p>
179    </div>
180    <a href="#" class="button yes" onclick="return false;">
181      <span class="lang en">Yes</span>
182      <span class="lang es">Sí</span>
183      <span class="lang ja">Yes</span>
184      <span class="lang ko">Yes</span>
185      <span class="lang ru">Yes</span>
186      <span class="lang zh-cn">是的</span>
187      <span class="lang zh-tw">没有</span>
188    </a>
189    <a href="#" class="button" onclick="$('#langMessage').hide();return false;">
190      <span class="lang en">No</span>
191      <span class="lang es">No</span>
192      <span class="lang ja">No</span>
193      <span class="lang ko">No</span>
194      <span class="lang ru">No</span>
195      <span class="lang zh-cn">没有</span>
196      <span class="lang zh-tw">没有</span>
197    </a>
198  </div>
199</div> -->
200
201
202  <!-- Header -->
203  <div id="header-wrapper">
204    <div class="dac-header" id="header">
205
206
207
208
209      <div class="dac-header-inner">
210        <a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation">
211          <span class="dac-nav-hamburger">
212            <span class="dac-nav-hamburger-top"></span>
213            <span class="dac-nav-hamburger-mid"></span>
214            <span class="dac-nav-hamburger-bot"></span>
215          </span>
216        </a>
217        <a class="dac-header-logo" href="../../../../index.html">
218          <img class="dac-header-logo-image" src="../../../../assets/images/android_logo.png"
219              srcset="../../../../assets/images/android_logo@2x.png 2x"
220              width="32" height="36" alt="Android" /> Developers
221          </a>
222
223        <ul class="dac-header-crumbs">
224
225          <li class="dac-header-crumbs-item"><span class="dac-header-crumbs-link current ">R</a></li>
226        </ul>
227
228
229
230
231  <div class="dac-header-search" id="search-container">
232    <div class="dac-header-search-inner">
233      <div class="dac-sprite dac-search dac-header-search-btn" id="search-btn"></div>
234      <form class="dac-header-search-form" onsubmit="return submit_search()">
235        <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
236          onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
237          onkeydown="return search_changed(event, true, '../../../../')"
238          onkeyup="return search_changed(event, false, '../../../../')"
239          class="dac-header-search-input" placeholder="Search" />
240          <a class="dac-header-search-close hide" id="search-close">close</a>
241      </form>
242    </div><!-- end dac-header-search-inner -->
243  </div><!-- end dac-header-search -->
244
245  <div class="search_filtered_wrapper">
246    <div class="suggest-card reference no-display">
247      <ul class="search_filtered">
248      </ul>
249    </div>
250    <div class="suggest-card develop no-display">
251      <ul class="search_filtered">
252      </ul>
253      <div class="child-card guides no-display">
254      </div>
255      <div class="child-card training no-display">
256      </div>
257      <div class="child-card samples no-display">
258      </div>
259    </div>
260    <div class="suggest-card design no-display">
261      <ul class="search_filtered">
262      </ul>
263    </div>
264    <div class="suggest-card distribute no-display">
265      <ul class="search_filtered">
266      </ul>
267    </div>
268  </div>
269
270
271
272        <a class="dac-header-console-btn" href="https://play.google.com/apps/publish/">
273          <span class="dac-sprite dac-google-play"></span>
274          <span class="dac-visible-desktop-inline">Developer</span>
275          Console
276        </a>
277
278      </div><!-- end header-wrap.wrap -->
279    </div><!-- end header -->
280
281    <div id="searchResults" class="wrap" style="display:none;">
282      <h2 id="searchTitle">Results</h2>
283      <div id="leftSearchControl" class="search-control">Loading...</div>
284    </div>
285  </div> <!--end header-wrapper -->
286
287
288  <!-- Navigation-->
289  <nav class="dac-nav">
290    <div class="dac-nav-dimmer" data-dac-toggle-nav></div>
291
292    <ul class="dac-nav-list" data-dac-nav>
293      <li class="dac-nav-item dac-nav-head">
294        <a class="dac-nav-link dac-nav-logo" data-dac-toggle-nav href="javascript:;" title="Close navigation">
295          <img class="dac-logo-image" src="../../../../assets/images/android_logo.png"
296               srcset="../../../../assets/images/android_logo@2x.png 2x"
297               width="32" height="36" alt="Android" /> Developers
298        </a>
299      </li>
300      <li class="dac-nav-item home">
301        <a class="dac-nav-link dac-visible-mobile-block" href="../../../../index.html">Home</a>
302        <ul class="dac-nav-secondary about">
303          <li class="dac-nav-item about">
304            <a class="dac-nav-link" href="../../../../about/index.html">Android</a>
305          </li>
306          <li class="dac-nav-item wear">
307            <a class="dac-nav-link" href="../../../../wear/index.html">Wear</a>
308          </li>
309          <li class="dac-nav-item tv">
310            <a class="dac-nav-link" href="../../../../tv/index.html">TV</a>
311          </li>
312          <li class="dac-nav-item auto">
313            <a class="dac-nav-link" href="../../../../auto/index.html">Auto</a>
314          </li>
315        </ul>
316      </li>
317      <li class="dac-nav-item design">
318        <a class="dac-nav-link" href="../../../../design/index.html"
319           zh-tw-lang="設計"
320           zh-cn-lang="设计"
321           ru-lang="Проектирование"
322           ko-lang="디자인"
323           ja-lang="設計"
324           es-lang="Diseñar">Design</a>
325      </li>
326      <li class="dac-nav-item develop">
327        <a class="dac-nav-link" href="../../../../develop/index.html"
328           zh-tw-lang="開發"
329           zh-cn-lang="开发"
330           ru-lang="Разработка"
331           ko-lang="개발"
332           ja-lang="開発"
333           es-lang="Desarrollar">Develop</a>
334        <ul class="dac-nav-secondary develop">
335          <li class="dac-nav-item training">
336            <a class="dac-nav-link" href="../../../../training/index.html"
337               zh-tw-lang="訓練課程"
338               zh-cn-lang="培训"
339               ru-lang="Курсы"
340               ko-lang="교육"
341               ja-lang="トレーニング"
342               es-lang="Capacitación">Training</a>
343          </li>
344          <li class="dac-nav-item guide">
345            <a class="dac-nav-link" href="../../../../guide/index.html"
346               zh-tw-lang="API 指南"
347               zh-cn-lang="API 指南"
348               ru-lang="Руководства по API"
349               ko-lang="API 가이드"
350               ja-lang="API ガイド"
351               es-lang="Guías de la API">API Guides</a>
352          </li>
353          <li class="dac-nav-item reference">
354            <a class="dac-nav-link" href="../../../../reference/packages.html"
355               zh-tw-lang="參考資源"
356               zh-cn-lang="参考"
357               ru-lang="Справочник"
358               ko-lang="참조문서"
359               ja-lang="リファレンス"
360               es-lang="Referencia">Reference</a>
361          </li>
362          <li class="dac-nav-item tools">
363            <a class="dac-nav-link" href="../../../../sdk/index.html"
364               zh-tw-lang="相關工具"
365               zh-cn-lang="工具"
366               ru-lang="Инструменты"
367               ko-lang="도구"
368               ja-lang="ツール"
369               es-lang="Herramientas">Tools</a></li>
370          <li class="dac-nav-item google">
371            <a class="dac-nav-link" href="../../../../google/index.html">Google Services</a>
372          </li>
373
374          <li class="dac-nav-item preview">
375            <a class="dac-nav-link" href="../../../../preview/index.html">Preview</a>
376          </li>
377        </ul>
378      </li>
379      <li class="dac-nav-item distribute">
380        <a class="dac-nav-link" href="../../../../distribute/googleplay/index.html"
381           zh-tw-lang="發佈"
382           zh-cn-lang="分发"
383           ru-lang="Распространение"
384           ko-lang="배포"
385           ja-lang="配布"
386           es-lang="Distribuir">Distribute</a>
387        <ul class="dac-nav-secondary distribute">
388          <li class="dac-nav-item googleplay">
389            <a class="dac-nav-link" href="../../../../distribute/googleplay/index.html">Google Play</a></li>
390          <li class="dac-nav-item essentials">
391            <a class="dac-nav-link" href="../../../../distribute/essentials/index.html">Essentials</a></li>
392          <li class="dac-nav-item users">
393            <a class="dac-nav-link" href="../../../../distribute/users/index.html">Get Users</a></li>
394          <li class="dac-nav-item engage">
395            <a class="dac-nav-link" href="../../../../distribute/engage/index.html">Engage &amp; Retain</a></li>
396          <li class="dac-nav-item monetize">
397            <a class="dac-nav-link" href="../../../../distribute/monetize/index.html">Earn</a>
398          </li>
399          <li class="dac-nav-item analyze">
400            <a class="dac-nav-link" href="../../../../distribute/analyze/index.html">Analyze</a>
401          </li>
402          <li class="dac-nav-item stories">
403            <a class="dac-nav-link" href="../../../../distribute/stories/index.html">Stories</a>
404          </li>
405        </ul>
406      </li>
407    </ul>
408  </nav>
409  <!-- end navigation-->
410
411
412
413
414
415
416  <div class="wrap clearfix" id="body-content"><div class="cols">
417    <div class="col-4 dac-hidden-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
418      <div id="devdoc-nav">
419      <div id="api-nav-header">
420        <div id="api-level-toggle">
421          <label for="apiLevelCheckbox" class="disabled"
422            title="Select your target API level to dim unavailable APIs">API level: </label>
423          <div class="select-wrapper">
424            <select id="apiLevelSelector">
425              <!-- option elements added by buildApiLevelSelector() -->
426            </select>
427          </div>
428        </div><!-- end toggle -->
429        <div id="api-nav-title">Android APIs</div>
430        </div><!-- end nav header -->
431      <script>
432        var SINCE_DATA = [  ];
433        buildApiLevelSelector();
434      </script>
435
436      <div id="swapper">
437        <div id="nav-panels">
438          <div id="resize-packages-nav">
439            <div id="packages-nav" class="scroll-pane">
440
441              <ul>
442
443    <li class="selected api apilevel-">
444  <a href="../../../../reference/android/support/wearable/package-summary.html">android.support.wearable</a></li>
445    <li class="api apilevel-">
446  <a href="../../../../reference/android/support/wearable/activity/package-summary.html">android.support.wearable.activity</a></li>
447    <li class="api apilevel-">
448  <a href="../../../../reference/android/support/wearable/companion/package-summary.html">android.support.wearable.companion</a></li>
449    <li class="api apilevel-">
450  <a href="../../../../reference/android/support/wearable/input/package-summary.html">android.support.wearable.input</a></li>
451    <li class="api apilevel-">
452  <a href="../../../../reference/android/support/wearable/media/package-summary.html">android.support.wearable.media</a></li>
453    <li class="api apilevel-">
454  <a href="../../../../reference/android/support/wearable/provider/package-summary.html">android.support.wearable.provider</a></li>
455    <li class="api apilevel-">
456  <a href="../../../../reference/android/support/wearable/view/package-summary.html">android.support.wearable.view</a></li>
457    <li class="api apilevel-">
458  <a href="../../../../reference/android/support/wearable/watchface/package-summary.html">android.support.wearable.watchface</a></li>
459              </ul><br/>
460
461            </div> <!-- end packages-nav -->
462          </div> <!-- end resize-packages -->
463          <div id="classes-nav" class="scroll-pane">
464
465
466
467            <ul>
468
469
470
471    <li><h2>Classes</h2>
472      <ul>
473          <li class="selected api apilevel-"><a href="../../../../reference/android/support/wearable/R.html">R</a></li>
474          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.anim.html">R.anim</a></li>
475          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.animator.html">R.animator</a></li>
476          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.array.html">R.array</a></li>
477          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.attr.html">R.attr</a></li>
478          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.color.html">R.color</a></li>
479          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.dimen.html">R.dimen</a></li>
480          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.drawable.html">R.drawable</a></li>
481          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.id.html">R.id</a></li>
482          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.interpolator.html">R.interpolator</a></li>
483          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.layout.html">R.layout</a></li>
484          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.string.html">R.string</a></li>
485          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.style.html">R.style</a></li>
486          <li class="api apilevel-"><a href="../../../../reference/android/support/wearable/R.styleable.html">R.styleable</a></li>
487      </ul>
488    </li>
489
490
491
492            </ul><br/>
493
494
495          </div><!-- end classes -->
496        </div><!-- end nav-panels -->
497        <div id="nav-tree" style="display:none" class="scroll-pane">
498          <div id="tree-list"></div>
499        </div><!-- end nav-tree -->
500      </div><!-- end swapper -->
501      <div id="nav-swap">
502      <a class="fullscreen">fullscreen</a>
503      <a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>
504      </div>
505    </div> <!-- end devdoc-nav -->
506    </div> <!-- end side-nav -->
507    <script type="text/javascript">
508      // init fullscreen based on user pref
509      var fullscreen = readCookie("fullscreen");
510      if (fullscreen != 0) {
511        if (fullscreen == "false") {
512          toggleFullscreen(false);
513        } else {
514          toggleFullscreen(true);
515        }
516      }
517      // init nav version for mobile
518      if (isMobile) {
519        swapNav(); // tree view should be used on mobile
520        $('#nav-swap').hide();
521      } else {
522        chooseDefaultNav();
523        if ($("#nav-tree").is(':visible')) {
524          init_default_navtree("../../../../");
525        }
526      }
527      // scroll the selected page into view
528      $(document).ready(function() {
529        scrollIntoView("packages-nav");
530        scrollIntoView("classes-nav");
531        });
532    </script>
533
534
535
536
537
538<div class="col-12"  id="doc-col">
539
540<div id="api-info-block">
541
542
543
544
545
546
547
548
549
550
551
552<div class="sum-details-links">
553
554Summary:
555
556  <a href="#nestedclasses">Nested Classes</a>
557
558
559
560
561
562
563
564
565
566
567  &#124; <a href="#pubctors">Ctors</a>
568
569
570
571
572
573
574  &#124; <a href="#inhmethods">Inherited Methods</a>
575
576&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
577
578</div><!-- end sum-details-links -->
579<div class="api-level">
580
581
582
583
584</div>
585</div><!-- end api-info-block -->
586
587
588<!-- ======== START OF CLASS DATA ======== -->
589
590<div id="jd-header">
591    public
592
593    final
594
595    class
596<h1 itemprop="name">R</h1>
597
598
599
600
601    extends Object<br/>
602
603
604
605
606
607
608
609
610
611
612
613
614</div><!-- end header -->
615
616<div id="naMessage"></div>
617
618<div id="jd-content" class="api apilevel-">
619<table class="jd-inheritance-table">
620
621
622    <tr>
623
624        <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
625    </tr>
626
627
628    <tr>
629
630            <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
631
632        <td colspan="1" class="jd-inheritance-class-cell">android.support.wearable.R</td>
633    </tr>
634
635
636</table>
637
638
639
640
641
642
643
644<div class="jd-descr">
645
646
647
648
649
650
651</div><!-- jd-descr -->
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668<div class="jd-descr">
669
670
671<h2>Summary</h2>
672
673
674
675<!-- ======== NESTED CLASS SUMMARY ======== -->
676<table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr>
677
678
679
680    <tr class="alt-color api apilevel-" >
681      <td class="jd-typecol"><nobr>
682
683
684
685
686        class</nobr></td>
687      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.anim.html">R.anim</a></td>
688      <td class="jd-descrcol" width="100%">
689        &nbsp;
690
691
692
693      </td>
694    </tr>
695
696
697    <tr class=" api apilevel-" >
698      <td class="jd-typecol"><nobr>
699
700
701
702
703        class</nobr></td>
704      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.animator.html">R.animator</a></td>
705      <td class="jd-descrcol" width="100%">
706        &nbsp;
707
708
709
710      </td>
711    </tr>
712
713
714    <tr class="alt-color api apilevel-" >
715      <td class="jd-typecol"><nobr>
716
717
718
719
720        class</nobr></td>
721      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.array.html">R.array</a></td>
722      <td class="jd-descrcol" width="100%">
723        &nbsp;
724
725
726
727      </td>
728    </tr>
729
730
731    <tr class=" api apilevel-" >
732      <td class="jd-typecol"><nobr>
733
734
735
736
737        class</nobr></td>
738      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.attr.html">R.attr</a></td>
739      <td class="jd-descrcol" width="100%">
740        &nbsp;
741
742
743
744      </td>
745    </tr>
746
747
748    <tr class="alt-color api apilevel-" >
749      <td class="jd-typecol"><nobr>
750
751
752
753
754        class</nobr></td>
755      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.color.html">R.color</a></td>
756      <td class="jd-descrcol" width="100%">
757        &nbsp;
758
759
760
761      </td>
762    </tr>
763
764
765    <tr class=" api apilevel-" >
766      <td class="jd-typecol"><nobr>
767
768
769
770
771        class</nobr></td>
772      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.dimen.html">R.dimen</a></td>
773      <td class="jd-descrcol" width="100%">
774        &nbsp;
775
776
777
778      </td>
779    </tr>
780
781
782    <tr class="alt-color api apilevel-" >
783      <td class="jd-typecol"><nobr>
784
785
786
787
788        class</nobr></td>
789      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.drawable.html">R.drawable</a></td>
790      <td class="jd-descrcol" width="100%">
791        &nbsp;
792
793
794
795      </td>
796    </tr>
797
798
799    <tr class=" api apilevel-" >
800      <td class="jd-typecol"><nobr>
801
802
803
804
805        class</nobr></td>
806      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.id.html">R.id</a></td>
807      <td class="jd-descrcol" width="100%">
808        &nbsp;
809
810
811
812      </td>
813    </tr>
814
815
816    <tr class="alt-color api apilevel-" >
817      <td class="jd-typecol"><nobr>
818
819
820
821
822        class</nobr></td>
823      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.interpolator.html">R.interpolator</a></td>
824      <td class="jd-descrcol" width="100%">
825        &nbsp;
826
827
828
829      </td>
830    </tr>
831
832
833    <tr class=" api apilevel-" >
834      <td class="jd-typecol"><nobr>
835
836
837
838
839        class</nobr></td>
840      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.layout.html">R.layout</a></td>
841      <td class="jd-descrcol" width="100%">
842        &nbsp;
843
844
845
846      </td>
847    </tr>
848
849
850    <tr class="alt-color api apilevel-" >
851      <td class="jd-typecol"><nobr>
852
853
854
855
856        class</nobr></td>
857      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.string.html">R.string</a></td>
858      <td class="jd-descrcol" width="100%">
859        &nbsp;
860
861
862
863      </td>
864    </tr>
865
866
867    <tr class=" api apilevel-" >
868      <td class="jd-typecol"><nobr>
869
870
871
872
873        class</nobr></td>
874      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.style.html">R.style</a></td>
875      <td class="jd-descrcol" width="100%">
876        &nbsp;
877
878
879
880      </td>
881    </tr>
882
883
884    <tr class="alt-color api apilevel-" >
885      <td class="jd-typecol"><nobr>
886
887
888
889
890        class</nobr></td>
891      <td class="jd-linkcol"><a href="../../../../reference/android/support/wearable/R.styleable.html">R.styleable</a></td>
892      <td class="jd-descrcol" width="100%">
893        &nbsp;
894
895
896
897      </td>
898    </tr>
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924<!-- ======== CONSTRUCTOR SUMMARY ======== -->
925<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
926
927
928
929
930    <tr class="alt-color api apilevel-" >
931        <td class="jd-typecol"><nobr>
932
933
934
935
936
937            </nobr>
938        </td>
939        <td class="jd-linkcol" width="100%"><nobr>
940        <span class="sympad"><a href="../../../../reference/android/support/wearable/R.html#R()">R</a></span>()</nobr>
941
942  </td></tr>
943
944
945
946</table>
947
948
949
950
951
952
953
954
955
956
957
958<!-- ========== METHOD SUMMARY =========== -->
959<table id="inhmethods" class="jd-sumtable"><tr><th>
960  <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
961  <div style="clear:left;">Inherited Methods</div></th></tr>
962
963
964<tr class="api apilevel-" >
965<td colspan="12">
966  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
967          ><img id="inherited-methods-java.lang.Object-trigger"
968          src="../../../../assets/images/triangle-closed.png"
969          class="jd-expando-trigger-img" /></a>
970From class
971
972  java.lang.Object
973
974<div id="inherited-methods-java.lang.Object">
975  <div id="inherited-methods-java.lang.Object-list"
976        class="jd-inheritedlinks">
977  </div>
978  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
979    <table class="jd-sumtable-expando">
980
981
982
983
984    <tr class="alt-color api apilevel-" >
985        <td class="jd-typecol"><nobr>
986
987
988
989
990
991            Object</nobr>
992        </td>
993        <td class="jd-linkcol" width="100%"><nobr>
994        <span class="sympad">clone</span>()</nobr>
995
996  </td></tr>
997
998
999
1000    <tr class=" api apilevel-" >
1001        <td class="jd-typecol"><nobr>
1002
1003
1004
1005
1006
1007            boolean</nobr>
1008        </td>
1009        <td class="jd-linkcol" width="100%"><nobr>
1010        <span class="sympad">equals</span>(Object arg0)</nobr>
1011
1012  </td></tr>
1013
1014
1015
1016    <tr class="alt-color api apilevel-" >
1017        <td class="jd-typecol"><nobr>
1018
1019
1020
1021
1022
1023            void</nobr>
1024        </td>
1025        <td class="jd-linkcol" width="100%"><nobr>
1026        <span class="sympad">finalize</span>()</nobr>
1027
1028  </td></tr>
1029
1030
1031
1032    <tr class=" api apilevel-" >
1033        <td class="jd-typecol"><nobr>
1034
1035
1036            final
1037
1038
1039            Class&lt;?&gt;</nobr>
1040        </td>
1041        <td class="jd-linkcol" width="100%"><nobr>
1042        <span class="sympad">getClass</span>()</nobr>
1043
1044  </td></tr>
1045
1046
1047
1048    <tr class="alt-color api apilevel-" >
1049        <td class="jd-typecol"><nobr>
1050
1051
1052
1053
1054
1055            int</nobr>
1056        </td>
1057        <td class="jd-linkcol" width="100%"><nobr>
1058        <span class="sympad">hashCode</span>()</nobr>
1059
1060  </td></tr>
1061
1062
1063
1064    <tr class=" api apilevel-" >
1065        <td class="jd-typecol"><nobr>
1066
1067
1068            final
1069
1070
1071            void</nobr>
1072        </td>
1073        <td class="jd-linkcol" width="100%"><nobr>
1074        <span class="sympad">notify</span>()</nobr>
1075
1076  </td></tr>
1077
1078
1079
1080    <tr class="alt-color api apilevel-" >
1081        <td class="jd-typecol"><nobr>
1082
1083
1084            final
1085
1086
1087            void</nobr>
1088        </td>
1089        <td class="jd-linkcol" width="100%"><nobr>
1090        <span class="sympad">notifyAll</span>()</nobr>
1091
1092  </td></tr>
1093
1094
1095
1096    <tr class=" api apilevel-" >
1097        <td class="jd-typecol"><nobr>
1098
1099
1100
1101
1102
1103            String</nobr>
1104        </td>
1105        <td class="jd-linkcol" width="100%"><nobr>
1106        <span class="sympad">toString</span>()</nobr>
1107
1108  </td></tr>
1109
1110
1111
1112    <tr class="alt-color api apilevel-" >
1113        <td class="jd-typecol"><nobr>
1114
1115
1116            final
1117
1118
1119            void</nobr>
1120        </td>
1121        <td class="jd-linkcol" width="100%"><nobr>
1122        <span class="sympad">wait</span>()</nobr>
1123
1124  </td></tr>
1125
1126
1127
1128    <tr class=" api apilevel-" >
1129        <td class="jd-typecol"><nobr>
1130
1131
1132            final
1133
1134
1135            void</nobr>
1136        </td>
1137        <td class="jd-linkcol" width="100%"><nobr>
1138        <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
1139
1140  </td></tr>
1141
1142
1143
1144    <tr class="alt-color api apilevel-" >
1145        <td class="jd-typecol"><nobr>
1146
1147
1148            final
1149
1150
1151            void</nobr>
1152        </td>
1153        <td class="jd-linkcol" width="100%"><nobr>
1154        <span class="sympad">wait</span>(long arg0)</nobr>
1155
1156  </td></tr>
1157
1158
1159</table>
1160  </div>
1161</div>
1162</td></tr>
1163
1164
1165</table>
1166
1167
1168</div><!-- jd-descr (summary) -->
1169
1170<!-- Details -->
1171
1172
1173
1174
1175
1176
1177
1178
1179<!-- XML Attributes -->
1180
1181
1182<!-- Enum Values -->
1183
1184
1185<!-- Constants -->
1186
1187
1188<!-- Fields -->
1189
1190
1191<!-- Public ctors -->
1192
1193
1194<!-- ========= CONSTRUCTOR DETAIL ======== -->
1195<h2>Public Constructors</h2>
1196
1197
1198
1199<A NAME="R()"></A>
1200
1201<div class="jd-details api apilevel-">
1202    <h4 class="jd-details-title">
1203      <span class="normal">
1204        public
1205
1206
1207
1208
1209
1210      </span>
1211      <span class="sympad">R</span>
1212      <span class="normal">()</span>
1213    </h4>
1214      <div class="api-level">
1215        <div></div>
1216
1217
1218
1219      </div>
1220    <div class="jd-details-descr">
1221
1222
1223
1224
1225  <div class="jd-tagdata jd-tagdescr"><p></p></div>
1226
1227    </div>
1228</div>
1229
1230
1231
1232
1233
1234<!-- ========= CONSTRUCTOR DETAIL ======== -->
1235<!-- Protected ctors -->
1236
1237
1238
1239<!-- ========= METHOD DETAIL ======== -->
1240<!-- Public methdos -->
1241
1242
1243
1244<!-- ========= METHOD DETAIL ======== -->
1245
1246
1247
1248<!-- ========= END OF CLASS DATA ========= -->
1249<A NAME="navbar_top"></A>
1250</div> <!-- jd-content -->
1251
1252<div class="wrap">
1253  <div class="dac-footer">
1254    <div class="cols dac-footer-main">
1255      <div class="col-1of2">
1256        <a class="dac-footer-getnews" data-modal-toggle="newsletter" href="javascript:;">Get news &amp; tips <span
1257          class="dac-fab dac-primary"><i class="dac-sprite dac-mail"></i></span></a>
1258      </div>
1259      <div class="col-1of2 dac-footer-reachout">
1260        <div class="dac-footer-contact">
1261          <a class="dac-footer-contact-link" href="http://android-developers.blogspot.com/">Blog</a>
1262          <a class="dac-footer-contact-link" href="/support.html">Support</a>
1263        </div>
1264        <div class="dac-footer-social">
1265          <a class="dac-fab dac-footer-social-link" href="https://www.youtube.com/user/androiddevelopers"><i class="dac-sprite dac-youtube"></i></a>
1266          <a class="dac-fab dac-footer-social-link" href="https://plus.google.com/+AndroidDevelopers"><i class="dac-sprite dac-gplus"></i></a>
1267          <a class="dac-fab dac-footer-social-link" href="https://twitter.com/AndroidDev"><i class="dac-sprite dac-twitter"></i></a>
1268        </div>
1269      </div>
1270    </div>
1271
1272    <hr class="dac-footer-separator"/>
1273
1274
1275      <p class="dac-footer-copyright">
1276
1277  Except as noted, this content is licensed under <a
1278  href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
1279  For details and restrictions, see the <a href="../../../../license.html">
1280  Content License</a>.
1281      </p>
1282      <p class="dac-footer-build">
1283
1284    Android Wearable Support&nbsp;r &mdash;
1285<script src="../../../../timestamp.js" type="text/javascript"></script>
1286<script>document.write(BUILD_TIMESTAMP)</script>
1287
1288      </p>
1289
1290
1291    <p class="dac-footer-links">
1292      <a href="/about/index.html">About Android</a>
1293      <a href="/auto/index.html">Auto</a>
1294      <a href="/tv/index.html">TV</a>
1295      <a href="/wear/index.html">Wear</a>
1296      <a href="/legal.html">Legal</a>
1297
1298      <span id="language" class="locales">
1299        <select name="language" onchange="changeLangPref(this.value, true)">
1300          <option value="en" selected="selected">English</option>
1301          <option value="es">Español</option>
1302          <option value="ja">日本語</option>
1303          <option value="ko">한국어</option>
1304          <option value="pt-br">Português Brasileiro</option>
1305          <option value="ru">Русский</option>
1306          <option value="zh-cn">中文(简体)</option>
1307          <option value="zh-tw">中文(繁體)</option>
1308        </select>
1309      </span>
1310    </p>
1311  </div>
1312</div> <!-- end footer -->
1313
1314<div data-modal="newsletter" data-newsletter data-swap class="dac-modal newsletter">
1315  <div class="dac-modal-container">
1316    <div class="dac-modal-window">
1317      <header class="dac-modal-header">
1318        <button class="dac-modal-header-close" data-modal-toggle><i class="dac-sprite dac-close"></i></button>
1319        <div class="dac-swap" data-swap-container>
1320          <section class="dac-swap-section dac-active dac-down">
1321            <h2 class="norule dac-modal-header-title">Get the latest Android developer news and tips that will help you find success on Google Play.</h2>
1322            <p class="dac-modal-header-subtitle">&#42; Required Fields</p>
1323          </section>
1324          <section class="dac-swap-section dac-up">
1325            <h2 class="norule dac-modal-header-title">Hooray!</h2>
1326          </section>
1327        </div>
1328      </header>
1329      <div class="dac-swap" data-swap-container>
1330        <section class="dac-swap-section dac-active dac-left">
1331          <form action="https://docs.google.com/forms/d/1QgnkzbEJIDu9lMEea0mxqWrXUJu0oBCLD7ar23V0Yys/formResponse" class="dac-form" method="post" target="dac-newsletter-iframe">
1332            <section class="dac-modal-content">
1333              <fieldset class="dac-form-fieldset">
1334                <div class="cols">
1335                  <div class="col-1of2 newsletter-leftCol">
1336                    <div class="dac-form-input-group">
1337                      <label for="newsletter-full-name" class="dac-form-floatlabel">Full name</label>
1338                      <input type="text" class="dac-form-input" name="entry.1357890476" id="newsletter-full-name" required>
1339                      <span class="dac-form-required">*</span>
1340                    </div>
1341                    <div class="dac-form-input-group">
1342                      <label for="newsletter-email" class="dac-form-floatlabel">Email address</label>
1343                      <input type="email" class="dac-form-input" name="entry.472100832" id="newsletter-email" required>
1344                      <span class="dac-form-required">*</span>
1345                    </div>
1346                  </div>
1347                  <div class="col-1of2 newsletter-rightCol">
1348                    <div class="dac-form-input-group">
1349                      <label for="newsletter-company" class="dac-form-floatlabel">Company / developer name</label>
1350                      <input type="text" class="dac-form-input" name="entry.1664780309" id="newsletter-company">
1351                    </div>
1352                    <div class="dac-form-input-group">
1353                      <label for="newsletter-play-store" class="dac-form-floatlabel">One of your Play Store app URLs</label>
1354                      <input type="url" class="dac-form-input" name="entry.47013838" id="newsletter-play-store" required>
1355                      <span class="dac-form-required">*</span>
1356                    </div>
1357                  </div>
1358                </div>
1359              </fieldset>
1360              <fieldset class="dac-form-fieldset">
1361                <div class="cols">
1362                  <div class="col-1of2 newsletter-leftCol">
1363                    <legend class="dac-form-legend">Which best describes your business:<span class="dac-form-required">*</span>
1364                    </legend>
1365                    <div class="dac-form-radio-group">
1366                      <input type="radio" value="Apps" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-app" required>
1367                      <label for="newsletter-business-type-app" class="dac-form-radio-button"></label>
1368                      <label for="newsletter-business-type-app" class="dac-form-label">Apps</label>
1369                    </div>
1370                    <div class="dac-form-radio-group">
1371                      <input type="radio" value="Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-games" required>
1372                      <label for="newsletter-business-type-games" class="dac-form-radio-button"></label>
1373                      <label for="newsletter-business-type-games" class="dac-form-label">Games</label>
1374                    </div>
1375                    <div class="dac-form-radio-group">
1376                      <input type="radio" value="Apps and Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-appsgames" required>
1377                      <label for="newsletter-business-type-appsgames" class="dac-form-radio-button"></label>
1378                      <label for="newsletter-business-type-appsgames" class="dac-form-label">Apps &amp; Games</label>
1379                    </div>
1380                  </div>
1381                  <div class="col-1of2 newsletter-rightCol newsletter-checkboxes">
1382                    <div class="dac-form-radio-group">
1383                      <div class="dac-media">
1384                        <div class="dac-media-figure">
1385                          <input type="checkbox" class="dac-form-checkbox" name="entry.732309842" id="newsletter-add" required value="Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.">
1386                          <label for="newsletter-add" class="dac-form-checkbox-button"></label>
1387                        </div>
1388                        <div class="dac-media-body">
1389                          <label for="newsletter-add" class="dac-form-label dac-form-aside">Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.<span class="dac-form-required">*</span></label>
1390                        </div>
1391                      </div>
1392                    </div>
1393                    <div class="dac-form-radio-group">
1394                      <div class="dac-media">
1395                        <div class="dac-media-figure">
1396                          <input type="checkbox" class="dac-form-checkbox" name="entry.2045036090" id="newsletter-terms" required value="I acknowledge that the information provided in this form will be subject to Google's privacy policy (https://www.google.com/policies/privacy/).">
1397                          <label for="newsletter-terms" class="dac-form-checkbox-button"></label>
1398                        </div>
1399                        <div class="dac-media-body">
1400                          <label for="newsletter-terms" class="dac-form-label dac-form-aside">I acknowledge that the information provided in this form will be subject to <a href="https://www.google.com/policies/privacy/">Google's privacy policy</a>.<span class="dac-form-required">*</span></label>
1401                        </div>
1402                      </div>
1403                    </div>
1404                  </div>
1405                </div>
1406              </fieldset>
1407            </section>
1408            <footer class="dac-modal-footer">
1409              <div class="cols">
1410                <div class="col-2of5">
1411                </div>
1412              </div>
1413              <button type="submit" value="Submit" class="dac-fab dac-primary dac-large dac-modal-action"><i class="dac-sprite dac-arrow-right"></i></button>
1414            </footer>
1415          </form>
1416        </section>
1417        <section class="dac-swap-section dac-right">
1418          <div class="dac-modal-content">
1419            <p class="newsletter-success-message">
1420              You have successfully signed up for the latest Android developer news and tips.
1421            </p>
1422          </div>
1423        </section>
1424      </div>
1425    </div>
1426  </div>
1427</div> <!-- end footer -->
1428
1429</div><!-- end doc-content -->
1430
1431</div> <!-- end .cols -->
1432</div> <!-- end body-content -->
1433
1434
1435
1436
1437
1438
1439</body>
1440</html>
1441