Skip to content Skip to sidebar Skip to footer

Can't Find The Cause "you Must Specify A Way To Create The Tab Indicator"

I am getting 'you must specify a way to create the tab indicator' error(as per logcat). Can't find the reason. Main class: package org.tatvamoksh.tml; import android.app.TabActiv

Solution 1:

change last tab code as :

//Tab for UpdatesTabSpecu= tabHost.newTabSpec("Updates");
    u.setIndicator("Updates");
    IntentupdatesIntent=newIntent(this, Updates.class);
    u.setContent(updatesIntent);

because you are not setting Indicator and Content for TabSpec u (you are setting for m Tab)

Post a Comment for "Can't Find The Cause "you Must Specify A Way To Create The Tab Indicator""