[android-developers] Re: tabs iphone style

2009-10-06 Thread konic

Hi, I am confused.
As far as I can see ppl just want to be able to do some cosmetic
adjustments
to the appearance of the tabs - mostly shape and position.
BTW, what about tabs on sides (for landscape layout maybe)?
We don't care about functionality (OK, "business logic"),
radio-buttons behavior and switching content will do just fine :)
So, why was it so hard for the Android Team to give us this ability
(cosmetic adjustments)
in the first place?
And next about nEx.Software code.
Can I somehow replace TabWidget only in the original TabHost?

On Sep 18, 12:13 pm, "nEx.Software" 
wrote:
> In case anyone is watching this thread, I'll post the example I threw
> together here as well.
>
> I was planning on writing a full blown tutorial but since I can tell
> you are anxious to see it... This is a 1.5 compatible version that
> uses modified versions of the TabActivity, TabHost, and TabWidget (and
> related resources) from Android 1.6. There are obvious things that
> could be done better but the idea is there and should at least get you
> headed in the "right" direction.
>
> http://nexsoftware.net/Android/Tutorials/CustomTabActivity.zip
>
> This allows you to dynamically move the tabs from top to bottom, and
> also allows you to hide or show them, you can swipe left or right to
> switch tabs (particularly useful if you have hidden the tabs) and you
> can also replace the activity of atabwith another activity. Because
> this is theTabframework from Android 1.6 you can alsochangethe
> View that is used for the tabs. Also... as I said, this is compatible
> with Android 1.5.
>
> On Sep 17, 1:36 pm, Wouter  wrote:
>
>
>
> > So what do I have to use? Someone has an example for me?
>
> > On 17 sep, 17:30, "nEx.Software"  wrote:
>
> > > I had actually copied the sources for TabActivity, TabHost, and
> > > TabWidget from the Open Source Project yesterday, I didn't realize
> > > that this was achangeactually until your response. I am not even
> > > using the 1.6 SDK yet... I am now going to peruse the diff report a
> > > little more closely.
>
> > > On Sep 17, 8:24 am, Mark Murphy  wrote:
>
> > > > nEx.Software wrote:
> > > > > Yes...http://developer.android.com/sdk/api_diff/4/changes/android.widget.Ta...
>
> > > > Ah, yes. setIndicator() used to just have the Drawable options, not the
> > > > whole View. I'll have to experiment with these.
>
> > > > Thanks for pointing this out!
>
> > > > --
> > > > Mark Murphy (a Commons 
> > > > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > > > Android App Developer Training:http://commonsware.com/training.html

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-18 Thread nEx.Software

In case anyone is watching this thread, I'll post the example I threw
together here as well.

I was planning on writing a full blown tutorial but since I can tell
you are anxious to see it... This is a 1.5 compatible version that
uses modified versions of the TabActivity, TabHost, and TabWidget (and
related resources) from Android 1.6. There are obvious things that
could be done better but the idea is there and should at least get you
headed in the "right" direction.

http://nexsoftware.net/Android/Tutorials/CustomTabActivity.zip

This allows you to dynamically move the tabs from top to bottom, and
also allows you to hide or show them, you can swipe left or right to
switch tabs (particularly useful if you have hidden the tabs) and you
can also replace the activity of a tab with another activity. Because
this is the Tab framework from Android 1.6 you can also change the
View that is used for the tabs. Also... as I said, this is compatible
with Android 1.5.

On Sep 17, 1:36 pm, Wouter  wrote:
> So what do I have to use? Someone has an example for me?
>
> On 17 sep, 17:30, "nEx.Software"  wrote:
>
> > I had actually copied the sources for TabActivity, TabHost, and
> > TabWidget from the Open Source Project yesterday, I didn't realize
> > that this was a change actually until your response. I am not even
> > using the 1.6 SDK yet... I am now going to peruse the diff report a
> > little more closely.
>
> > On Sep 17, 8:24 am, Mark Murphy  wrote:
>
> > > nEx.Software wrote:
> > > > Yes...http://developer.android.com/sdk/api_diff/4/changes/android.widget.Ta...
>
> > > Ah, yes. setIndicator() used to just have the Drawable options, not the
> > > whole View. I'll have to experiment with these.
>
> > > Thanks for pointing this out!
>
> > > --
> > > Mark Murphy (a Commons 
> > > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > > Android App Developer Training:http://commonsware.com/training.html
>
>
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread Wouter

So what do I have to use? Someone has an example for me?

On 17 sep, 17:30, "nEx.Software"  wrote:
> I had actually copied the sources for TabActivity, TabHost, and
> TabWidget from the Open Source Project yesterday, I didn't realize
> that this was a change actually until your response. I am not even
> using the 1.6 SDK yet... I am now going to peruse the diff report a
> little more closely.
>
> On Sep 17, 8:24 am, Mark Murphy  wrote:
>
> > nEx.Software wrote:
> > > Yes...http://developer.android.com/sdk/api_diff/4/changes/android.widget.Ta...
>
> > Ah, yes. setIndicator() used to just have the Drawable options, not the
> > whole View. I'll have to experiment with these.
>
> > Thanks for pointing this out!
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android App Developer Training:http://commonsware.com/training.html

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread nEx.Software

I had actually copied the sources for TabActivity, TabHost, and
TabWidget from the Open Source Project yesterday, I didn't realize
that this was a change actually until your response. I am not even
using the 1.6 SDK yet... I am now going to peruse the diff report a
little more closely.

On Sep 17, 8:24 am, Mark Murphy  wrote:
> nEx.Software wrote:
> > Yes...http://developer.android.com/sdk/api_diff/4/changes/android.widget.Ta...
>
> Ah, yes. setIndicator() used to just have the Drawable options, not the
> whole View. I'll have to experiment with these.
>
> Thanks for pointing this out!
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Training:http://commonsware.com/training.html
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread Mark Murphy

nEx.Software wrote:
> Yes... 
> http://developer.android.com/sdk/api_diff/4/changes/android.widget.TabHost.TabSpec.html

Ah, yes. setIndicator() used to just have the Drawable options, not the
whole View. I'll have to experiment with these.

Thanks for pointing this out!

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

Android App Developer Training: http://commonsware.com/training.html

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread nEx.Software

Yes... 
http://developer.android.com/sdk/api_diff/4/changes/android.widget.TabHost.TabSpec.html

On Sep 17, 8:16 am, "nEx.Software" 
wrote:
> Hmm... This must be a 1.6 SDK change...
>
> On Sep 17, 8:06 am, Mark Murphy  wrote:
>
> > nEx.Software wrote:
> > > It is incredibly easy to put tabs at the bottom... Just provide a
> > > layout xml file that places the TabWidget at the bottom, you get
> > > bottom tabs. You can then specify a view to use for a tab indicator,
> > > so you can make it look however you want it to look.
>
> > *blink, blink*
>
> > How do you "specify a view to use for a tab indicator"? Subclass
> > TabWidget and override getChildTabViewAt()? Or is there another trick?
> > Knowing that would be hugely useful, if you'd be willing to share the
> > technique.
>
> > Thanks!
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android App Developer Training:http://commonsware.com/training.html
>
>
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread nEx.Software

Hmm... This must be a 1.6 SDK change...

On Sep 17, 8:06 am, Mark Murphy  wrote:
> nEx.Software wrote:
> > It is incredibly easy to put tabs at the bottom... Just provide a
> > layout xml file that places the TabWidget at the bottom, you get
> > bottom tabs. You can then specify a view to use for a tab indicator,
> > so you can make it look however you want it to look.
>
> *blink, blink*
>
> How do you "specify a view to use for a tab indicator"? Subclass
> TabWidget and override getChildTabViewAt()? Or is there another trick?
> Knowing that would be hugely useful, if you'd be willing to share the
> technique.
>
> Thanks!
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Training:http://commonsware.com/training.html
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread Mark Murphy

nEx.Software wrote:
> It is incredibly easy to put tabs at the bottom... Just provide a
> layout xml file that places the TabWidget at the bottom, you get
> bottom tabs. You can then specify a view to use for a tab indicator,
> so you can make it look however you want it to look.

*blink, blink*

How do you "specify a view to use for a tab indicator"? Subclass
TabWidget and override getChildTabViewAt()? Or is there another trick?
Knowing that would be hugely useful, if you'd be willing to share the
technique.

Thanks!

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

Android App Developer Training: http://commonsware.com/training.html

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread Desu Vinod Kumar
Hi

see this example 

like this u custom tab also u can make by minute changes

http://www.anddev.org/my_own_titlebar_backbutton_like_on_the_iphone-t4591.html


On Thu, Sep 17, 2009 at 8:35 PM, Desu Vinod Kumar wrote:

> HI
>
> Take One mor layout and place it where evere u need header or footer ...
> and place a image tab as a sourece...
> it worked for me 
>
>
>
>
> On Thu, Sep 17, 2009 at 8:31 PM, nEx.Software <
> email.nex.softw...@gmail.com> wrote:
>
>>
>> It is incredibly easy to put tabs at the bottom... Just provide a
>> layout xml file that places the TabWidget at the bottom, you get
>> bottom tabs. You can then specify a view to use for a tab indicator,
>> so you can make it look however you want it to look.
>>
>> On Sep 16, 6:24 am, Wouter  wrote:
>> > Hey,
>> >
>> > I am using tabs also now because the example didn't worked for me..
>> >
>> > You can see my application:
>> >
>> > http://i29.tinypic.com/254wjtg.png(dontmind
>> >  the images in the tabs,
>> > have to replace them ;) )
>> >
>> > But when i click on a item in my list i open an activity FilmDetail
>> > but here the tabs are not visible.. So i have to press return button
>> > to see my tabs again. How can i open this new activity in this
>> > tabcontent so i can see the tabs and the filmdetail Activity?
>> >
>> > Wouter
>> >
>> > On 16 sep, 15:17, "nEx.Software"  wrote:
>> >
>> > > I have done custom tabs in my application (BarTor) using a modified
>> > > version of the TabHost and TabActivity that i got from the Android
>> > > Open Source Project. Granted, I leave the tabs at the top, but there
>> > > is nothing really stopping me from putting them at the bottom or the
>> > > the sides... I'd suggest trying that route, if you don't mind a little
>> > > extra work. Perhaps the example you posted is doing the same, I
>> > > haven't yet looked at it.
>> >
>> > > On Sep 16, 5:36 am, Wouter  wrote:
>> >
>> > > > I see that there are android apps with this style of tabs:
>> >
>> > > >
>> http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-androi...
>> >
>> > > > It must be possible..
>> >
>> > > > On 16 sep, 14:32, Wouter  wrote:
>> >
>> > > > > I have tried this but without success!
>> >
>> > > > > The example on anddev.org is taken fromhttp://
>> code.google.com/p/undroid/source/browse/trunk/src/com/bitsette...
>> >
>> > > > > i have tried that example because they also work with different
>> > > > > activities per tab, but I got nullpointerexception in my layout
>> file
>> > > > > and dont see the footer..
>> >
>> > > > > Wouter
>> >
>> > > > > On 16 sep, 07:03, Desu Vinod Kumar  wrote:
>> >
>> > > > > > HI
>> >
>> > > > > >
>> http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
>> > > > > > see this this may helpful to you...
>> > > > > > to make likeiphone
>> >
>> > > > > > On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy <
>> mmur...@commonsware.com>wrote:
>> >
>> > > > > > > > How can i make something like this:
>> >
>> > > > > > > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>> >
>> > > > > > > > So i mean the tabs at the bottom of the screen. It has to be
>> present
>> > > > > > > > on every activity and every tab shows and other activity
>> > > > > > > > (listactivity).
>> >
>> > > > > > > > How can i do this?
>> >
>> > > > > > > With a lot of work. There is no BottomTabsLikeIPhoneHas
>> widget.
>> >
>> > > > > > > Having a bar of ImageButtons is easy. Giving them the proper
>> transparent
>> > > > > > > background (so a sliver of the underlying ListView, as in your
>> screenshot)
>> > > > > > > is the job of a graphic designer. Having the buttons change
>> the contents
>> > > > > > > of the list could be done any number of ways, though I would
>> start with a
>> > > > > > > ViewFlipper.
>> >
>> > > > > > > --
>> > > > > > > Mark Murphy (a Commons Guy)
>> > > > > > >http://commonsware.com
>> > > > > > > Android App Developer Books:http://commonsware.com/books.html
>> >
>> > > > > > --
>> > > > > > Regards
>> > > > > > ---
>> > > > > > Desu Vinod Kumar
>> > > > > > vinny.s...@gmail.com
>> > > > > > 09176147148
>> >
>> >
>> >>
>>
>
>
> --
> Regards
> ---
> Desu Vinod Kumar
> vinny.s...@gmail.com
> 09176147148
>



