<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
   android:id="@+id/selmap">
 <item  android:drawable="@drawable/tab_map_default" />  
    <item  android:state_pressed="true"
             android:drawable="@drawable/tab_map_selected" />             
</selector>






public class ParentDetail extends TabActivity {

 private TabHost tabHost;
 ArrayList<String> dataList;
 
 
 
 /* (non-Javadoc)
  * @see android.app.Activity#onCreate(android.os.Bundle)
  */
 @Override
 protected void onCreate(Bundle savedInstanceState) {
  // TODO Auto-generated method stub
  super.onCreate(savedInstanceState);
  //setContentView(R.layout.parenttab);
  tabHost = getTabHost();
  
  LayoutInflater inflater1 = LayoutInflater.from(this);
  inflater1.inflate(R.layout.parenttab,(ViewGroup)findViewById(R.drawable.tab_map_default),true);
  //View tmp1 = inflater1.inflate(R.drawable.tab_map_default,null);
  
  
  
  tabHost.addTab(tabHost.newTabSpec("tab1")
           .setIndicator(new MyView(this, R.drawable.selectormap))
           .setContent(new Intent(this, ParentDetailMap.class)));
  tabHost.addTab(tabHost.newTabSpec("tab2")
           .setIndicator(new MyView(this, R.drawable.tab_map_default))
           .setContent(new Intent(this, ParentDetailSetting.class)));
  tabHost.addTab(tabHost.newTabSpec("tab3")
     .setIndicator(new MyView(this, R.drawable.tab_map_default))
     .setContent(new Intent(this, ParentDetailSetting.class)));
 }
 
 private class MyView extends LinearLayout {

    public MyView(Context c, int drawable) {
     super(c);
     ImageView iv = new ImageView(c);
     iv.setImageResource(drawable);  

     setOrientation(LinearLayout.VERTICAL);
     addView(iv);
    }
 }



보시다시피 selector를 써서 탭메뉴 클릭시했을때 이미지를 변경 시켜주고싶습니다 ............
selector부분에서   android:state_pressed="true" 이옵션만 주면된다는데 왜 안바뀌는거죠 ㅠ
제발도와주세요 ㅠ