[android-developers] Re: Trying to understand TabHost source code

2009-04-27 Thread e-satis
Swell, this has been reported as a bug : http://code.google.com/p/android/issues/detail?id=2516 On Apr 24, 1:28 pm, e-satis wrote: > Hello, > > I manage to find this post right after trying to solve something like > this : > > http://groups.google.com/group/android-developers/browse_thread/thre

[android-developers] Re: Trying to understand TabHost source code

2009-04-24 Thread e-satis
Hello, I manage to find this post right after trying to solve something like this : http://groups.google.com/group/android-developers/browse_thread/thread/f3fdd1eb1726/0d28c51a6b9ffdfe?lnk=gst&q=tab+focus#0d28c51a6b9ffdfe Apparently, tabs seems to still the focus of TextView that are not pa

[android-developers] Re: Trying to understand TabHost source code

2009-03-05 Thread Dianne Hackborn
I don't believe the tab host is doing anything special for this, it is just letting the normal focus navigation take place. On Thu, Mar 5, 2009 at 4:00 PM, ying lcs wrote: > > Thank you Dianne. > > I have another related question. I appreciate if you can help me with that. > > Let's say the a bu

[android-developers] Re: Trying to understand TabHost source code

2009-03-05 Thread ying lcs
Thank you Dianne. I have another related question. I appreciate if you can help me with that. Let's say the a button in a tab content currently has focus. When I click the UP button, the tab-widget has the focus. My question is how can the Tabhost knows that The tab-content reaches the end of i

[android-developers] Re: Trying to understand TabHost source code

2009-03-05 Thread Dianne Hackborn
The comment says is re-directs non-navigation keys to the content. It isn't intercepting the other keys, it is ignoring them (returning false). On Thu, Mar 5, 2009 at 11:42 AM, ying lcs wrote: > > Hi, > > I am trying to understand TabHost source code. In the setup() , it has: > > // KeyListene