<LinearLayout
android:id="@+id/ll_item_Group"
android:layout_width="match_parent"
android:layout_height="200dp"
android:background="#FF0000"
android:orientation="vertical" >
</LinearLayout>
itemGroup = (LinearLayout) findViewById(R.id.ll_item_Group);
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/view_content"
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="#4169E1"
android:orientation="horizontal" >
</LinearLayout>
<RelativeLayout
android:id="@+id/view_todo"
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="#00008B" >
</RelativeLayout>
</LinearLayout>
View v1 = inflater.inflate(R.layout.el_include, null);
View v3 = inflater.inflate(R.layout.el_include, itemGroup, false);
View v2 = inflater.inflate(R.layout.el_include, itemGroup);
View v4 = inflater.inflate(R.layout.el_include, itemGroup, true);
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/view_content"
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="#4169E1"
android:orientation="horizontal" >
</LinearLayout>
<RelativeLayout
android:id="@+id/view_todo"
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="#800080" >
</RelativeLayout>
</merge>
View v = inflater.inflate(R.layout.el_marge, itemGroup, true);
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有