private boolean isViewLeftAligned ( ViewGroup . MarginLayoutParams layoutParams ) { final int left = getView ( ) . getLeft ( ) ; boolean viewLeftAligned = left == 0 || left == layoutParams . leftMargin ; LOGGER . trace ( "View is {} aligned" , viewLeftAligned ? "LEFT" : "RIGHT" ) ; return viewLeftAligned ; }
Checks whether view is left aligned