-- 
Regards
---
Desu Vinod Kumar
vinny.s...@gmail.com
09176147148

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread Desu Vinod Kumar
HI

Take One mor layout and place it where evere u need header or footer ...
and place a image tab as a sourece...
it worked for me 



On Thu, Sep 17, 2009 at 8:31 PM, nEx.Software
wrote:

>
> It is incredibly easy to put tabs at the bottom... Just provide a
> layout xml file that places the TabWidget at the bottom, you get
> bottom tabs. You can then specify a view to use for a tab indicator,
> so you can make it look however you want it to look.
>
> On Sep 16, 6:24 am, Wouter  wrote:
> > Hey,
> >
> > I am using tabs also now because the example didn't worked for me..
> >
> > You can see my application:
> >
> > http://i29.tinypic.com/254wjtg.png(dontmind
> >  the images in the tabs,
> > have to replace them ;) )
> >
> > But when i click on a item in my list i open an activity FilmDetail
> > but here the tabs are not visible.. So i have to press return button
> > to see my tabs again. How can i open this new activity in this
> > tabcontent so i can see the tabs and the filmdetail Activity?
> >
> > Wouter
> >
> > On 16 sep, 15:17, "nEx.Software"  wrote:
> >
> > > I have done custom tabs in my application (BarTor) using a modified
> > > version of the TabHost and TabActivity that i got from the Android
> > > Open Source Project. Granted, I leave the tabs at the top, but there
> > > is nothing really stopping me from putting them at the bottom or the
> > > the sides... I'd suggest trying that route, if you don't mind a little
> > > extra work. Perhaps the example you posted is doing the same, I
> > > haven't yet looked at it.
> >
> > > On Sep 16, 5:36 am, Wouter  wrote:
> >
> > > > I see that there are android apps with this style of tabs:
> >
> > > >
> http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-androi...
> >
> > > > It must be possible..
> >
> > > > On 16 sep, 14:32, Wouter  wrote:
> >
> > > > > I have tried this but without success!
> >
> > > > > The example on anddev.org is taken fromhttp://
> code.google.com/p/undroid/source/browse/trunk/src/com/bitsette...
> >
> > > > > i have tried that example because they also work with different
> > > > > activities per tab, but I got nullpointerexception in my layout
> file
> > > > > and dont see the footer..
> >
> > > > > Wouter
> >
> > > > > On 16 sep, 07:03, Desu Vinod Kumar  wrote:
> >
> > > > > > HI
> >
> > > > > >
> http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
> > > > > > see this this may helpful to you...
> > > > > > to make likeiphone
> >
> > > > > > On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy <
> mmur...@commonsware.com>wrote:
> >
> > > > > > > > How can i make something like this:
> >
> > > > > > > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
> >
> > > > > > > > So i mean the tabs at the bottom of the screen. It has to be
> present
> > > > > > > > on every activity and every tab shows and other activity
> > > > > > > > (listactivity).
> >
> > > > > > > > How can i do this?
> >
> > > > > > > With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
> >
> > > > > > > Having a bar of ImageButtons is easy. Giving them the proper
> transparent
> > > > > > > background (so a sliver of the underlying ListView, as in your
> screenshot)
> > > > > > > is the job of a graphic designer. Having the buttons change the
> contents
> > > > > > > of the list could be done any number of ways, though I would
> start with a
> > > > > > > ViewFlipper.
> >
> > > > > > > --
> > > > > > > Mark Murphy (a Commons Guy)
> > > > > > >http://commonsware.com
> > > > > > > Android App Developer Books:http://commonsware.com/books.html
> >
> > > > > > --
> > > > > > Regards
> > > > > > ---
> > > > > > Desu Vinod Kumar
> > > > > > vinny.s...@gmail.com
> > > > > > 09176147148
> >
> >
> >
>


