The Android Developer site has an excellent fully worked code sample for creating tabs in Android using the TabWidget and TabHost Check out TabWidget.
The Android Developer site has an excellent fully worked code sample for creating tabs in Android using the TabWidget and TabHost. Check out TabWidget.
That they don't contain all the information necessary. Take the line 'mTabHost = getTabHost();' for example - there is no prior reference to or description of 'mTabHost'. And, their other tab example has typo's that stop it from compiling.
And, when it's compiled, it 'core dumps'. – KevinDTimm Feb 5 '10 at 17:49.
The answers to this question list all the issues with the sample code, and the workarounds that people have found.
I had done tabhost related code with respect to displaying scores TabHost host = getTabHost(); host. Setup (); TabSpec allScoresTab = host. NewTabSpec("allTab"); allScoresTab.
SetIndicator(getResources(). GetString(R.string. All_scores), getResources().
GetDrawable(android.R.drawable. Star_on)); allScoresTab. SetContent(R.id.
ScrollViewAllScores); host. AddTab(allScoresTab); TabSpec friendScoresTab = host. NewTabSpec("friendsTab"); friendScoresTab.
SetIndicator(getResources(). GetString(R.string. Friends_scores), getResources().
GetDrawable(android.R.drawable. Star_on)); friendScoresTab. SetContent(R.id.
ScrollViewFriendScores); host. AddTab(friendScoresTab); host. SetCurrentTabByTag("allTab"); My xml contains.
Please give me the reply. Thanks in advance.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.