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. Https and a self-signed certificate?

Hi,

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

  

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.

Salam,

SyamSyah
 http://www.***.com/ 
--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

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

or 

 Please visit the following page:
  http://www.***.com/ 

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

  http://www.***.com/ ;hl=en-GB    or  
 
    id.andr...@gmail.com

For more options, visit this group at
 http://www.***.com/ 

To unsubscribe from this group, send email to
id-android+unsubscr...@googlegroups.com

Indonesian Android Community on Facebook

 http://www.***.com/ 

=========================
-~----------~----~----~----~------~----~------~--~---

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