Android app only taking up part of screen

by Drew » Wed, 10 Mar 2010 01:34:30 GMT


Sponsored Links
 I have an Android application that's seemingly only taking up 1/3 or
so of the screen on a Texas Instruments Zoom Android device.  You can
see what I mean here:

 http://www.zitnay.com/stuff/IMG00910.jpg 

The upper-middle third or so of the screen contains the app, but the
rest of the screen is black.  I have thousands of other people using
this app, but have never had a report of this before (and can't
reproduce it using the emulator).

I'm typically building the layout programmatically (typically with a
ScrollView as the main view) then using setContentView() to display
it.  I was originally using setContentView(View), but I tried adding
new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.FILL_PARENT) as the second parameter today,
which didn't seem to fix the problem.

I'd appreciate any advice anyone can give.  Thanks.

Drew

--



Android app only taking up part of screen

by Kumar Bibek » Wed, 10 Mar 2010 18:42:58 GMT


 Aah, An example of apps running on different screen sizes and
resolutions.

Please have a look at this.

 http://developer.android.com/intl/de/guide/practices/screens_support.html 

Kumar Bibek




--


Sponsored Links


Other Threads

1. Why is English the only Locale my Phone has in Settings

and How can I change this

-- 

2. Keychain Android

Mauuu... Berapaan om? Hehehehehehe.. 


Sent from my Odin

-----Original Message-----
From: "Anton Japutra" <ajdr...@gmail.com>
Date: Sun, 28 Feb 2010 10:38:10 
To: Android@<id-android@googlegroups.com>
Subject: [id-android] Keychain Android

Akhirnya jadi juga :)

~AJ

-- 
"Indonesian Android Community [id-android]" 

3. NexDesire 1.1 app2sd kaga jalan.

4. Apk yang bagus untuk nambah homescreen

5. Cara Membuat Partisi HTC MAGIC 32A ROM Eclair 2.1 [Made By Me]... dan Flash Rom Eclair 2.1 [Made By Me]

6. Si Amplop merh

7. unlimted internet for nexus one