xml 에서.
옵션을 gone 으로 안보이게 하고 ,
이걸 버튼을 눌러서 다시 나타나게 할려고
btn.setVisibility(View.VISIBLE);
했는데..
나타나질 않네요..
GONE 한..이미지 , 보이게 할순없나요??
이거 혹시 다시 addView 로 그려줘야 하나요??
<ScrollView
android:id="@+id/scrollView1"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_below="@+id/ivTitle"
android:layout_above="@+id/ivBottom"
>
<RelativeLayout
android:id="@+id/rlMain"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<!-- tab1 -->
<ImageButton
android:id="@+id/btnTab1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/rlMain"
android:background="@drawable/help_btn_tab1"
android:scaleType="fitXY"
/>
<ImageView
android:id="@+id/ivTab1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/btnTab1"
android:background="@drawable/help_bg_tab1"
android:visibility="gone"
/>
</RelativeLayout>
</ScrollView>
//
m_bgTab1 = (ImageView)findViewById(R.id.ivTab1);
m_btnTab1 = (ImageButton)findViewById(R.id.btnTab1);
m_btnTab1.setOnClickListener(this);
if(v == m_btnTab1)
{
m_bgTab1.setVisibility(View.VISIBLE);
}




새로 addVIew 할 필요 없이 setVisibility(View.VISIBLE); 하면 보일텐데요.
레이아웃 구조를 어떻게 짜셨는지 모르겠지만 화면영역을 벗어나거나 가려진 건 아닌지 확인 해 보세요.