private void adaptHeaderHeight ( ) { if ( header != null ) { ViewGroup . LayoutParams layoutParams = header . getLayoutParams ( ) ; layoutParams . height = headerHeight ; } }
Adapts the height of the dialog s header .