blob: 12b5da5a586ef44e8657b9744bd7d8549327bcfb [file] [log] [blame]
Quddus Chong489218c2015-02-26 16:38:46 -08001<!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
Quddus Chong900831f2015-04-17 15:01:16 -070098
Quddus Chong489218c2015-02-26 16:38:46 -080099<html>
100<head>
101
102
103<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
104<meta name="viewport" content="width=device-width" />
105
106<link rel="shortcut icon" type="image/x-icon" href="../../../../../../favicon.ico" />
107<title>PositionAssertions | 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">
Quddus Chong900831f2015-04-17 15:01:16 -0700114<link href="../../../../../../assets/css/default.css?v=5" rel="stylesheet" type="text/css">
Quddus Chong489218c2015-02-26 16:38:46 -0800115
116
117<!-- FULLSCREEN STYLESHEET -->
118<link href="../../../../../../assets/css/fullscreen.css" rel="stylesheet" class="fullscreen"
119type="text/css">
120
121
122<!-- JAVASCRIPT -->
123<script src="http://www.google.com/jsapi" type="text/javascript"></script>
124<script src="../../../../../../assets/js/android_3p-bundle.js" type="text/javascript"></script>
125<script type="text/javascript">
126 var toRoot = "../../../../../../";
127 var metaTags = [];
128 var devsite = false;
129</script>
Quddus Chong900831f2015-04-17 15:01:16 -0700130<script src="../../../../../../assets/js/docs.js?v=3" type="text/javascript"></script>
131
132
Quddus Chong489218c2015-02-26 16:38:46 -0800133
134<script>
135 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
136 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
137 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
138 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
139
140 ga('create', 'UA-5831155-1', 'android.com');
141 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker);
142 ga('send', 'pageview');
143 ga('universal.send', 'pageview'); // Send page view for new tracker.
144</script>
145
146</head>
147
148<body class="gc-documentation
149 develop reference" itemscope itemtype="http://schema.org/Article">
150 <div id="doc-api-level" class="" style="display:none"></div>
151 <a name="top"></a>
152
153
154<a name="top"></a>
155
Quddus Chong900831f2015-04-17 15:01:16 -0700156<!-- 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
Quddus Chong489218c2015-02-26 16:38:46 -0800202 <!-- Header -->
203 <div id="header-wrapper">
204 <div id="header">
205
206
207
208
209 <div class="wrap" id="header-wrap">
210 <div class="col-3 logo">
211 <a href="../../../../../../index.html">
212 <img src="../../../../../../assets/images/dac_logo.png"
213 srcset="../../../../../../assets/images/dac_logo@2x.png 2x"
214 width="123" height="25" alt="Android Developers" />
215 </a>
216 <div class="btn-quicknav" id="btn-quicknav">
217 <a href="#" class="arrow-inactive">Quicknav</a>
218 <a href="#" class="arrow-active">Quicknav</a>
219 </div>
220 </div>
221 <ul class="nav-x col-9">
222 <li class="design">
223 <a href="../../../../../../design/index.html"
224 zh-tw-lang="設計"
225 zh-cn-lang="设计"
226 ru-lang="Проектирование"
227 ko-lang="디자인"
228 ja-lang="設計"
229 es-lang="Diseñar"
230 >Design</a></li>
231 <li class="develop"><a href="../../../../../../develop/index.html"
232 zh-tw-lang="開發"
233 zh-cn-lang="开发"
234 ru-lang="Разработка"
235 ko-lang="개발"
236 ja-lang="開発"
237 es-lang="Desarrollar"
238 >Develop</a></li>
239 <li class="distribute last"><a href="../../../../../../distribute/index.html"
240 zh-tw-lang="發佈"
241 zh-cn-lang="分发"
242 ru-lang="Распространение"
243 ko-lang="배포"
244 ja-lang="配布"
245 es-lang="Distribuir"
246 >Distribute</a></li>
247 </ul>
248
249
250
251
252<div class="menu-container">
253 <div class="moremenu">
254 <div id="more-btn"></div>
255 </div>
256 <div class="morehover" id="moremenu">
257 <div class="top"></div>
258 <div class="mid">
259 <div class="header">Links</div>
260 <ul>
261 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li>
262 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
263 <li><a href="../../../../../../about/index.html">About Android</a></li>
264 </ul>
265 <div class="header">Android Sites</div>
266 <ul>
267 <li><a href="http://www.android.com">Android.com</a></li>
268 <li class="active"><a>Android Developers</a></li>
269 <li><a href="http://source.android.com">Android Open Source Project</a></li>
270 </ul>
271
272
273
274
275 <br class="clearfix" />
276 </div><!-- end 'mid' -->
277 <div class="bottom"></div>
278 </div><!-- end 'moremenu' -->
279
280 <div class="search" id="search-container">
281 <div class="search-inner">
282 <div id="search-btn"></div>
283 <div class="left"></div>
284 <form onsubmit="return submit_search()">
285 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
286 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
287 onkeydown="return search_changed(event, true, '../../../../../../')"
288 onkeyup="return search_changed(event, false, '../../../../../../')" />
289 </form>
290 <div class="right"></div>
291 <a class="close hide">close</a>
292 <div class="left"></div>
293 <div class="right"></div>
294 </div><!-- end search-inner -->
295 </div><!-- end search-container -->
296
297 <div class="search_filtered_wrapper reference">
298 <div class="suggest-card reference no-display">
299 <ul class="search_filtered">
300 </ul>
301 </div>
302 </div>
303
304 <div class="search_filtered_wrapper docs">
305 <div class="suggest-card dummy no-display">&nbsp;</div>
306 <div class="suggest-card develop no-display">
307 <ul class="search_filtered">
308 </ul>
309 <div class="child-card guides no-display">
310 </div>
311 <div class="child-card training no-display">
312 </div>
313 <div class="child-card samples no-display">
314 </div>
315 </div>
316 <div class="suggest-card design no-display">
317 <ul class="search_filtered">
318 </ul>
319 </div>
320 <div class="suggest-card distribute no-display">
321 <ul class="search_filtered">
322 </ul>
323 </div>
324 </div>
325</div><!-- end menu-container (search and menu widget) -->
326
327
328
329 <!-- Expanded quicknav -->
330 <div id="quicknav" class="col-13">
331 <ul>
332 <li class="about">
333 <ul>
334 <li><a href="../../../../../../about/index.html">About</a></li>
335 <li><a href="../../../../../../wear/index.html">Wear</a></li>
336 <li><a href="../../../../../../tv/index.html">TV</a></li>
337 <li><a href="../../../../../../auto/index.html">Auto</a></li>
338 </ul>
339 </li>
340 <li class="design">
341 <ul>
342 <li><a href="../../../../../../design/index.html">Get Started</a></li>
343 <li><a href="../../../../../../design/devices.html">Devices</a></li>
344 <li><a href="../../../../../../design/style/index.html">Style</a></li>
345 <li><a href="../../../../../../design/patterns/index.html">Patterns</a></li>
346 <li><a href="../../../../../../design/building-blocks/index.html">Building Blocks</a></li>
347 <li><a href="../../../../../../design/downloads/index.html">Downloads</a></li>
348 <li><a href="../../../../../../design/videos/index.html">Videos</a></li>
349 </ul>
350 </li>
351 <li class="develop">
352 <ul>
353 <li><a href="../../../../../../training/index.html"
354 zh-tw-lang="訓練課程"
355 zh-cn-lang="培训"
356 ru-lang="Курсы"
357 ko-lang="교육"
358 ja-lang="トレーニング"
359 es-lang="Capacitación"
360 >Training</a></li>
361 <li><a href="../../../../../../guide/index.html"
362 zh-tw-lang="API 指南"
363 zh-cn-lang="API 指南"
364 ru-lang="Руководства по API"
365 ko-lang="API 가이드"
366 ja-lang="API ガイド"
367 es-lang="Guías de la API"
368 >API Guides</a></li>
369 <li><a href="../../../../../../reference/packages.html"
370 zh-tw-lang="參考資源"
371 zh-cn-lang="参考"
372 ru-lang="Справочник"
373 ko-lang="참조문서"
374 ja-lang="リファレンス"
375 es-lang="Referencia"
376 >Reference</a></li>
377 <li><a href="../../../../../../sdk/index.html"
378 zh-tw-lang="相關工具"
379 zh-cn-lang="工具"
380 ru-lang="Инструменты"
381 ko-lang="도구"
382 ja-lang="ツール"
383 es-lang="Herramientas"
384 >Tools</a>
385 </li>
386 <li><a href="../../../../../../google/index.html">Google Services</a>
387 </li>
388
389 </ul>
390 </li>
391 <li class="distribute last">
392 <ul>
393 <li><a href="../../../../../../distribute/googleplay/index.html">Google Play</a></li>
394 <li><a href="../../../../../../distribute/essentials/index.html">Essentials</a></li>
395 <li><a href="../../../../../../distribute/users/index.html">Get Users</a></li>
396 <li><a href="../../../../../../distribute/engage/index.html">Engage &amp; Retain</a></li>
397 <li><a href="../../../../../../distribute/monetize/index.html">Monetize</a></li>
Quddus Chong900831f2015-04-17 15:01:16 -0700398 <li><a href="../../../../../../distribute/analyze/index.html">Analyze</a></li>
Quddus Chong489218c2015-02-26 16:38:46 -0800399 <li><a href="../../../../../../distribute/tools/index.html">Tools &amp; Reference</a></li>
400 <li><a href="../../../../../../distribute/stories/index.html">Developer Stories</a></li>
401 </ul>
402 </li>
403 </ul>
404 </div><!-- /Expanded quicknav -->
405 </div><!-- end header-wrap.wrap -->
406 </div><!-- end header -->
407
408
409 <!-- Secondary x-nav -->
410 <div id="nav-x">
411 <div class="wrap" style="position:relative;z-index:1">
412
413
Quddus Chong489218c2015-02-26 16:38:46 -0800414
Quddus Chong489218c2015-02-26 16:38:46 -0800415
416
417 <ul class="nav-x col-9 develop" style="width:100%">
418 <li class="training"><a href="../../../../../../training/index.html"
419 zh-tw-lang="訓練課程"
420 zh-cn-lang="培训"
421 ru-lang="Курсы"
422 ko-lang="교육"
423 ja-lang="トレーニング"
424 es-lang="Capacitación"
425 >Training</a></li>
426 <li class="guide"><a href="../../../../../../guide/index.html"
427 zh-tw-lang="API 指南"
428 zh-cn-lang="API 指南"
429 ru-lang="Руководства по API"
430 ko-lang="API 가이드"
431 ja-lang="API ガイド"
432 es-lang="Guías de la API"
433 >API Guides</a></li>
434 <li class="reference"><a href="../../../../../../reference/packages.html"
435 zh-tw-lang="參考資源"
436 zh-cn-lang="参考"
437 ru-lang="Справочник"
438 ko-lang="참조문서"
439 ja-lang="リファレンス"
440 es-lang="Referencia"
441 >Reference</a></li>
442 <li class="tools"><a href="../../../../../../sdk/index.html"
443 zh-tw-lang="相關工具"
444 zh-cn-lang="工具"
445 ru-lang="Инструменты"
446 ko-lang="도구"
447 ja-lang="ツール"
448 es-lang="Herramientas"
449 >Tools</a></li>
450 <li class="google"><a href="../../../../../../google/index.html"
451 >Google Services</a>
452 </li>
453
454 </ul>
455 </div>
456 </div>
457 <!-- /Sendondary x-nav DEVELOP -->
458
459
460
461 <div id="searchResults" class="wrap" style="display:none;">
462 <h2 id="searchTitle">Results</h2>
463 <div id="leftSearchControl" class="search-control">Loading...</div>
464 </div>
465 </div> <!--end header-wrapper -->
466
467 <div id="sticky-header">
468 <div>
469 <a class="logo" href="#top"></a>
470 <a class="top" href="#top"></a>
471 <ul class="breadcrumb">
472
473 <li class="current">PositionAssertions</li>
474 </ul>
475 </div>
476 </div>
477
478
479
480
481
482 <div class="wrap clearfix" id="body-content">
483 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
484 <div id="devdoc-nav">
485 <div id="api-nav-header">
486 <div id="api-level-toggle">
487 <label for="apiLevelCheckbox" class="disabled"
488 title="Select your target API level to dim unavailable APIs">API level: </label>
489 <div class="select-wrapper">
490 <select id="apiLevelSelector">
491 <!-- option elements added by buildApiLevelSelector() -->
492 </select>
493 </div>
494 </div><!-- end toggle -->
495 <div id="api-nav-title">Android APIs</div>
496 </div><!-- end nav header -->
497 <script>
498 var SINCE_DATA = [ ];
499 buildApiLevelSelector();
500 </script>
501
502 <div id="swapper">
503 <div id="nav-panels">
504 <div id="resize-packages-nav">
505 <div id="packages-nav" class="scroll-pane">
506
507 <ul>
508
509 <li class="api apilevel-">
510 <a href="../../../../../../reference/android/support/test/package-summary.html">android.support.test</a></li>
511 <li class="api apilevel-">
Quddus Chong900831f2015-04-17 15:01:16 -0700512 <a href="../../../../../../reference/android/support/test/annotation/package-summary.html">android.support.test.annotation</a></li>
513 <li class="api apilevel-">
Quddus Chong489218c2015-02-26 16:38:46 -0800514 <a href="../../../../../../reference/android/support/test/espresso/package-summary.html">android.support.test.espresso</a></li>
515 <li class="api apilevel-">
516 <a href="../../../../../../reference/android/support/test/espresso/action/package-summary.html">android.support.test.espresso.action</a></li>
517 <li class="selected api apilevel-">
518 <a href="../../../../../../reference/android/support/test/espresso/assertion/package-summary.html">android.support.test.espresso.assertion</a></li>
519 <li class="api apilevel-">
520 <a href="../../../../../../reference/android/support/test/espresso/base/package-summary.html">android.support.test.espresso.base</a></li>
521 <li class="api apilevel-">
522 <a href="../../../../../../reference/android/support/test/espresso/contrib/package-summary.html">android.support.test.espresso.contrib</a></li>
523 <li class="api apilevel-">
Quddus Chong900831f2015-04-17 15:01:16 -0700524 <a href="../../../../../../reference/android/support/test/espresso/intent/package-summary.html">android.support.test.espresso.intent</a></li>
525 <li class="api apilevel-">
526 <a href="../../../../../../reference/android/support/test/espresso/intent/matcher/package-summary.html">android.support.test.espresso.intent.matcher</a></li>
527 <li class="api apilevel-">
528 <a href="../../../../../../reference/android/support/test/espresso/intent/rule/package-summary.html">android.support.test.espresso.intent.rule</a></li>
529 <li class="api apilevel-">
Quddus Chong489218c2015-02-26 16:38:46 -0800530 <a href="../../../../../../reference/android/support/test/espresso/matcher/package-summary.html">android.support.test.espresso.matcher</a></li>
531 <li class="api apilevel-">
532 <a href="../../../../../../reference/android/support/test/espresso/util/package-summary.html">android.support.test.espresso.util</a></li>
533 <li class="api apilevel-">
534 <a href="../../../../../../reference/android/support/test/filters/package-summary.html">android.support.test.filters</a></li>
535 <li class="api apilevel-">
Quddus Chong900831f2015-04-17 15:01:16 -0700536 <a href="../../../../../../reference/android/support/test/rule/package-summary.html">android.support.test.rule</a></li>
537 <li class="api apilevel-">
Quddus Chong489218c2015-02-26 16:38:46 -0800538 <a href="../../../../../../reference/android/support/test/runner/package-summary.html">android.support.test.runner</a></li>
539 <li class="api apilevel-">
Quddus Chong900831f2015-04-17 15:01:16 -0700540 <a href="../../../../../../reference/android/support/test/runner/intent/package-summary.html">android.support.test.runner.intent</a></li>
541 <li class="api apilevel-">
Quddus Chong489218c2015-02-26 16:38:46 -0800542 <a href="../../../../../../reference/android/support/test/runner/lifecycle/package-summary.html">android.support.test.runner.lifecycle</a></li>
543 <li class="api apilevel-">
544 <a href="../../../../../../reference/android/support/test/uiautomator/package-summary.html">android.support.test.uiautomator</a></li>
545 </ul><br/>
546
547 </div> <!-- end packages-nav -->
548 </div> <!-- end resize-packages -->
549 <div id="classes-nav" class="scroll-pane">
550
551
552
553 <ul>
554
555
556
557 <li><h2>Classes</h2>
558 <ul>
559 <li class="api apilevel-"><a href="../../../../../../reference/android/support/test/espresso/assertion/LayoutAssertions.html">LayoutAssertions</a></li>
560 <li class="selected api apilevel-"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html">PositionAssertions</a></li>
561 <li class="api apilevel-"><a href="../../../../../../reference/android/support/test/espresso/assertion/ViewAssertions.html">ViewAssertions</a></li>
562 </ul>
563 </li>
564
565
566
567 </ul><br/>
568
569
570 </div><!-- end classes -->
571 </div><!-- end nav-panels -->
572 <div id="nav-tree" style="display:none" class="scroll-pane">
573 <div id="tree-list"></div>
574 </div><!-- end nav-tree -->
575 </div><!-- end swapper -->
576 <div id="nav-swap">
577 <a class="fullscreen">fullscreen</a>
578 <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>
579 </div>
580 </div> <!-- end devdoc-nav -->
581 </div> <!-- end side-nav -->
582 <script type="text/javascript">
583 // init fullscreen based on user pref
584 var fullscreen = readCookie("fullscreen");
585 if (fullscreen != 0) {
586 if (fullscreen == "false") {
587 toggleFullscreen(false);
588 } else {
589 toggleFullscreen(true);
590 }
591 }
592 // init nav version for mobile
593 if (isMobile) {
594 swapNav(); // tree view should be used on mobile
595 $('#nav-swap').hide();
596 } else {
597 chooseDefaultNav();
598 if ($("#nav-tree").is(':visible')) {
599 init_default_navtree("../../../../../../");
600 }
601 }
602 // scroll the selected page into view
603 $(document).ready(function() {
604 scrollIntoView("packages-nav");
605 scrollIntoView("classes-nav");
606 });
607 </script>
608
609
610
611
612
613<div class="col-12" id="doc-col">
614
615<div id="api-info-block">
616
617
618
619
620
621
622
623
624
625
626
627<div class="sum-details-links">
628
629Summary:
630
631
632
633
634
635
636
637
638
639
640
641 <a href="#pubmethods">Methods</a>
642
643
644
645
646 &#124; <a href="#inhmethods">Inherited Methods</a>
647
648&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
649
650</div><!-- end sum-details-links -->
651<div class="api-level">
652
653
654
655
656</div>
657</div><!-- end api-info-block -->
658
659
660<!-- ======== START OF CLASS DATA ======== -->
661
662<div id="jd-header">
663 public
664
665 final
666
667 class
668<h1 itemprop="name">PositionAssertions</h1>
669
670
671
672
673 extends Object<br/>
674
675
676
677
678
679
680
681
682
683
684
685
686</div><!-- end header -->
687
688<div id="naMessage"></div>
689
690<div id="jd-content" class="api apilevel-">
691<table class="jd-inheritance-table">
692
693
694 <tr>
695
696 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
697 </tr>
698
699
700 <tr>
701
702 <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
703
704 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.assertion.PositionAssertions</td>
705 </tr>
706
707
708</table>
709
710
711
712
713
714
715
716<div class="jd-descr">
717
718
719<h2>Class Overview</h2>
720<p itemprop="articleBody">A collection of <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code>s for checking relative position of elements on the screen.
721</p>
722
723
724
725
726
727</div><!-- jd-descr -->
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744<div class="jd-descr">
745
746
747<h2>Summary</h2>
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775<!-- ========== METHOD SUMMARY =========== -->
776<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
777
778
779
780
781 <tr class="alt-color api apilevel-" >
782 <td class="jd-typecol"><nobr>
783
784
785
786 static
787
788 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
789 </td>
790 <td class="jd-linkcol" width="100%"><nobr>
791 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isAbove(org.hamcrest.Matcher<android.view.View>)">isAbove</a></span>(Matcher&lt;View&gt; matcher)</nobr>
792
793 <div class="jd-descrdiv">
794 Returns an Assertion that asserts that view displayed is completely above
795 the view matching the given matcher.
796
797
798
799 </div>
800
801 </td></tr>
802
803
804
805 <tr class=" api apilevel-" >
806 <td class="jd-typecol"><nobr>
807
808
809
810 static
811
812 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
813 </td>
814 <td class="jd-linkcol" width="100%"><nobr>
815 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isBelow(org.hamcrest.Matcher<android.view.View>)">isBelow</a></span>(Matcher&lt;View&gt; matcher)</nobr>
816
817 <div class="jd-descrdiv">
818 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely
819 below the view matching the given matcher.
820
821
822
823 </div>
824
825 </td></tr>
826
827
828
829 <tr class="alt-color api apilevel-" >
830 <td class="jd-typecol"><nobr>
831
832
833
834 static
835
836 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
837 </td>
838 <td class="jd-linkcol" width="100%"><nobr>
839 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isBottomAlignedWith(org.hamcrest.Matcher<android.view.View>)">isBottomAlignedWith</a></span>(Matcher&lt;View&gt; matcher)</nobr>
840
841 <div class="jd-descrdiv">
842 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely
843 aligned to bottom with the view matching the given matcher.
844
845
846
847 </div>
848
849 </td></tr>
850
851
852
853 <tr class=" api apilevel-" >
854 <td class="jd-typecol"><nobr>
855
856
857
858 static
859
860 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
861 </td>
862 <td class="jd-linkcol" width="100%"><nobr>
863 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isLeftAlignedWith(org.hamcrest.Matcher<android.view.View>)">isLeftAlignedWith</a></span>(Matcher&lt;View&gt; matcher)</nobr>
864
865 <div class="jd-descrdiv">
866 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely aligned
867 to the left as the view matching the given matcher.
868
869
870
871 </div>
872
873 </td></tr>
874
875
876
877 <tr class="alt-color api apilevel-" >
878 <td class="jd-typecol"><nobr>
879
880
881
882 static
883
884 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
885 </td>
886 <td class="jd-linkcol" width="100%"><nobr>
887 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isLeftOf(org.hamcrest.Matcher<android.view.View>)">isLeftOf</a></span>(Matcher&lt;View&gt; matcher)</nobr>
888
889 <div class="jd-descrdiv">
890 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely left of
891 the view matching the given matcher.
892
893
894
895 </div>
896
897 </td></tr>
898
899
900
901 <tr class=" api apilevel-" >
902 <td class="jd-typecol"><nobr>
903
904
905
906 static
907
908 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
909 </td>
910 <td class="jd-linkcol" width="100%"><nobr>
911 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isRightAlignedWith(org.hamcrest.Matcher<android.view.View>)">isRightAlignedWith</a></span>(Matcher&lt;View&gt; matcher)</nobr>
912
913 <div class="jd-descrdiv">
914 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely aligned
915 to the right as the view matching the given matcher.
916
917
918
919 </div>
920
921 </td></tr>
922
923
924
925 <tr class="alt-color api apilevel-" >
926 <td class="jd-typecol"><nobr>
927
928
929
930 static
931
932 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
933 </td>
934 <td class="jd-linkcol" width="100%"><nobr>
935 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isRightOf(org.hamcrest.Matcher<android.view.View>)">isRightOf</a></span>(Matcher&lt;View&gt; matcher)</nobr>
936
937 <div class="jd-descrdiv">
938 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely right of
939 the view matching the given matcher.
940
941
942
943 </div>
944
945 </td></tr>
946
947
948
949 <tr class=" api apilevel-" >
950 <td class="jd-typecol"><nobr>
951
952
953
954 static
955
956 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></nobr>
957 </td>
958 <td class="jd-linkcol" width="100%"><nobr>
959 <span class="sympad"><a href="../../../../../../reference/android/support/test/espresso/assertion/PositionAssertions.html#isTopAlignedWith(org.hamcrest.Matcher<android.view.View>)">isTopAlignedWith</a></span>(Matcher&lt;View&gt; matcher)</nobr>
960
961 <div class="jd-descrdiv">
962 Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely
963 aligned to top with the view matching the given matcher.
964
965
966
967 </div>
968
969 </td></tr>
970
971
972
973</table>
974
975
976
977
978
979
980
981<!-- ========== METHOD SUMMARY =========== -->
982<table id="inhmethods" class="jd-sumtable"><tr><th>
983 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
984 <div style="clear:left;">Inherited Methods</div></th></tr>
985
986
987<tr class="api apilevel-" >
988<td colspan="12">
989 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
990 ><img id="inherited-methods-java.lang.Object-trigger"
991 src="../../../../../../assets/images/triangle-closed.png"
992 class="jd-expando-trigger-img" /></a>
993From class
994
995 java.lang.Object
996
997<div id="inherited-methods-java.lang.Object">
998 <div id="inherited-methods-java.lang.Object-list"
999 class="jd-inheritedlinks">
1000 </div>
1001 <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
1002 <table class="jd-sumtable-expando">
1003
1004
1005
1006
1007 <tr class="alt-color api apilevel-" >
1008 <td class="jd-typecol"><nobr>
1009
1010
1011
1012
1013
1014 Object</nobr>
1015 </td>
1016 <td class="jd-linkcol" width="100%"><nobr>
1017 <span class="sympad">clone</span>()</nobr>
1018
1019 </td></tr>
1020
1021
1022
1023 <tr class=" api apilevel-" >
1024 <td class="jd-typecol"><nobr>
1025
1026
1027
1028
1029
1030 boolean</nobr>
1031 </td>
1032 <td class="jd-linkcol" width="100%"><nobr>
1033 <span class="sympad">equals</span>(Object arg0)</nobr>
1034
1035 </td></tr>
1036
1037
1038
1039 <tr class="alt-color api apilevel-" >
1040 <td class="jd-typecol"><nobr>
1041
1042
1043
1044
1045
1046 void</nobr>
1047 </td>
1048 <td class="jd-linkcol" width="100%"><nobr>
1049 <span class="sympad">finalize</span>()</nobr>
1050
1051 </td></tr>
1052
1053
1054
1055 <tr class=" api apilevel-" >
1056 <td class="jd-typecol"><nobr>
1057
1058
1059 final
1060
1061
1062 Class&lt;?&gt;</nobr>
1063 </td>
1064 <td class="jd-linkcol" width="100%"><nobr>
1065 <span class="sympad">getClass</span>()</nobr>
1066
1067 </td></tr>
1068
1069
1070
1071 <tr class="alt-color api apilevel-" >
1072 <td class="jd-typecol"><nobr>
1073
1074
1075
1076
1077
1078 int</nobr>
1079 </td>
1080 <td class="jd-linkcol" width="100%"><nobr>
1081 <span class="sympad">hashCode</span>()</nobr>
1082
1083 </td></tr>
1084
1085
1086
1087 <tr class=" api apilevel-" >
1088 <td class="jd-typecol"><nobr>
1089
1090
1091 final
1092
1093
1094 void</nobr>
1095 </td>
1096 <td class="jd-linkcol" width="100%"><nobr>
1097 <span class="sympad">notify</span>()</nobr>
1098
1099 </td></tr>
1100
1101
1102
1103 <tr class="alt-color api apilevel-" >
1104 <td class="jd-typecol"><nobr>
1105
1106
1107 final
1108
1109
1110 void</nobr>
1111 </td>
1112 <td class="jd-linkcol" width="100%"><nobr>
1113 <span class="sympad">notifyAll</span>()</nobr>
1114
1115 </td></tr>
1116
1117
1118
1119 <tr class=" api apilevel-" >
1120 <td class="jd-typecol"><nobr>
1121
1122
1123
1124
1125
1126 String</nobr>
1127 </td>
1128 <td class="jd-linkcol" width="100%"><nobr>
1129 <span class="sympad">toString</span>()</nobr>
1130
1131 </td></tr>
1132
1133
1134
1135 <tr class="alt-color api apilevel-" >
1136 <td class="jd-typecol"><nobr>
1137
1138
1139 final
1140
1141
1142 void</nobr>
1143 </td>
1144 <td class="jd-linkcol" width="100%"><nobr>
1145 <span class="sympad">wait</span>()</nobr>
1146
1147 </td></tr>
1148
1149
1150
1151 <tr class=" api apilevel-" >
1152 <td class="jd-typecol"><nobr>
1153
1154
1155 final
1156
1157
1158 void</nobr>
1159 </td>
1160 <td class="jd-linkcol" width="100%"><nobr>
1161 <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
1162
1163 </td></tr>
1164
1165
1166
1167 <tr class="alt-color api apilevel-" >
1168 <td class="jd-typecol"><nobr>
1169
1170
1171 final
1172
1173
1174 void</nobr>
1175 </td>
1176 <td class="jd-linkcol" width="100%"><nobr>
1177 <span class="sympad">wait</span>(long arg0)</nobr>
1178
1179 </td></tr>
1180
1181
1182</table>
1183 </div>
1184</div>
1185</td></tr>
1186
1187
1188</table>
1189
1190
1191</div><!-- jd-descr (summary) -->
1192
1193<!-- Details -->
1194
1195
1196
1197
1198
1199
1200
1201
1202<!-- XML Attributes -->
1203
1204
1205<!-- Enum Values -->
1206
1207
1208<!-- Constants -->
1209
1210
1211<!-- Fields -->
1212
1213
1214<!-- Public ctors -->
1215
1216
1217
1218<!-- ========= CONSTRUCTOR DETAIL ======== -->
1219<!-- Protected ctors -->
1220
1221
1222
1223<!-- ========= METHOD DETAIL ======== -->
1224<!-- Public methdos -->
1225
1226<h2>Public Methods</h2>
1227
1228
1229
1230<A NAME="isAbove(org.hamcrest.Matcher<android.view.View>)"></A>
1231
1232<div class="jd-details api apilevel-">
1233 <h4 class="jd-details-title">
1234 <span class="normal">
1235 public
1236 static
1237
1238
1239
1240 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1241 </span>
1242 <span class="sympad">isAbove</span>
1243 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1244 </h4>
1245 <div class="api-level">
1246 <div></div>
1247
1248
1249
1250 </div>
1251 <div class="jd-details-descr">
1252
1253
1254
1255
1256 <div class="jd-tagdata jd-tagdescr"><p>Returns an Assertion that asserts that view displayed is completely above
1257 the view matching the given matcher.</p></div>
1258 <div class="jd-tagdata">
1259 <h5 class="jd-tagtitle">Throws</h5>
1260 <table class="jd-tagtable">
1261 <tr>
1262 <th></td>
1263 <td>if there is more than 1 pixel of vertical overlap.</td>
1264 </tr>
1265 <tr>
1266 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1267 <td>if more than one view matches the given matcher.</td>
1268 </tr>
1269 <tr>
1270 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1271 <td>if no views match the given matcher.
1272</td>
1273 </tr>
1274 </table>
1275 </div>
1276
1277 </div>
1278</div>
1279
1280
1281<A NAME="isBelow(org.hamcrest.Matcher<android.view.View>)"></A>
1282
1283<div class="jd-details api apilevel-">
1284 <h4 class="jd-details-title">
1285 <span class="normal">
1286 public
1287 static
1288
1289
1290
1291 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1292 </span>
1293 <span class="sympad">isBelow</span>
1294 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1295 </h4>
1296 <div class="api-level">
1297 <div></div>
1298
1299
1300
1301 </div>
1302 <div class="jd-details-descr">
1303
1304
1305
1306
1307 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely
1308 below the view matching the given matcher.</p></div>
1309 <div class="jd-tagdata">
1310 <h5 class="jd-tagtitle">Throws</h5>
1311 <table class="jd-tagtable">
1312 <tr>
1313 <th></td>
1314 <td>if there is more than 1 pixel of vertical overlap.</td>
1315 </tr>
1316 <tr>
1317 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1318 <td>if more than one view matches the given matcher.</td>
1319 </tr>
1320 <tr>
1321 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1322 <td>if no views match the given matcher.
1323</td>
1324 </tr>
1325 </table>
1326 </div>
1327
1328 </div>
1329</div>
1330
1331
1332<A NAME="isBottomAlignedWith(org.hamcrest.Matcher<android.view.View>)"></A>
1333
1334<div class="jd-details api apilevel-">
1335 <h4 class="jd-details-title">
1336 <span class="normal">
1337 public
1338 static
1339
1340
1341
1342 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1343 </span>
1344 <span class="sympad">isBottomAlignedWith</span>
1345 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1346 </h4>
1347 <div class="api-level">
1348 <div></div>
1349
1350
1351
1352 </div>
1353 <div class="jd-details-descr">
1354
1355
1356
1357
1358 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely
1359 aligned to bottom with the view matching the given matcher.
1360
1361 <p>The bottom 'y' coordinate of the view displayed must equal the bottom 'y'
1362 coordinate of the view matching the given matcher.</p></div>
1363 <div class="jd-tagdata">
1364 <h5 class="jd-tagtitle">Throws</h5>
1365 <table class="jd-tagtable">
1366 <tr>
1367 <th></td>
1368 <td>if the views are not aligned bottom.</td>
1369 </tr>
1370 <tr>
1371 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1372 <td>if more than one view matches the given matcher.</td>
1373 </tr>
1374 <tr>
1375 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1376 <td>if no views match the given matcher.
1377</td>
1378 </tr>
1379 </table>
1380 </div>
1381
1382 </div>
1383</div>
1384
1385
1386<A NAME="isLeftAlignedWith(org.hamcrest.Matcher<android.view.View>)"></A>
1387
1388<div class="jd-details api apilevel-">
1389 <h4 class="jd-details-title">
1390 <span class="normal">
1391 public
1392 static
1393
1394
1395
1396 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1397 </span>
1398 <span class="sympad">isLeftAlignedWith</span>
1399 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1400 </h4>
1401 <div class="api-level">
1402 <div></div>
1403
1404
1405
1406 </div>
1407 <div class="jd-details-descr">
1408
1409
1410
1411
1412 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely aligned
1413 to the left as the view matching the given matcher.
1414
1415 <p>The left 'x' coordinate of the view displayed must equal the left 'x'
1416 coordinate of the view matching the given matcher.</p></div>
1417 <div class="jd-tagdata">
1418 <h5 class="jd-tagtitle">Throws</h5>
1419 <table class="jd-tagtable">
1420 <tr>
1421 <th></td>
1422 <td>if the views are not aligned to the left.</td>
1423 </tr>
1424 <tr>
1425 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1426 <td>if more than one view matches the given matcher.</td>
1427 </tr>
1428 <tr>
1429 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1430 <td>if no views match the given matcher.
1431</td>
1432 </tr>
1433 </table>
1434 </div>
1435
1436 </div>
1437</div>
1438
1439
1440<A NAME="isLeftOf(org.hamcrest.Matcher<android.view.View>)"></A>
1441
1442<div class="jd-details api apilevel-">
1443 <h4 class="jd-details-title">
1444 <span class="normal">
1445 public
1446 static
1447
1448
1449
1450 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1451 </span>
1452 <span class="sympad">isLeftOf</span>
1453 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1454 </h4>
1455 <div class="api-level">
1456 <div></div>
1457
1458
1459
1460 </div>
1461 <div class="jd-details-descr">
1462
1463
1464
1465
1466 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely left of
1467 the view matching the given matcher.</p></div>
1468 <div class="jd-tagdata">
1469 <h5 class="jd-tagtitle">Throws</h5>
1470 <table class="jd-tagtable">
1471 <tr>
1472 <th></td>
1473 <td>if there is more than 1 pixel of horizontal overlap.</td>
1474 </tr>
1475 <tr>
1476 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1477 <td>if more than one view matches the given matcher.</td>
1478 </tr>
1479 <tr>
1480 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1481 <td>if no views match the given matcher.
1482</td>
1483 </tr>
1484 </table>
1485 </div>
1486
1487 </div>
1488</div>
1489
1490
1491<A NAME="isRightAlignedWith(org.hamcrest.Matcher<android.view.View>)"></A>
1492
1493<div class="jd-details api apilevel-">
1494 <h4 class="jd-details-title">
1495 <span class="normal">
1496 public
1497 static
1498
1499
1500
1501 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1502 </span>
1503 <span class="sympad">isRightAlignedWith</span>
1504 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1505 </h4>
1506 <div class="api-level">
1507 <div></div>
1508
1509
1510
1511 </div>
1512 <div class="jd-details-descr">
1513
1514
1515
1516
1517 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely aligned
1518 to the right as the view matching the given matcher.
1519
1520 <p>The right 'x' coordinate of the view displayed must equal the right 'x'
1521 coordinate of the view matching the given matcher.</p></div>
1522 <div class="jd-tagdata">
1523 <h5 class="jd-tagtitle">Throws</h5>
1524 <table class="jd-tagtable">
1525 <tr>
1526 <th></td>
1527 <td>if the views are not aligned to the right.</td>
1528 </tr>
1529 <tr>
1530 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1531 <td>if more than one view matches the given matcher.</td>
1532 </tr>
1533 <tr>
1534 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1535 <td>if no views match the given matcher.
1536</td>
1537 </tr>
1538 </table>
1539 </div>
1540
1541 </div>
1542</div>
1543
1544
1545<A NAME="isRightOf(org.hamcrest.Matcher<android.view.View>)"></A>
1546
1547<div class="jd-details api apilevel-">
1548 <h4 class="jd-details-title">
1549 <span class="normal">
1550 public
1551 static
1552
1553
1554
1555 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1556 </span>
1557 <span class="sympad">isRightOf</span>
1558 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1559 </h4>
1560 <div class="api-level">
1561 <div></div>
1562
1563
1564
1565 </div>
1566 <div class="jd-details-descr">
1567
1568
1569
1570
1571 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely right of
1572 the view matching the given matcher.</p></div>
1573 <div class="jd-tagdata">
1574 <h5 class="jd-tagtitle">Throws</h5>
1575 <table class="jd-tagtable">
1576 <tr>
1577 <th></td>
1578 <td>if there is more than 1 pixel of horizontal overlap.</td>
1579 </tr>
1580 <tr>
1581 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1582 <td>if more than one view matches the given matcher.</td>
1583 </tr>
1584 <tr>
1585 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1586 <td>if no views match the given matcher.
1587</td>
1588 </tr>
1589 </table>
1590 </div>
1591
1592 </div>
1593</div>
1594
1595
1596<A NAME="isTopAlignedWith(org.hamcrest.Matcher<android.view.View>)"></A>
1597
1598<div class="jd-details api apilevel-">
1599 <h4 class="jd-details-title">
1600 <span class="normal">
1601 public
1602 static
1603
1604
1605
1606 <a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a>
1607 </span>
1608 <span class="sympad">isTopAlignedWith</span>
1609 <span class="normal">(Matcher&lt;View&gt; matcher)</span>
1610 </h4>
1611 <div class="api-level">
1612 <div></div>
1613
1614
1615
1616 </div>
1617 <div class="jd-details-descr">
1618
1619
1620
1621
1622 <div class="jd-tagdata jd-tagdescr"><p>Returns a <code><a href="../../../../../../reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></code> that asserts that view displayed is completely
1623 aligned to top with the view matching the given matcher.
1624
1625 <p>The top 'y' coordinate of the view displayed must equal the top 'y'
1626 coordinate of the view matching the given matcher.</p></div>
1627 <div class="jd-tagdata">
1628 <h5 class="jd-tagtitle">Throws</h5>
1629 <table class="jd-tagtable">
1630 <tr>
1631 <th></td>
1632 <td>if the views are not aligned top.</td>
1633 </tr>
1634 <tr>
1635 <th><a href="../../../../../../reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></td>
1636 <td>if more than one view matches the given matcher.</td>
1637 </tr>
1638 <tr>
1639 <th><a href="../../../../../../reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></td>
1640 <td>if no views match the given matcher.
1641</td>
1642 </tr>
1643 </table>
1644 </div>
1645
1646 </div>
1647</div>
1648
1649
1650
1651
1652
1653<!-- ========= METHOD DETAIL ======== -->
1654
1655
1656
1657<!-- ========= END OF CLASS DATA ========= -->
1658<A NAME="navbar_top"></A>
1659
1660<div id="footer" class="wrap" >
1661
1662
1663 <div id="copyright">
1664
1665 Except as noted, this content is licensed under <a
1666 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
1667 For details and restrictions, see the <a href="../../../../../../license.html">
1668 Content License</a>.
1669 </div>
1670 <div id="build_info">
1671
1672 Android &nbsp;r &mdash;
1673<script src="../../../../../../timestamp.js" type="text/javascript"></script>
1674<script>document.write(BUILD_TIMESTAMP)</script>
1675
1676 </div>
1677
1678
1679 <div id="footerlinks">
1680
1681 <p>
1682 <a href="../../../../../../about/index.html">About Android</a>&nbsp;&nbsp;|&nbsp;
1683 <a href="../../../../../../legal.html">Legal</a>&nbsp;&nbsp;|&nbsp;
1684 <a href="../../../../../../support.html">Support</a>
1685 </p>
1686 </div>
1687
1688</div> <!-- end footer -->
1689</div> <!-- jd-content -->
1690
1691</div><!-- end doc-content -->
1692
1693</div> <!-- end body-content -->
1694
1695
1696
1697
1698
1699
1700</body>
1701</html>