Android获取屏幕分辨率官方推荐的新方法
分类:Android参考
<pre name="code" class="java">WindowManager wm = this.getWindowManager();Point screenAttribute = new Point();wm.getDefaultDisplay().getSize(screenAttribute);Toast.makeText(this, "Screen Width:" + screenAttribute.x +",Screen Height"+ screenAttribute.y, Toast.LENGTH_SHORT).show();
上一篇机器学习中的有监督学习,,无监督学习,半监督学习
顶0踩0
心中有愿望一定要去闯,努力实现最初的梦想,