So, ive seen that the view inside that tab has focus. So it cant be a
focus problem. Its a strange behaviour bcos an edittext get the focus,
but its not orange-highlighted. I press down and up in the pad and
that edittext gets highlighted. If i press menu button after that,
then i can see the menu. (Its the only way to "force" it to appear...)

Thanks!



On 22 abr, 16:34, khose <[email protected]> wrote:
> Ok, understood. But i can't change now the way i manage those tabs. I
> will consider your solution in future apps.
> I think that the main reason to use Intents instead of views is that
> some views can be hard to manage and the final TabActivity can be
> really heavy to load and really ugly to read (the code i mean). So now
> i need a "real" solution...
>
> Thanks anyway Mark.
>
> On 22 abr, 13:42, Mark Murphy <[email protected]> wrote:
>
> > khose wrote:
> > > Any idea??
>
> > Frankly, I have yet to see a good reason to use Intents to populate
> > tabs, particularly since you are limited to your own activities.
>
> > If this were my code, I would:
>
> > 1. Move the UI logic for each of the activities to be put into tabs into
> > custom View classes rather than activity classes.
>
> > 2. For those where I need the UI logic to appear both in a tab and in a
> > standalone activity, create a trivial activity wrapper around the view.
>
> > 3. Use the custom View classes from step #1 in the TabActivity instead
> > of Intents.
>
> > 4. Put the option menus in the TabActivity.
>
> > But, hey, that's just me.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android App Developer Training:http://commonsware.com/training.html
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to