question: static public void assertLeftAligned ( View first , View second , int margin ) { int [ ] xy = new int [ 2 ] ; first . getLocationOnScreen ( xy ) ; int firstLeft = xy [ 0 ] ; second . getLocationOnScreen ( xy ) ; int secondLeft = xy [ 0 ] ; assertEquals ( "views are not left aligned" , Math . abs ( firstLeft - secondLeft ) , margin ) ; }
target:  Assert that two views are left aligned, that is that their left edges are on the same x location, with respect to the specified margin.