楼兰古阁 2017-08-17 09:37 采纳率: 0%
浏览 825

Android 布局问题求助

页面设置横屏了所有最上面的是两个imageview ,在显示的时候为什么两个imageview中间有一个空隙,而不是无缝拼接的。布局代码:
android:layout_width="fill_parent"
android:layout_height="fill_parent" >

    <TextureView
    android:id="@+id/textureview"
    android:layout_width="350dp"
    android:layout_height="400dp"
    android:layout_weight="1"
 />

android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FF232428"
android:orientation="horizontal"
>

<ImageView
    android:id="@+id/imageview"
    android:layout_width="0dp"
    android:layout_height="match_parent"
    android:layout_weight="1"
 />

<ImageView
android:id="@+id/ImageView2"
android:layout_width=" 0dp"
android:layout_height="match_parent"

        android:layout_weight="1"/> 


<Button

  • 写回答

2条回答 默认 最新

  • 鼠晓 博客专家认证 2017-08-17 10:00
    关注

    控件的padding设置为0,,,margin也设置为0

    评论

报告相同问题?

悬赏问题

  • ¥15 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类