Explorar el Código

更新获取状态栏高度插件 px转dp

leijie %!s(int64=7) %!d(string=hace) años
padre
commit
058f4f86fb

+ 1 - 1
ipu-plugin-basic/src/main/java/com/ai/ipu/mobile/plugin/MobileInfo.java

@ -245,7 +245,7 @@ public class MobileInfo extends Plugin {
245 245
    }
246 246
	
247 247
	public String getStatusBarHeight(){
248
		return String.valueOf(UiTool.getStatusBarHeight(context));
248
		return String.valueOf(UiTool.getStatusBarHeightDp(context));
249 249
	}
250 250
251 251
}

+ 17 - 17
ipu-web-libs/.project

@ -1,17 +1,17 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>ipu-web-libs</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.m2e.core.maven2Builder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
		<nature>org.eclipse.m2e.core.maven2Nature</nature>
16
	</natures>
17
</projectDescription>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>ipu-web-libs</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.m2e.core.maven2Builder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
		<nature>org.eclipse.m2e.core.maven2Nature</nature>
16
	</natures>
17
</projectDescription>