页面设置横屏了所有最上面的是两个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
控件的padding设置为0,,,margin也设置为0
这个格式的代码看着辣眼