-- 
Regards
---
Desu Vinod Kumar
vinny.s...@gmail.com
09176147148

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-17 Thread nEx.Software

It is incredibly easy to put tabs at the bottom... Just provide a
layout xml file that places the TabWidget at the bottom, you get
bottom tabs. You can then specify a view to use for a tab indicator,
so you can make it look however you want it to look.

On Sep 16, 6:24 am, Wouter  wrote:
> Hey,
>
> I am using tabs also now because the example didn't worked for me..
>
> You can see my application:
>
> http://i29.tinypic.com/254wjtg.png(dont mind the images in the tabs,
> have to replace them ;) )
>
> But when i click on a item in my list i open an activity FilmDetail
> but here the tabs are not visible.. So i have to press return button
> to see my tabs again. How can i open this new activity in this
> tabcontent so i can see the tabs and the filmdetail Activity?
>
> Wouter
>
> On 16 sep, 15:17, "nEx.Software"  wrote:
>
> > I have done custom tabs in my application (BarTor) using a modified
> > version of the TabHost and TabActivity that i got from the Android
> > Open Source Project. Granted, I leave the tabs at the top, but there
> > is nothing really stopping me from putting them at the bottom or the
> > the sides... I'd suggest trying that route, if you don't mind a little
> > extra work. Perhaps the example you posted is doing the same, I
> > haven't yet looked at it.
>
> > On Sep 16, 5:36 am, Wouter  wrote:
>
> > > I see that there are android apps with this style of tabs:
>
> > >http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-androi...
>
> > > It must be possible..
>
> > > On 16 sep, 14:32, Wouter  wrote:
>
> > > > I have tried this but without success!
>
> > > > The example on anddev.org is taken 
> > > > fromhttp://code.google.com/p/undroid/source/browse/trunk/src/com/bitsette...
>
> > > > i have tried that example because they also work with different
> > > > activities per tab, but I got nullpointerexception in my layout file
> > > > and dont see the footer..
>
> > > > Wouter
>
> > > > On 16 sep, 07:03, Desu Vinod Kumar  wrote:
>
> > > > > HI
>
> > > > >http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
> > > > > see this this may helpful to you...
> > > > > to make likeiphone
>
> > > > > On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy 
> > > > > wrote:
>
> > > > > > > How can i make something like this:
>
> > > > > > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>
> > > > > > > So i mean the tabs at the bottom of the screen. It has to be 
> > > > > > > present
> > > > > > > on every activity and every tab shows and other activity
> > > > > > > (listactivity).
>
> > > > > > > How can i do this?
>
> > > > > > With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
>
> > > > > > Having a bar of ImageButtons is easy. Giving them the proper 
> > > > > > transparent
> > > > > > background (so a sliver of the underlying ListView, as in your 
> > > > > > screenshot)
> > > > > > is the job of a graphic designer. Having the buttons change the 
> > > > > > contents
> > > > > > of the list could be done any number of ways, though I would start 
> > > > > > with a
> > > > > > ViewFlipper.
>
> > > > > > --
> > > > > > Mark Murphy (a Commons Guy)
> > > > > >http://commonsware.com
> > > > > > Android App Developer Books:http://commonsware.com/books.html
>
> > > > > --
> > > > > Regards
> > > > > ---
> > > > > Desu Vinod Kumar
> > > > > vinny.s...@gmail.com
> > > > > 09176147148
>
>
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-16 Thread Wouter

