Re: [android-developers] Tabs as IPhone

2012-08-29 Thread Vedran Rodic
It is definitely possible to have Tabs and and stack fragments with
FragmentManager.

However, when using the support library, it is buggy on < 3.0 devices. (see
https://code.google.com/p/android/issues/detail?id=34775). And using
FragmentManager to programatically show/hide Fragments is clumsy since it
calls their onStart methods.

I'm really not happy with Android provided ways to do this, though it
should be possible to make something similar if you have a lot of time.

Maybe using a TabHost will be better for you. Unfortunately the I can't
find examples easily, since the Android team has chosen to redirect them.

Vedran Rodic

On Wed, Aug 29, 2012 at 8:54 AM, chinh quach wrote:

>
>
> Dear all,
>
> I want to make a application which will use Tabs. These Tabs will have
> behaviour as IPhone that means :
>
> Tab 1: A -> B
> Tab 2: C -> D
>
> But when from A to B, we will still have Tabs at the bottom of screen. The
> B screen will replace the A screen but doesn't replace all screen.
>
> Please help me, how to do it.
>
> Thanks in advance,
>
>  --
> 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

-- 
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

Re: [android-developers] Tabs as IPhone

2012-08-29 Thread Liem.T Vo

Have you tried set invisible for tabs?

On 8/29/12 1:54 PM, chinh quach wrote:



Dear all,

I want to make a application which will use Tabs. These Tabs will have 
behaviour as IPhone that means :


Tab 1: A -> B
Tab 2: C -> D

But when from A to B, we will still have Tabs at the bottom of screen. 
The B screen will replace the A screen but doesn't replace all screen.


Please help me, how to do it.

Thanks in advance,

--
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 


--
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


[android-developers] Tabs as IPhone

2012-08-28 Thread chinh quach
Dear all,

I want to make a application which will use Tabs. These Tabs will have
behaviour as IPhone that means :

Tab 1: A -> B
Tab 2: C -> D

But when from A to B, we will still have Tabs at the bottom of screen. The
B screen will replace the A screen but doesn't replace all screen.

Please help me, how to do it.

Thanks in advance,

-- 
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