Getting the size of the window WITHOUT title/notification bars

后端 未结 5 817
傲寒
傲寒 2021-02-07 04:19

I\'ve been playing around with Android development and one of the things I\'d like to be able to do is dynamically create a background image for my windows, similar to the one b

5条回答
  •  忘了有多久
    2021-02-07 04:57

    have a look at getwidth() and getheight() maybe? that should give you the size of the screen. though, I don't know If it takes the bars or not. But I don't think so...

提交回复
热议问题