Android Application Development Tutorial - 86 - Creating Tabs in Java

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

You're the man Travis. Excellent series. These tab vids are exactly what I need for my project.

kode
Автор

Bucky and Travis should be my AP Computer Science teacher, I would learn alot more :D

DJLNX
Автор

love all these videos
your a great teacher

MrTubefish
Автор

Love u travis..u rock man...god bless u man....

vidnyan
Автор

don't forget 'implements OnClickListener'

gnko
Автор

use yourSound.release(); fiish(); into your onPause() mathod. also, specify the the sleep(yourTime); that into your thread function

MarioPuzo
Автор

last comment was 1 month ago, i'm still here with 114 lessons left to run up :D

hamisym
Автор

can we remove the tabs on button click
please reply

vishalasware
Автор

how setup other contents in the tabs that are created with click in the button.

nacenei
Автор

hey travis, thanks for the tutorials they are very helpful

i have a slight problem with my tabs - each time i open a new tab the old content remains and the new content just over laps

i can't figure out why.... any ideas ?

thanks again

bennewman
Автор

Everything works fine till now but I want to ask a question about the "createTabContent" mathod that we return one TextView. How could I return more than one TextView's or a TextView and a Button to be created in the new Tab? Thanks in advance.

lost
Автор

"Switch and case" is just called a switch, dude. I think you're thinking of switch and bait, which is basically a bait-and-switch backwards, for the most part.

StarlingTandava
Автор

what if...

you click on a tab and it brings you to an activity while keeping the tabs view
i.e. one tab is calendar view and the over is a list view (for events)
so the click would direct to a new class and layout not just coding everything in the same 'tabs' class

marcusmthegreat
Автор

hey you guys totally out of the order but what tut tells you how to shut off your splash screen music so it doesnt play all the time when you start the app?

naenaeelizabeth
Автор

Better way to write it:

tabHost.addTab (
.setIndicator("Stopwatch")
.setContent(R.id.tab1));

waqqas_the_wicked
Автор

I cant scroll down the list, I have pressed tab, scrolled with the mouse, and dragged upwards. Please help!

raazmalai
Автор

For some reason I just had to click the "Add a Tab" button until I couldn't see the tabs anymore. ._.

thestickbot
Автор

Could you please show me your xml coz I dont know what to include in the layout file....

RajSharma-ffiq
Автор

Can each tab have its own context menu(the one when you click the menu button :P)??

bbugarschi
Автор

Can I use implement methods for new TabHost.TabContentFactory() ?

SureshMichael
visit shbcf.ru