How-To: Display Emulator in Landscape (Sideways) View?

by JLMG » Thu, 12 Mar 2009 06:41:06 GMT


Sponsored Links
 I was over at db4o and they had a demo with the emulator displayed in
landscape (sideways) mode.

How do you do that?

I'm developing and app that needs the keyboard exposed.

Thanks!

JLMG
--~--~---------~--~----~------------~-------~--~----~



How-To: Display Emulator in Landscape (Sideways) View?

by Mark Murphy » Thu, 12 Mar 2009 06:41:50 GMT


 


<Ctrl>-<F12> toggles you between portrait and landscape modes in the
emulator.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android Training in Sweden --  http://www.sotrium.com/training.php 

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


Sponsored Links


Other Threads

1. Change in String.format between 1.1 and .15?

It works fine for me in 1.5. What's your dataOut_d value?

--
Jack Ha
Open Source Development Center
obilestick together

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.




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

2. prescale bitmaps for a list view

Hi all,

I'm trying prescale bitmaps for the listview as described by Romain
Guy in has presentation at the Google IO.
But I have a problem with the size of the scaled bitmap.
 Let's say I have a 256x256px bitmap, in my listview I have:

 <ImageView android:id="@+id/thumbnail"
        android:layout_width="80dip"
        android:layout_height="80dip" />

Now I scale images using Bitmap.createScaledBitmap(originalBitmap, 80,
80, true) and change layout to

 <ImageView android:id="@+id/thumbnail"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

But on the display image looks ~30% larger then it was before!
I guess it has something to do with the logical pixel density and the
physical dpi, but I can not figure out how to get this
conversion factor. I tried android.util.DisplayMetrics but still don't
get it.

Could you please explain it to me.

Thank you!

Evgeny

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

3. View Android Marketplace

4. A new way to manage and promote YOUR Android Applications!

5. Publishing Applications on the Android Market: Tax implications

6. Problems with combined scrollview and tablelayout

7. Android Market timeline