在java代码如下:

ImageButton exitbot =(ImageButton) findViewById(R.id.exit);ViewGroup.LayoutParams exitbotn = (ViewGroup.LayoutParams)exitbot.getLayoutParams();exitbotn.width = botwidth;exitbotn.height = botheight;

更多相关文章

  1. unity和Android交互(内容部分为转载)
  2. android截图代码
  3. H5调android 的方法修改UI无效
  4. Android(安卓)读取安装的非系统应用程序
  5. android:软件的安装和卸载源代码
  6. Android(安卓)安装步骤
  7. android Menu 菜单使用总结
  8. PC端与android手机端使用adb forword通信
  9. android actionBar右上角 menu 显示三个点

随机推荐

  1. Android杩涚▼鍒嗘瀽
  2. cocos2d-x编译Andorid报错make: *** No r
  3. android之manifest.xml内provider详解
  4. 那些年不错的Android开源项目
  5. Android之SurfaceView(二)
  6. fackbook的Fresco (FaceBook推出的Android
  7. Android(安卓)Studio导入Android源码
  8. 【Android(安卓)开发教程】FrameLayout帧
  9. Android图表控件MPAndroidChart的简单介
  10. Android中实现Launcher功能之二 ----- 添