Android适配 参考了洪洋大神的适配终结者(http://blog.csdn.net/lmj623565791/article/details/49990941)
只需要在代码中调用HzhFixTool.newInstance(this).fix(_rootView);其中_rootView是根视图(View)。
布局中直接使用px为单位,这里的px不再是google不建议使用的px。
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Android适配 参考了洪洋大神的适配终结者(http://blog.csdn.net/lmj623565791/article/details/49990941)
只需要在代码中调用HzhFixTool.newInstance(this).fix(_rootView);其中_rootView是根视图(View)。
布局中直接使用px为单位,这里的px不再是google不建议使用的px。