listing11-03_build.xml_enablingfullscreenmode

来自「着几乎所有智能机厂商都将有自己配套的App Store,甚至并非智能手机制造商的」· XML_ENABLINGFULLSCREENMODE 代码 · 共 33 行

XML_ENABLINGFULLSCREENMODE
33
字号
<!-- you can enable the fullscreen mode with the "polish.GameCanvas.useFullScreen" 
     variable as well as the "fullscreen" attribute of the <build> element.
     In this example we activate the "menu" fullscreen mode for normal screens while
     using the plain vanilla fullscreen (without a menu) for classes extending GameCanvas: 
-->


<j2mepolish>
	<info
		license="GPL"
		name="MazeRace"
		vendorName="A reader."
		version="0.0.1"
		jarName="${polish.vendor}-${polish.name}-${polish.locale}-mazerace.jar"
	/>
	<deviceRequirements>
		<requirement name="Identifier" value="Nokia/Series60" />
	</deviceRequirements>
	<build
		usePolishGui="true"
		fullscreen="menu"
	>
		<midlet class="com.apress.mazerace.MazeRace" />
		<variables>
			<variable
				name="polish.GameCanvas.useFullScreen"
				value="true"
			/>
		</variables>
	</build>
	<emulator />
</j2mepolish>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?