• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
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
99
100<!DOCTYPE html>
101<html devsite>
102<head>
103
104
105    <meta name="top_category" value="develop" />
106
107    <meta name="subcategory" value="reference" />
108
109
110      <meta name="book_path" value="/reference/android/support/wearable/_book.yaml" />
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126<title>android.support.wearable.view</title>
127
128
129</head>
130
131<body class="gc-documentation develop reference api apilevel-">
132<div id="doc-api-level" class="" style="display:none"></div>
133
134
135
136
137<div id="naMessage"></div>
138
139<div id="api-info-block">
140<div class="api-level">
141
142
143
144
145</div>
146</div>
147<div class="api apilevel-" id="jd-content">
148
149<h1>android.support.wearable.view</h1>
150
151
152
153
154
155
156
157
158
159
160    <h2>Interfaces</h2>
161
162
163  <table class="jd-sumtable-expando">
164
165      <tr class="alt-color api apilevel-" >
166        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html">ActionChooserView.ActionChooserListener</a></td>
167        <td class="jd-descrcol" width="100%">
168          Interface for receiving callbacks about options chosen from an <code><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></code>.&nbsp;
169
170
171
172        </td>
173      </tr>
174
175
176      <tr class=" api apilevel-" >
177        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html">DelayedConfirmationView.DelayedConfirmationListener</a></td>
178        <td class="jd-descrcol" width="100%">
179          Implement this interface to receive callbacks when the timer is finished and when the user
180 taps the View to select it.&nbsp;
181
182
183
184        </td>
185      </tr>
186
187
188      <tr class="alt-color api apilevel-" >
189        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridPageOptions.html">GridPageOptions</a></td>
190        <td class="jd-descrcol" width="100%">
191          An optional interface for a Fragment within a GridViewPager which provides additional
192 configurable options.&nbsp;
193
194
195
196        </td>
197      </tr>
198
199
200      <tr class=" api apilevel-" >
201        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html">GridPageOptions.BackgroundListener</a></td>
202        <td class="jd-descrcol" width="100%">
203          Interface for communicating background changes to a listener.&nbsp;
204
205
206
207        </td>
208      </tr>
209
210
211      <tr class="alt-color api apilevel-" >
212        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html">GridViewPager.OnAdapterChangeListener</a></td>
213        <td class="jd-descrcol" width="100%">
214          Callback interface for responding to a replaced or removed adapter.&nbsp;
215
216
217
218        </td>
219      </tr>
220
221
222      <tr class=" api apilevel-" >
223        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html">GridViewPager.OnPageChangeListener</a></td>
224        <td class="jd-descrcol" width="100%">
225          Callback interface for responding to changing state of the selected page.&nbsp;
226
227
228
229        </td>
230      </tr>
231
232
233      <tr class="alt-color api apilevel-" >
234        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html">WatchViewStub.OnLayoutInflatedListener</a></td>
235        <td class="jd-descrcol" width="100%">
236          Listener for detecting when internal layout inflation has completed.&nbsp;
237
238
239
240        </td>
241      </tr>
242
243
244      <tr class=" api apilevel-" >
245        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.ClickListener.html">WearableListView.ClickListener</a></td>
246        <td class="jd-descrcol" width="100%">
247          Interface for listening for click events on WearableListView.&nbsp;
248
249
250
251        </td>
252      </tr>
253
254
255      <tr class="alt-color api apilevel-" >
256        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html">WearableListView.OnCenterProximityListener</a></td>
257        <td class="jd-descrcol" width="100%">
258          Interface for receiving callbacks when WearableListView children become or cease to be the
259 central item.&nbsp;
260
261
262
263        </td>
264      </tr>
265
266
267      <tr class=" api apilevel-" >
268        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html">WearableListView.OnCentralPositionChangedListener</a></td>
269        <td class="jd-descrcol" width="100%">
270          A listener interface that can be added to the WearableListView to get notified when the
271 central item is changed.&nbsp;
272
273
274
275        </td>
276      </tr>
277
278
279      <tr class="alt-color api apilevel-" >
280        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.OnScrollListener.html">WearableListView.OnScrollListener</a></td>
281        <td class="jd-descrcol" width="100%">
282          Interface for listening to WearableListView content scrolling.&nbsp;
283
284
285
286        </td>
287      </tr>
288
289
290  </table>
291
292
293
294
295
296    <h2>Classes</h2>
297
298
299  <table class="jd-sumtable-expando">
300
301      <tr class="alt-color api apilevel-" >
302        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></td>
303        <td class="jd-descrcol" width="100%">
304          The action chooser view allows the user to select from two options that are presented in the
305 sides of the view.&nbsp;
306
307
308
309        </td>
310      </tr>
311
312
313      <tr class=" api apilevel-" >
314        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/ActionLabel.html">ActionLabel</a></td>
315        <td class="jd-descrcol" width="100%">
316          ActionLabel is a specialized text display widget.&nbsp;
317
318
319
320        </td>
321      </tr>
322
323
324      <tr class="alt-color api apilevel-" >
325        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/ActionPage.html">ActionPage</a></td>
326        <td class="jd-descrcol" width="100%">
327          Displays a circular button, with an optional image to perform an action.&nbsp;
328
329
330
331        </td>
332      </tr>
333
334
335      <tr class=" api apilevel-" >
336        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/BoxInsetLayout.html">BoxInsetLayout</a></td>
337        <td class="jd-descrcol" width="100%">
338          BoxInsetLayout is a screen shape-aware FrameLayout that can box its children
339 in the center square of a round screen by using the
340 <code>layout_box</code> attribute.&nbsp;
341
342
343
344        </td>
345      </tr>
346
347
348      <tr class="alt-color api apilevel-" >
349        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a></td>
350        <td class="jd-descrcol" width="100%">
351          adds <code>layout_box</code> attribute to layout parameters
352&nbsp;
353
354
355
356        </td>
357      </tr>
358
359
360      <tr class=" api apilevel-" >
361        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></td>
362        <td class="jd-descrcol" width="100%">
363          Presents content within an expandable, vertically scrollable card.&nbsp;
364
365
366
367        </td>
368      </tr>
369
370
371      <tr class="alt-color api apilevel-" >
372        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/CardFrame.html">CardFrame</a></td>
373        <td class="jd-descrcol" width="100%">
374          Wraps a view in a card-styled frame with a white background, rounded corners and a light
375 drop-shadow.&nbsp;
376
377
378
379        </td>
380      </tr>
381
382
383      <tr class=" api apilevel-" >
384        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/CardScrollView.html">CardScrollView</a></td>
385        <td class="jd-descrcol" width="100%">
386          Designed to host a CardFrame and provides special support for scrolling with expansion in both
387 the upward and downward directions.&nbsp;
388
389
390
391        </td>
392      </tr>
393
394
395      <tr class="alt-color api apilevel-" >
396        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/CircledImageView.html">CircledImageView</a></td>
397        <td class="jd-descrcol" width="100%">
398          An image view surrounded by a circle.&nbsp;
399
400
401
402        </td>
403      </tr>
404
405
406      <tr class=" api apilevel-" >
407        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/CircularButton.html">CircularButton</a></td>
408        <td class="jd-descrcol" width="100%">
409          A circular button in the style of a <a
410 href="http://www.google.com/design/spec/components/buttons.html#buttons-floating-action-button">Floating
411 Action Button</a>, with support for ripple touch effects and elevation animation.&nbsp;
412
413
414
415        </td>
416      </tr>
417
418
419      <tr class="alt-color api apilevel-" >
420        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/CrossfadeDrawable.html">CrossfadeDrawable</a></td>
421        <td class="jd-descrcol" width="100%">
422          Contains two child drawables and provides methods to directly adjust the blend between the two.&nbsp;
423
424
425
426        </td>
427      </tr>
428
429
430      <tr class=" api apilevel-" >
431        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.html">DelayedConfirmationView</a></td>
432        <td class="jd-descrcol" width="100%">
433          <code>DelayedConfirmationView</code> provides a circular countdown timer, typically used to
434 automatically confirm an operation after a short delay has elapsed.&nbsp;
435
436
437
438        </td>
439      </tr>
440
441
442      <tr class="alt-color api apilevel-" >
443        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/DismissOverlayView.html">DismissOverlayView</a></td>
444        <td class="jd-descrcol" width="100%">
445          A view for implementing long-press-to-dismiss in an app.&nbsp;
446
447
448
449        </td>
450      </tr>
451
452
453      <tr class=" api apilevel-" >
454        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/DotsPageIndicator.html">DotsPageIndicator</a></td>
455        <td class="jd-descrcol" width="100%">
456          A page indicator for <code><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></code> which identifies the current page in relation to all
457 available pages on the current row.&nbsp;
458
459
460
461        </td>
462      </tr>
463
464
465      <tr class="alt-color api apilevel-" >
466        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/FragmentGridPagerAdapter.html">FragmentGridPagerAdapter</a></td>
467        <td class="jd-descrcol" width="100%">
468          An implementation of GridPagerAdapter which represents each page as a <code><a href="/reference/android/app/Fragment.html">Fragment</a></code>.&nbsp;
469
470
471
472        </td>
473      </tr>
474
475
476      <tr class=" api apilevel-" >
477        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridPagerAdapter.html">GridPagerAdapter</a></td>
478        <td class="jd-descrcol" width="100%">
479          This component is responsible for providing views requested by a <code><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></code>.&nbsp;
480
481
482
483        </td>
484      </tr>
485
486
487      <tr class="alt-color api apilevel-" >
488        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></td>
489        <td class="jd-descrcol" width="100%">
490          Layout manager that allows the user to navigate both vertically and horizontally through pages of
491 content.&nbsp;
492
493
494
495        </td>
496      </tr>
497
498
499      <tr class=" api apilevel-" >
500        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html">GridViewPager.LayoutParams</a></td>
501        <td class="jd-descrcol" width="100%">
502          Layout parameters that should be supplied for views added to a ViewPager.&nbsp;
503
504
505
506        </td>
507      </tr>
508
509
510      <tr class="alt-color api apilevel-" >
511        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/ProgressSpinner.html">ProgressSpinner</a></td>
512        <td class="jd-descrcol" width="100%">
513          An indeterminate progress spinner designed for wearables which cycles through colors.&nbsp;
514
515
516
517        </td>
518      </tr>
519
520
521      <tr class=" api apilevel-" >
522        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/SimpleAnimatorListener.html">SimpleAnimatorListener</a></td>
523        <td class="jd-descrcol" width="100%">
524          Convenience class for listening for Animator events that implements the AnimatorListener
525 interface and allows extending only methods that are necessary.&nbsp;
526
527
528
529        </td>
530      </tr>
531
532
533      <tr class="alt-color api apilevel-" >
534        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WatchViewStub.html">WatchViewStub</a></td>
535        <td class="jd-descrcol" width="100%">
536          A WatchViewStub allows for the use of different sub-layouts depending on the
537 shape of the device screen as reported by
538 <code><a href="/reference/android/view/View.html#onApplyWindowInsets(android.view.WindowInsets)">onApplyWindowInsets</a></code>.&nbsp;
539
540
541
542        </td>
543      </tr>
544
545
546      <tr class=" api apilevel-" >
547        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableFrameLayout.html">WearableFrameLayout</a></td>
548        <td class="jd-descrcol" width="100%">
549          WearableFrameLayout works exactly like FrameLayout, except it can have overrides for a round
550 screen.&nbsp;
551
552
553
554        </td>
555      </tr>
556
557
558      <tr class="alt-color api apilevel-" >
559        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html">WearableFrameLayout.LayoutParams</a></td>
560        <td class="jd-descrcol" width="100%">
561          Per-child layout information for layouts on wearable devices.&nbsp;
562
563
564
565        </td>
566      </tr>
567
568
569      <tr class=" api apilevel-" >
570        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.html">WearableListView</a></td>
571        <td class="jd-descrcol" width="100%">
572          An alternative version of ListView that is optimized for ease of use on small screen wearable
573 devices.&nbsp;
574
575
576
577        </td>
578      </tr>
579
580
581      <tr class="alt-color api apilevel-" >
582        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.Adapter.html">WearableListView.Adapter</a></td>
583        <td class="jd-descrcol" width="100%">
584          Base class for adapters providing data for the WearableListView.&nbsp;
585
586
587
588        </td>
589      </tr>
590
591
592      <tr class=" api apilevel-" >
593        <td class="jd-linkcol"><a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a></td>
594        <td class="jd-descrcol" width="100%">
595          Wrapper around items displayed in the list view.&nbsp;
596
597
598
599        </td>
600      </tr>
601
602
603  </table>
604
605
606
607
608
609
610
611
612
613
614
615
616
617</div><!-- end apilevel -->
618
619
620<div class="data-reference-resources-wrapper">
621
622  <ul data-reference-resources>
623
624
625    <li><h2>Interfaces</h2>
626      <ul>
627        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.ActionChooserListener.html">ActionChooserView.ActionChooserListener</a></li>
628        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.DelayedConfirmationListener.html">DelayedConfirmationView.DelayedConfirmationListener</a></li>
629        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.html">GridPageOptions</a></li>
630        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPageOptions.BackgroundListener.html">GridPageOptions.BackgroundListener</a></li>
631        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnAdapterChangeListener.html">GridViewPager.OnAdapterChangeListener</a></li>
632        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.OnPageChangeListener.html">GridViewPager.OnPageChangeListener</a></li>
633        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.OnLayoutInflatedListener.html">WatchViewStub.OnLayoutInflatedListener</a></li>
634        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ClickListener.html">WearableListView.ClickListener</a></li>
635        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCenterProximityListener.html">WearableListView.OnCenterProximityListener</a></li>
636        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnCentralPositionChangedListener.html">WearableListView.OnCentralPositionChangedListener</a></li>
637        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.OnScrollListener.html">WearableListView.OnScrollListener</a></li>
638      </ul>
639    </li>
640
641    <li><h2>Classes</h2>
642      <ul>
643        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionChooserView.html">ActionChooserView</a></li>
644        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionLabel.html">ActionLabel</a></li>
645        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ActionPage.html">ActionPage</a></li>
646        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.html">BoxInsetLayout</a></li>
647        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/BoxInsetLayout.LayoutParams.html">BoxInsetLayout.LayoutParams</a></li>
648        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFragment.html">CardFragment</a></li>
649        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardFrame.html">CardFrame</a></li>
650        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CardScrollView.html">CardScrollView</a></li>
651        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircledImageView.html">CircledImageView</a></li>
652        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CircularButton.html">CircularButton</a></li>
653        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/CrossfadeDrawable.html">CrossfadeDrawable</a></li>
654        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DelayedConfirmationView.html">DelayedConfirmationView</a></li>
655        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DismissOverlayView.html">DismissOverlayView</a></li>
656        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/DotsPageIndicator.html">DotsPageIndicator</a></li>
657        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/FragmentGridPagerAdapter.html">FragmentGridPagerAdapter</a></li>
658        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridPagerAdapter.html">GridPagerAdapter</a></li>
659        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.html">GridViewPager</a></li>
660        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/GridViewPager.LayoutParams.html">GridViewPager.LayoutParams</a></li>
661        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/ProgressSpinner.html">ProgressSpinner</a></li>
662        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/SimpleAnimatorListener.html">SimpleAnimatorListener</a></li>
663        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WatchViewStub.html">WatchViewStub</a></li>
664        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.html">WearableFrameLayout</a></li>
665        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableFrameLayout.LayoutParams.html">WearableFrameLayout.LayoutParams</a></li>
666        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.html">WearableListView</a></li>
667        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.Adapter.html">WearableListView.Adapter</a></li>
668        <li class="api apilevel-"><a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a></li>
669      </ul>
670    </li>
671
672
673
674  </ul>
675
676</div>
677
678
679
680</body>
681</html>
682