Question about TabHost implementation

by Meryl Silverburgh » Sat, 14 Mar 2009 01:52:13 GMT


Sponsored Links
 I have looked at TabHost code and I have a question.

Why it expects TabContent to be a FrameLayout? I see it casts
mTabContent to be FrameLayout.
Why TabContent can't be an instance of ViewGroup, but a FrameLayout?

Thank you.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. APK execution from shell command line.

Hi,

 

Is it possible to execute .apk JAVA application files from the shell
command line?

 

Regards,

Vinay

 


--~--~---------~--~----~------------~-------~--~----~

2. Not downloading resource in Java.net.ResponseCache. Framework issue?

Hi,
I try to use java file caching with Java.net.ResponseCache,
CacheResponse and CacheRequest. I extended ResponseCache and set the
return value of get() to null. Normally it must get the resource from
its original location as it's not in the cache (get() return null).
But nothing happens.
When I try it in a java project with exactly the same classes, the put
() method is invoked.
Does that mean that it's an Android Framework issue?
Thanks
--~--~---------~--~----~------------~-------~--~----~

3. ListView convertView recycler showing duplicates?

4. -1 location accuracy value

5. How to Set Dialog Orientation

6. How to use inbuilt application in my own Application

7. Problem with listview scrolling