Hey,

I am using tabs also now because the example didn't worked for me..

You can see my application:

http://i29.tinypic.com/254wjtg.png (dont mind the images in the tabs,
have to replace them ;) )

But when i click on a item in my list i open an activity FilmDetail
but here the tabs are not visible.. So i have to press return button
to see my tabs again. How can i open this new activity in this
tabcontent so i can see the tabs and the filmdetail Activity?

Wouter

On 16 sep, 15:17, "nEx.Software"  wrote:
> I have done custom tabs in my application (BarTor) using a modified
> version of the TabHost and TabActivity that i got from the Android
> Open Source Project. Granted, I leave the tabs at the top, but there
> is nothing really stopping me from putting them at the bottom or the
> the sides... I'd suggest trying that route, if you don't mind a little
> extra work. Perhaps the example you posted is doing the same, I
> haven't yet looked at it.
>
> On Sep 16, 5:36 am, Wouter  wrote:
>
> > I see that there are android apps with this style of tabs:
>
> >http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-androi...
>
> > It must be possible..
>
> > On 16 sep, 14:32, Wouter  wrote:
>
> > > I have tried this but without success!
>
> > > The example on anddev.org is taken 
> > > fromhttp://code.google.com/p/undroid/source/browse/trunk/src/com/bitsette...
>
> > > i have tried that example because they also work with different
> > > activities per tab, but I got nullpointerexception in my layout file
> > > and dont see the footer..
>
> > > Wouter
>
> > > On 16 sep, 07:03, Desu Vinod Kumar  wrote:
>
> > > > HI
>
> > > >http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
> > > > see this this may helpful to you...
> > > > to make like iphone
>
> > > > On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy 
> > > > wrote:
>
> > > > > > How can i make something like this:
>
> > > > > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>
> > > > > > So i mean the tabs at the bottom of the screen. It has to be present
> > > > > > on every activity and every tab shows and other activity
> > > > > > (listactivity).
>
> > > > > > How can i do this?
>
> > > > > With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
>
> > > > > Having a bar of ImageButtons is easy. Giving them the proper 
> > > > > transparent
> > > > > background (so a sliver of the underlying ListView, as in your 
> > > > > screenshot)
> > > > > is the job of a graphic designer. Having the buttons change the 
> > > > > contents
> > > > > of the list could be done any number of ways, though I would start 
> > > > > with a
> > > > > ViewFlipper.
>
> > > > > --
> > > > > Mark Murphy (a Commons Guy)
> > > > >http://commonsware.com
> > > > > Android App Developer Books:http://commonsware.com/books.html
>
> > > > --
> > > > Regards
> > > > ---
> > > > Desu Vinod Kumar
> > > > vinny.s...@gmail.com
> > > > 09176147148
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-16 Thread nEx.Software

