0

Been checking this link, link. But It did resolve my problem I wanted to replace the default title and icon with Title Tabs.

        // Set up the action bar.
        final ActionBar actionBar = getActionBar();

        // Specify that the Home/Up button should not be enabled, since there is no hierarchical
        // parent.
        actionBar.setHomeButtonEnabled(false);

        // Specify that we will be displaying tabs in the action bar.
        actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);

I been experimenting some codes from the links above, but I didn't get what I want. The horizontal view is quite okay, but for the vertical view, it looks like the tabs are creating another title bar layer. which is not the same with the horizontal view. Guide me on this. Thank you.

enter image description here enter image description here

Community
  • 1
  • 1
rahstame
  • 2,148
  • 4
  • 23
  • 53

1 Answers1

0

I haven't resolve this yet, but I guess I can't put the tabs in the actionbar once it is in the vertical view, but if it is in horizontal view it goes directly to the actionbar section. My basis are from other applications with this scenario also.

rahstame
  • 2,148
  • 4
  • 23
  • 53