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: 

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.



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

Please have a look at this. 

Kumar Bibek


Sponsored Links

Other Threads

1. Https and a self-signed certificate?


Has anyone had any success getting an https connection to work with a
self-signed certificate? I tried the method posted here from last


2. Android emang wookeee

Barusan aja muncul notifikasi update android di HTC Dreamku, diminta untuk 
restart karna android akan melakukan update ke versi 1.6, sebelumnya masih 
versi 1.5.

Setelah restart, android menjalankan update ke v1.6. Kurang lebih 7 mnt, 
android restart sendiri dan... sekarang androidku naik versi ke 1.6 dengan 
cepat dan mudah!

Kereeeennn abis si android ini... perilakunya bener2 kayak robot! {*filter*}tara ini 
blom tau apa aja yg baru di android 1.6. 

Meskipun masih v1.6 blom v2.0 tp seneng bgt android melakukan update secara 
otomatis dan cepet.


Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group:

Click   http://www.***.com/ 
          Choice Apply for Group Membership


 Please visit the following page:

To send a message to the owner, visit the following page:

  http://www.***.com/ ;hl=en-GB    or

For more options, visit this group at

To unsubscribe from this group, send email to

Indonesian Android Community on Facebook



3. OMX Component Integration- Getting crashed at event handler callback during audio playback.

4. Market android

5. mediastore thumbnails

6. Tutorial flash or upgrade

7. Fwd: How to disallow task switching