0

I'm adding tabs to my activity in oncreate, I'd like to get the view associated with the tabs so i can edit it manually.

I've tried this but the view is null

actionBar.setHomeButtonEnabled(false);
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);


for (String tab_name : tabs) {
            actionBar.addTab(actionBar.newTab().setText(tab_name).setTabListener(this));
}

View v = findViewById(android.R.id.tabcontent);
Brian
  • 4,328
  • 13
  • 58
  • 103

0 Answers0