2

when will the deprecated tabactivity no longer work in future versions of Android? I am asking because Android is open source so someone in the dev community might be lurking here

for designs that I get from clients which mimick iOS style tab-bars, on a Froyo device the tabactivity is the best way to implement this

I'm having much difficulty doing this with fragments with the compatibility pack. see this long question: Android how to interact with Fragment tabs

so before I switch back to a class TabActivity, when can I expect apps that use tabactivity to no longer work in future android versions?

Community
  • 1
  • 1
CQM
  • 42,592
  • 75
  • 224
  • 366
  • 2
    I doubt something of the nature of `TabActivity` will ever stop working as it would have huge consequences as it's widely used enough. My guess is it'll just always be depreciated (like `AbsoluteLayout`). – Jason Robinson Nov 09 '11 at 18:08
  • these are my thoughts, I am looking for a counter opinion too – CQM Nov 09 '11 at 18:10

1 Answers1

3

Not exactly an answer to your question: With Android 4.0 you will no longer be able to open the menu for a TabActivity unless the device has a hardware menu button. This is because the menu button is no longer there (the buttons on the bottom of the device are soft buttons then with the exception of some devices using hardware buttons). Instead the menu is opened with rightmost widget in the activity's action bar (which TabActivity does not have, because it is no longer supported / modified).

Stefan
  • 4,645
  • 1
  • 19
  • 35