ok, i found two solutions.. for anyone with the same prob.

1.
Display displayx = ((WindowManager) getSystemService
(Context.WINDOW_SERVICE)).getDefaultDisplay();
int height= displayx.getHeight();

2.
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
int height=dm.heightPixels;

but finaly 1) makes 100 byts less code in my app :) so i use that

cheers
chris

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