I have done custom tabs in my application (BarTor) using a modified
version of the TabHost and TabActivity that i got from the Android
Open Source Project. Granted, I leave the tabs at the top, but there
is nothing really stopping me from putting them at the bottom or the
the sides... I'd suggest trying that route, if you don't mind a little
extra work. Perhaps the example you posted is doing the same, I
haven't yet looked at it.

On Sep 16, 5:36 am, Wouter  wrote:
> I see that there are android apps with this style of tabs:
>
> http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-androi...
>
> It must be possible..
>
> On 16 sep, 14:32, Wouter  wrote:
>
>
>
> > I have tried this but without success!
>
> > The example on anddev.org is taken 
> > fromhttp://code.google.com/p/undroid/source/browse/trunk/src/com/bitsette...
>
> > i have tried that example because they also work with different
> > activities per tab, but I got nullpointerexception in my layout file
> > and dont see the footer..
>
> > Wouter
>
> > On 16 sep, 07:03, Desu Vinod Kumar  wrote:
>
> > > HI
>
> > >http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
> > > see this this may helpful to you...
> > > to make like iphone
>
> > > On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy 
> > > wrote:
>
> > > > > How can i make something like this:
>
> > > > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>
> > > > > So i mean the tabs at the bottom of the screen. It has to be present
> > > > > on every activity and every tab shows and other activity
> > > > > (listactivity).
>
> > > > > How can i do this?
>
> > > > With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
>
> > > > Having a bar of ImageButtons is easy. Giving them the proper transparent
> > > > background (so a sliver of the underlying ListView, as in your 
> > > > screenshot)
> > > > is the job of a graphic designer. Having the buttons change the contents
> > > > of the list could be done any number of ways, though I would start with 
> > > > a
> > > > ViewFlipper.
>
> > > > --
> > > > Mark Murphy (a Commons Guy)
> > > >http://commonsware.com
> > > > Android App Developer Books:http://commonsware.com/books.html
>
> > > --
> > > Regards
> > > ---
> > > Desu Vinod Kumar
> > > vinny.s...@gmail.com
> > > 09176147148
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-16 Thread Wouter

