On Sat, Jul 30, 2011 at 2:54 PM, RobinDroid <librain.ro...@gmail.com> wrote:
> I am currently developing a tab based application to learn Android.
> I have 2 tabs: TAB1 and TAB2.
>
> I created tabs: thats fine:
> TAB1: is used to browser some files, dats ok as well.
>
> The problem is with tab2.
> TAB2 extends ActivityGroup: Why because i will has multiple activities
> within it and also different Menus:

Please don't. ActivityGroup -- and having activities in tabs by
extension -- is deprecated.

Please use Views as the contents of your tabs in a TabHost. There is
no sense in you "developing a tab based application to learn Android"
that uses techniques that are no longer endorsed.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to