Closed dplunkett3 closed 10 years ago
Hi @dplunkett3
This is not a bug because the dropdown navigation actually replaces the tab navigation. The dropdown proxy changes the ActionBar NavigationMode to NAVIGATION_MODE_LIST
following the official guide: Adding Drop-down Navigation
So, in the end, it's simply impossible to use drop-down and tabs at the same time.
As described here: Is it possible to use dropdown AND tabs as navigation in the action bar? it is not possible but a workaround that I would also recommend you is replacing the TabGroup with a ViewPager, e.g. this one: https://github.com/dreamlearn/viewpager
Hope this answers your question.
Thanks, I'll take a look at the ViewPager.
Adding a dropdown to a tab group causes the tabs to disappear.
Test case:
Note: I also tried creating the dropdown in the tab group's open event listener and in activity.onCreateOptionsMenu with the same result. It occurs on device with Android 4.4.2 and Genymotion emulator running 4.2.2, built with Ti SDK 3.4.0.GA.