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

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 wrote: > You don

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

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

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