开发者

Honeycomb system bar

I'd like to get the 开发者_如何学JAVArectangle of the "useable" area on Honeycomb, meaning the area that does not include the Navigation Bar at the bottom. Getting the Display dimensions inculdes this area, which is not what I want.

Is there a single API call to get this?

Thanks all!


I am just testing Honecomb and find that there is no usual "full screen" for the applications, as it was on previous versions of android.

One way to find the apllication screen size is by using

@Override
public void onSizeChanged (int w, int h, int oldw, int oldh){
    super.onSizeChanged(w, h, oldw, oldh);
    screenW = w;
    screenH = h;
 }

method for the custom view or SurfaceView which fills the whole application screen.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