@ Override public boolean applyLayout ( Layout itemLayout ) { boolean applied = false ; if ( itemLayout != null && mItemLayouts . add ( itemLayout ) ) { // apply the layout to all visible pages List < Widget > views = getAllViews ( ) ; for ( Widget view : views ) { view . applyLayout ( itemLayout . clone ( ) ) ; } applied = true ; } return applied ; }
Apply the layout to the each page in the list