처음으로 질문을 하게 되었네요...
현재 MainActivity 에서 동적으로 layout을 변경 하도록 처리하고 있는데요
문제는 이런 경우 간헐적으로 추가 된 layout 이 화면에 나타나지 않는 현상이 있습니다.
더 신기 한건... 홈버튼 클릭 후 앱을 다시 실행하면 다시 그려져 있습니다.
LayoutInflater inflater = (LayoutInflater)this.getSystemService(this.LAYOUT_INFLATER_SERVICE);
LinearLayout linearyLayout = (LinearLayout) inflater.inflate(R.layout.layout_content_webview, null);
부모레이아웃.addView(linearyLayout, new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
부모레이아웃.getChildAt(부모레이아웃.getChildCount() - 2).setVisibility(View.GONE);
부모레이아웃.getChildAt(부모레이아웃.getChildCount() - 1).setVisibility(View.VISIBLE);
아시는 분 답변 부탁 드리겠습니다.