private View makeControllerView(){
  LayoutInflater inflate=(LayoutInflater)mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  mRootView=inflate.inflate(R.layout.media_controller,null);
  initControllerView();
  return mRootView;
}

private View makeControllerView ( ) { LayoutInflater inflate = ( LayoutInflater ) mContext . getSystemService ( Context . LAYOUT_INFLATER_SERVICE ) ; mRootView = inflate . inflate ( R . layout . media_controller , null ) ; initControllerView ( ) ; return mRootView ; }
inflate view from exit xml layout
