private void initDecorMargins ( ) { if ( DecorUtils . isCanHaveTransparentDecor ( ) ) { Views . getParams ( views . appBar ) . height += DecorUtils . getStatusBarHeight ( this ) ; } DecorUtils . paddingForStatusBar ( views . toolbar , true ) ; DecorUtils . paddingForStatusBar ( views . pagerToolbar , true ) ; DecorUtils . paddingForStatusBar ( views . fullImageToolbar , true ) ; DecorUtils . paddingForNavBar ( views . grid ) ; DecorUtils . marginForNavBar ( views . pagerTitle ) ; }
Adjusting margins and paddings to fit translucent decor .