Tuesday, April 29, 2014

TabActivity banned, what should replace the?


The latest Android4.0 in, TabActivity not advocate the use of, from the official website to see that is to inherit FragmentActivity class, and import com.example.android.supportv4.R package, but I tried did not com.example.android.supportv4 . R package, I downloaded the SDK is complete, I do not know how to achieve the previous TabActivity method?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Really do not understand Google's official statement, is FragmentActivity out this new?
Reply:
Some people know, some people understand Android4.0 icecreame sandwich do not know trouble like this version upgrade brings how to solve, where to go to learn?
Reply:
I should learn to learn more usage now, to wait until almost the time to learn. Now learn. Real devices run 4.0 How many?
Reply:
Although not advocate using google, but TabActivity but still used, first with the right ~ ~ ~ ~
Reply:
The reply was deleted at 2011-11-23 10:47:07 moderator

Reply:
Really ... TabActivity Johnson, both from the layout of the building code or from the side, I personally do not recommend using, lz if that effect must be used ActivityGroup; Google's new mobile phone qq controls FragmentActivity effect is the tab switch inside the panorama wp7 little meaning if lz forward-compatible version without considering the issue, and that this control is really good. But Google said forward-compatible SDK somewhat tricky ...
Reply:
Do not advocate does not mean that can not ah. . . I remember 3.0 had fragment. . If you do not need a reason not to use FragmentActivity few phone is now 4.0 ah
Reply:
Landlord, you solve this problem? I encountered the same problem!

No comments:

Post a Comment