Try this solution
//Tab Host 1
getTabHost().addTab(getTabHost().newTabSpec("")
//set the tab name
.setIndicator("")
//Add additional flags to the intent (or with existing flags value).
.setContent(new Intent(this, StudentListActivity.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)));
//Tab Host 2
getTabHost().addTab(getTabHost().newTabSpec("")
//set the tab name
.setIndicator("")
//Add additional flags to the intent (or with existing flags value).
.setContent(new Intent(this,AddNewStudent.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)) );
getTabWidget().setStripEnabled(false);// this line is specifically used to remove the line in bottm at tabWidget
getTabHost().getTabWidget().getChildAt(0).setBackgroundResource(R.drawable.tabhost_student_images);
getTabHost().getTabWidget().getChildAt(1).setBackgroundResource(R.drawable.tabhost_add_new_student_images);
//On Drowable
//tabhost_add_new_student_images.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/tab_second" android:state_selected="true"/>
<item android:drawable="@drawable/my_student_add_new_student" android:state_selected="false"/>
</selector>
//tabhost_student_images.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/my_student_list_green_line" android:state_selected="true"/>
<item android:drawable="@drawable/tab_add_new_student" android:state_selected="false"/>
</selector>