I see that there are android apps with this style of tabs:

http://www.mobilecrunch.com/wp-content/uploads/2009/02/myspace-android.gif

It must be possible..

On 16 sep, 14:32, Wouter  wrote:
> I have tried this but without success!
>
> The example on anddev.org is taken 
> fromhttp://code.google.com/p/undroid/source/browse/trunk/src/com/bitsette...
>
> i have tried that example because they also work with different
> activities per tab, but I got nullpointerexception in my layout file
> and dont see the footer..
>
> Wouter
>
> On 16 sep, 07:03, Desu Vinod Kumar  wrote:
>
> > HI
>
> >http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
> > see this this may helpful to you...
> > to make like iphone
>
> > On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy wrote:
>
> > > > How can i make something like this:
>
> > > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>
> > > > So i mean the tabs at the bottom of the screen. It has to be present
> > > > on every activity and every tab shows and other activity
> > > > (listactivity).
>
> > > > How can i do this?
>
> > > With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
>
> > > Having a bar of ImageButtons is easy. Giving them the proper transparent
> > > background (so a sliver of the underlying ListView, as in your screenshot)
> > > is the job of a graphic designer. Having the buttons change the contents
> > > of the list could be done any number of ways, though I would start with a
> > > ViewFlipper.
>
> > > --
> > > Mark Murphy (a Commons Guy)
> > >http://commonsware.com
> > > Android App Developer Books:http://commonsware.com/books.html
>
> > --
> > Regards
> > ---
> > Desu Vinod Kumar
> > vinny.s...@gmail.com
> > 09176147148
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-16 Thread Wouter

