2014-11-24 85 views

回答

0

创建新的线性布局
1.Click图形布局
2.Click进入下一状态//顶部第三个选项
3.Click景观

输入您这样

<?xml version="1.0" encoding="utf-8"?>  
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent"  
    android:layout_height="match_parent"  
android:orientation="horizontal" > 
<ListView 
    android:id="@+id/list1" 
    android:layout_width="wrap_content" 
    android:layout_height="match_parent" 
    android:layout_weight="1"/> 
<ListView 
    android:id="@+id/list2" 
    android:layout_width="wrap_content" 
    android:layout_height="match_parent" 
    android:layout_weight="1"/>  
</LinearLayout> 

您的结果将是这样的
enter image description here

0

Here是你可以参考

0

你试图把你的列表视图内的另一个parent ListView,其方向水平的示例项目?

相关问题