最近打算把手头的一个WIN10平板装起来看代码。可惜平板是高分屏2048x1536,于是按钮小到无法点击。本以为可以作罢,按平常的习惯搭了梯子出门看一圈,突然发现有解决办法,很简单。如下操作:
步骤:
1)First you need to add this registry key
注册表新建这个DWORD键值,设置为1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest (DWORD) to 1
2)Next, a manifest file with the same name as the executable must be present in the same folder as the executable. The file is named eclipse.exe.manifest and consists of:
第二步:把下面的内容保存为eclipse.exe.manifest放到eclipse.exe同目录
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<description>eclipse</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"
level="asInvoker"
ms_asmv3:uiAccess="false">
</requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
然后平板就可以继续玩eclipse啦。。。
步骤:
1)First you need to add this registry key
注册表新建这个DWORD键值,设置为1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\PreferExternalManifest (DWORD) to 1
2)Next, a manifest file with the same name as the executable must be present in the same folder as the executable. The file is named eclipse.exe.manifest and consists of:
第二步:把下面的内容保存为eclipse.exe.manifest放到eclipse.exe同目录
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<description>eclipse</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"
level="asInvoker"
ms_asmv3:uiAccess="false">
</requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
然后平板就可以继续玩eclipse啦。。。
另也有一个更方便的工具来提取manifest,我已上传
http://download.csdn.net/detail/applebomb/9715106
还有方式2来解决,更简单:
就是在ECLIPSE运行快捷方式上右键属性->兼容模式->以XP SP3的模式运行(但是这样一来只能使用32位的JDK模式了,如果是8G的平板建议用manifest模式)。
该方式在mars版本尚可用,但是到了neon版本,只能使用方式1了。
截图上面的是调整后的大小,下面是未调整的大小。你可以发现,在未调整时,工具条根本就没法点。调整后虽然模糊点,但总算能够点的到了