[android-developers] Re: include layout in tab : change tab name ?

2013-07-14 Thread Piren
you should read the tutorials http://developer.android.com/guide/topics/ui/layout/tabs.html On Saturday, July 13, 2013 7:18:00 PM UTC+3, Emmanuel Dafflon wrote: Hello, I created a simple activity with a tabhost and 3 tabs. Those tabs are includes of different layouts but the name of the

Re: [android-developers] Re: include layout in tab : change tab name ?

2013-07-14 Thread Emmanuel Dafflon
But TabActivity shouldnt be used anymore should it ? On Sun, Jul 14, 2013 at 9:06 AM, Piren gpi...@gmail.com wrote: you should read the tutorials http://developer.android.com/guide/topics/ui/layout/tabs.html On Saturday, July 13, 2013 7:18:00 PM UTC+3, Emmanuel Dafflon wrote: Hello, I

Re: [android-developers] Re: include layout in tab : change tab name ?

2013-07-14 Thread Piren
You don't have to use TabActivity (you're not really meant to use tabs anymore anyhow).. that's just a regular activity with some pre-made code to make life easier. see here: http://developer.android.com/reference/android/app/TabActivity.html On Sunday, July 14, 2013 3:11:22 PM UTC+3,

Re: [android-developers] Re: include layout in tab : change tab name ?

2013-07-14 Thread Emmanuel Dafflon
Okey thank you it works but for my knowledge what would you have used ? I need a single activity with multiple view/layout that the user can switch back and forth fast and easily. Tabs seem like the answer but if you have better tell me :) On Sun, Jul 14, 2013 at 2:58 PM, Piren gpi...@gmail.com

Re: [android-developers] Re: include layout in tab : change tab name ?

2013-07-14 Thread TreKing
On Sun, Jul 14, 2013 at 9:52 AM, Emmanuel Dafflon lol482...@gmail.comwrote: Okey thank you it works but for my knowledge what would you have used ? I need a single activity with multiple view/layout that the user can switch back and forth fast and easily. Tabs seem like the answer but if you