private void inflateMessageContainer ( ) { if ( messageContainer == null ) { messageContainer = new RelativeLayout ( getContext ( ) ) ; messageContainer . setId ( R . id . message_container ) ; messageContainer . setLayoutParams ( new ViewGroup . LayoutParams ( ViewGroup . LayoutParams . MATCH_PARENT , ViewGroup . LayoutParams . WRAP_CONTENT ) ) ; } else { messageContainer . removeAllViews ( ) ; } }
Inflates the container which contains the dialog s message if it is not yet inflated .