Thanks for the fix. I still wonder about the emulator.
I want it to be scaled when I launch it. But I only
see how to do this scaling from Window -> Android SDK
and AVD Manager -> Start -> Scale Display to Real Size
-> Launch

but then when I run Run -> Run a new emulator is started.

The emulator has the title bar above my screen, so I cannot
click on the tile bar to move the emulator around.

I don't have an android device to test on. Any idea of
which one to purchase and how to connect it?

Thanks,

JG

On Aug 22, 4:53 pm, Chris <[email protected]> wrote:
> >       LinearLayout layout = new LinearLayout(this);
> >       Panel panel = new Panel(this);
> >       Button button = new Button(this);
> >       layout.addView(panel);
> >       layout.addView(button);
> >       setContentView(panel);
>
> You're creating a LL, adding the panel and button to it, but setting the
> content view to the panel instead of the LL.  Since you never add the button
> to the panel, it won't show.
>
> As far as the emulator slowness goes, I'd suggest testing on a real device
> unless you need to do QA on different screen configurations.
>
> Cheers,
> - C

-- 
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