开发者

My app does not use the entire screen when ran on an Android phone

I am creating a graphics based game that uses 开发者_StackOverflowa DrawView.java page to display my game. This replaces an XML file because I draw everything in the DrawView page. However, it is only drawing on about 1/2 of the screen. My question is:

What line of code determines how much of the screen is being used?

Here is a picture of my problem:

My app does not use the entire screen when ran on an Android phone


Does your DrawView have these parameters?
android:layout_width="fill_parent"
android:layout_height="fill_parent"
If yes, then i need to see the code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