iPhone Tabs for Android!

Quickly share your Android Code Snippets here...

iPhone Tabs for Android!

Postby rolle3k » Mon May 31, 2010 9:37 pm

Hiya,

I was bored and had some spare time and I really like the iPhone ui elements so I started cloning the tabs. Code has been written with love.

Everything you need to know is in the source code. Shows you how to add tabs and how to register a click tab listener.

4 Tabs:

Image
Image
Image

Screenshot which shows 3 Tabs:

Image

You can add as much tabs as you like (make sure you resize the icons correctly). Oh well, hope you like it!

Download: http://ul.to/1678n1
rolle3k
Once Poster
Once Poster
 
Posts: 1
Joined: Mon May 31, 2010 9:29 pm

Top

Re: iPhone Tabs for Android!

Postby abhinavvarma1982 » Sun Jun 06, 2010 6:18 am

Hey Nie app and i'm very much impressed with you article........i'm very much in need of similar tutorial, i'm new to android programming, thanks a lot again :),

could you please help....in guding me in implementing the follwoing functionallity,

In you app you had added a Layout reference for all the 4 tabs........instead can you please tell me how to add an activity for each of those tabs.....and capturing the list & button onclick events, and my other interest is i want the bottom bar to be common to all my activities.

help me how can i accomplish this................awaiting for rply.........sorry for my english............advacne thanks
abhinavvarma1982
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Jun 06, 2010 6:08 am

Re: iPhone Tabs for Android!

Postby chap19150 » Wed Jun 30, 2010 4:08 pm

thanks for your code. How do you add an activity to a tab
chap19150
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Jun 30, 2010 4:04 pm

Re: iPhone Tabs for Android!

Postby bigfish » Wed Jul 21, 2010 3:00 am

awesome,but at first,every tab content showed
bigfish
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Oct 24, 2009 9:17 am

Re: iPhone Tabs for Android!

Postby limteckchai » Fri Jul 23, 2010 3:37 am

So has anyone figured how to add an activity here?? Please do share the codes. Thanks alot
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Re: iPhone Tabs for Android!

Postby iphonedroid » Tue Oct 19, 2010 11:42 pm

Is there a license for this code? Can it be freely used in commercial products?
iphonedroid
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Oct 19, 2010 11:40 pm

Top

Re: iPhone Tabs for Android!

Postby yagneshrevar » Mon Nov 01, 2010 12:16 pm

bigfish wrote:awesome,but at first,every tab content showed

Agree
yagneshrevar
Freshman
Freshman
 
Posts: 3
Joined: Sat Oct 16, 2010 7:35 am

Re: iPhone Tabs for Android!

Postby okless » Wed Nov 24, 2010 5:09 pm

Missing in on create:
mTabLayout_One.setVisibility( View.VISIBLE );
mTabLayout_Two.setVisibility( View.GONE );
mTabLayout_Three.setVisibility( View.GONE );
mTabLayout_Four.setVisibility( View.GONE );
mTabLayout_Five.setVisibility( View.GONE );
Before the onClicks

GREAT CODE!
OkyDokyman
okless
Freshman
Freshman
 
Posts: 3
Joined: Wed Dec 16, 2009 5:12 pm
Location: USA

Re: iPhone Tabs for Android!

Postby madhavanmaddy » Wed Jan 05, 2011 12:55 pm

he that was cool example

can you plz provide me the code to run such kind of stuff i am in need of it

Thanks in advance
madhavanmaddy
Junior Developer
Junior Developer
 
Posts: 24
Joined: Wed Dec 15, 2010 7:04 am

Re: iPhone Tabs for Android!

Postby himanshuphalak » Sun Jan 16, 2011 11:32 pm

Awesome piece of code. Thanks a lot for sharing this.. :)
himanshuphalak
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Jan 16, 2011 11:31 pm

Re: iPhone Tabs for Android!

Postby antonykk » Tue Mar 01, 2011 4:37 am

iphonedroid wrote:Is there a license for this code? Can it be freely used in commercial products?



There is no necessity for the free application, but for the paid application license is necessary, you can vist this link http://android-codes-examples.blogspot.com/2011/02/android-market-license-verification.html


Here the importance of the license is defined clearly
antonykk
Freshman
Freshman
 
Posts: 8
Joined: Tue Jan 04, 2011 8:24 am

Re: iPhone Tabs for Android!

Postby samdroid » Sat Mar 26, 2011 7:01 am

This is hell like good stuffff... very good work.. :D
samdroid
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Mar 26, 2011 7:01 am

Re: iPhone Tabs for Android!

Postby strider2023 » Tue Apr 05, 2011 9:59 am

thanx for sharing m8...really good work.. :D
strider2023
Senior Developer
Senior Developer
 
Posts: 126
Joined: Tue Mar 02, 2010 6:34 am
Location: Chennai, India

Re: iPhone Tabs for Android!

Postby Mike.Adams » Wed Apr 06, 2011 5:21 pm

thanks!
Hi I'm Mike. Checkout my source code, projects and work here and let me know what you think.

Feel free to also upload and submit your code/projects there for all to see and find!
Mike.Adams
Developer
Developer
 
Posts: 26
Joined: Mon Mar 07, 2011 9:19 pm
Location: New York

Re: iPhone Tabs for Android!

Postby egorfedorov » Tue Apr 12, 2011 1:54 am

thanks!
egorfedorov
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Apr 12, 2011 1:51 am

Top
Next

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 1 guest