I have tried this but without success!

The example on anddev.org is taken from
http://code.google.com/p/undroid/source/browse/trunk/src/com/bitsetters/undroid/common/Footer.java

i have tried that example because they also work with different
activities per tab, but I got nullpointerexception in my layout file
and dont see the footer..

Wouter

On 16 sep, 07:03, Desu Vinod Kumar  wrote:
> HI
>
> http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
> see this this may helpful to you...
> to make like iphone
>
> On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy wrote:
>
>
>
>
>
> > > How can i make something like this:
>
> > >http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>
> > > So i mean the tabs at the bottom of the screen. It has to be present
> > > on every activity and every tab shows and other activity
> > > (listactivity).
>
> > > How can i do this?
>
> > With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
>
> > Having a bar of ImageButtons is easy. Giving them the proper transparent
> > background (so a sliver of the underlying ListView, as in your screenshot)
> > is the job of a graphic designer. Having the buttons change the contents
> > of the list could be done any number of ways, though I would start with a
> > ViewFlipper.
>
> > --
> > Mark Murphy (a Commons Guy)
> >http://commonsware.com
> > Android App Developer Books:http://commonsware.com/books.html
>
> --
> Regards
> ---
> Desu Vinod Kumar
> vinny.s...@gmail.com
> 09176147148
--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-15 Thread Desu Vinod Kumar
HI

http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html
see this this may helpful to you...
to make like iphone



On Tue, Sep 15, 2009 at 8:54 PM, Mark Murphy wrote:

>
> > How can i make something like this:
> >
> > http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
> >
> > So i mean the tabs at the bottom of the screen. It has to be present
> > on every activity and every tab shows and other activity
> > (listactivity).
> >
> > How can i do this?
>
> With a lot of work. There is no BottomTabsLikeIPhoneHas widget.
>
> Having a bar of ImageButtons is easy. Giving them the proper transparent
> background (so a sliver of the underlying ListView, as in your screenshot)
> is the job of a graphic designer. Having the buttons change the contents
> of the list could be done any number of ways, though I would start with a
> ViewFlipper.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> Android App Developer Books: http://commonsware.com/books.html
>
>
>
> >
>


-- 
Regards
---
Desu Vinod Kumar
vinny.s...@gmail.com
09176147148

--~--~-~--~~~---~--~~
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] Re: tabs iphone style

2009-09-15 Thread Mark Murphy

> How can i make something like this:
>
> http://www.appsstore.nl/apps/fml/fmlscreen1.jpg
>
> So i mean the tabs at the bottom of the screen. It has to be present
> on every activity and every tab shows and other activity
> (listactivity).
>
> How can i do this?

With a lot of work. There is no BottomTabsLikeIPhoneHas widget.

Having a bar of ImageButtons is easy. Giving them the proper transparent
background (so a sliver of the underlying ListView, as in your screenshot)
is the job of a graphic designer. Having the buttons change the contents
of the list could be done any number of ways, though I would start with a
ViewFlipper.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



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