Saturday, December 10, 2011

How do i get the visible dimension of an android application, with the sdk?

My archos 7 has a resolution of 800x480 but with the menu at the top the resolution is reduced to about 800x440.


((canvas)g).getHeight() returns 480 even with the menu showing.|||try


View.getHeight(); View.getWidth();

No comments:

Post a Comment