正常情况下 只有8个checkbox

android中listview控件覆盖了其它控件使下面的其它控件不显示_第1张图片

增加到12个checkbox ,滑动到底部也没有看到【确定】按扭

android中listview控件覆盖了其它控件使下面的其它控件不显示_第2张图片

 listView 加android:paddingBottom="60dp"  也不行, Buttion加android:layout_marginTop="30dp" 也不行

写成

Button button = new Button(this);button.setText("确定");listView.addFooterView(button);  成功了,但是要想看到【确定】按扭,需要滑动到底部

 

android中listview控件覆盖了其它控件使下面的其它控件不显示_第3张图片

android:layout_weight="1"    android:layout_height="wrap_content">

增加了 android:layout_weight="1" 成功,固定在底部

android中listview控件覆盖了其它控件使下面的其它控件不显示_第4张图片

更多相关文章

  1. 自定义控件 - 圆形缓冲进度条
  2. Android 图片拖动 放大
  3. android 处理图片的工具类
  4. Android 选择图片裁剪,上传
  5. android加载大图片内存问题
  6. android图片异步加载解决步骤
  7. android 大图片拖拽并缩放实现原理
  8. Android 原始下载图片 通过HTTp
  9. Android:下载网络图片

随机推荐

  1. Android平台开发-Bluez function porting
  2. Kernel.org 被黑,获取 Android 源码方法一
  3. cocos2d-x C++通知Android更新UI
  4. Android选项菜单和上下文菜单解析
  5. 在Android JNI环境下使用C++ Lambda表达
  6. Android线程间通信机制
  7. Android给TextView设置透明背景、圆角边
  8. 13-5-16 Android自定义空间实现wifi信号
  9. Android架构组件-ViewModel
  10. android中的layoutparams参数使用的简单