最好是能写出代码 加上注释。

解决方案 »

  1.   

    这个问题是可以解决的,具体做法我忘了,只记得思路,是把有下划线那排按钮控件的visible 设置成gone,然后自己添加一排按钮,在按钮的响应函数里,调用tablehost的换页的功能。没时间帮你查了,楼主自己查一下,按照这种思路肯定是没有问题的。
      

  2.   

    public void setIndicater(TabSpec body, String title, Drawable icon,TabWidget tw, Context context)
    {
    // body.setIndicator(title,icon);
    RelativeLayout tabIndicator1 = (RelativeLayout) LayoutInflater.from(context).inflate(R.layout.indicater, tw,false);  
    TextView tvTab = (TextView)tabIndicator1.getChildAt(1);  
    tvTab.setText(title);
    ImageView img = (ImageView)tabIndicator1.getChildAt(0);  
    img.setImageDrawable(icon);
    body.setIndicator(tabIndicator1);
    }
    自定义Indicator 试试