View on Tabs in TabActivity

by Pankaj Deshpande » Thu, 22 Apr 2010 19:04:22 GMT


Sponsored Links
 Hi all,
I am working on a tab activity, and want images on each tab. I set
indicators as a view and set Image as background resource to each tab. For
each tab, I have started a new Activity and put a textview as a
setContentView in that. Up to my second last tab it works fine, but for lats
tab, all tabs cover my whole screen.
  Why is this happening?

 Thanks in Advance.

Pankaj Deshpande.
-- 
Android Application Developer
Pune.

--



View on Tabs in TabActivity

by Pankaj Deshpande » Thu, 22 Apr 2010 19:04:43 GMT


 Hi all,
I am working on a tab activity, and want images on each tab. I set
indicators as a view and set Image as background resource to each tab.
For each tab, I have started a new Activity and put a textview as a
setContentView in that. Up to my second last tab it works fine, but
for lats tab, all tabs cover my whole screen.
  Why is this happening?

 Thanks in Advance.

Pankaj Deshpande.
--
Android Application Developer
Pune.

--


Sponsored Links


View on Tabs in TabActivity

by pawan nimje » Thu, 22 Apr 2010 19:20:25 GMT


 Hey pankaj can you mail me your project .... i'll look into it n may i can
help you ..

-Pawan Nimje


On Thu, Apr 22, 2010 at 4:32 PM, Pankaj Deshpande



>



View on Tabs in TabActivity

by Sandeep Phansekar » Thu, 22 Apr 2010 21:59:12 GMT


 Hi

there r lots of example available for this solution
just googling u find the solution.

@Pankaj -- u working for which company ? actully i am serching the job in
pune for android position.

-- 
Regards
Sandeep







>>



Other Threads

1. Weird Home button behavior

Hi all.
I'm experiencing kind of strange behavior of my application after hard
Home button is pressed.
When you press Home, everything is OK - my app goes to the background,
showing Home screen. But if you try to choose my app in the main menu
or in the list of last tasks it behaves like it was not started before
and does not show the last activity you were on - it just starts from
scratch, namely, shows the splash screen and . Moreover, old
activities of this app remain on the activities stack, and previous
instance of the app is not terminated - so if you press Back for a few
times you'll just run into those activities which were undoubtedly
started during the previous session of work with my app. Splash screen
is filtered by "android.intent.action.MAIN" filter and
"android.intent.category.LAUNCHER" category.
The strange thing is that all of that happens despite the fact that I
do not intercept any Back key hits, or override any onPause or
onResume methods. What's happening contradicts with my understanding
of Android app lifecycle - I was sure that when you hit Home an app
just goes to the background, and when you choose it in the menu later
- it just unwinds and does not start anew. (Of course, unless stuff
like that is stated in the app manifest or corresponding methods are
overridden or something else).
I hope you will be able to help me. Any advice on what to pay
attention to or where to search for solution would be really great.

Regards, Alex

--

2. Missing core applications in Emulator (API 4/5)

You can't...

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------





>

3. Floods

4. Need help on the "Service" concept

5. android source integrated into Eclipse

6. Android Hello World not working

7. Android phone on "Heroes"