chawei0397 2017-09-25 07:13 采纳率: 16.7%
浏览 2462

在ListVIEW上方和下方添加textview和button控件没有显示

<?xml version="1.0" encoding="utf-8"?>
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="#000000"
android:text="@string/number"/>

android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="#000000"
android:text="@string/force"/>

android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="#000000"
android:text="@string/angle"/>

<!-- 添加一个ListView控件 -->
<ListView
android:id="@+id/lv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/> 

android:id="@+id/bt5"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/bt5"
/>

  • 写回答

5条回答

  • 下课睡觉 2017-09-25 08:24
    关注

    朋友,能把你的代码理清楚一点吗。。。。。

    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料