| @ -0,0 +1,208 @@ | |||
| package com.qhclh.ytzh.work.Poultrydailyreport; | |||
| import android.support.v7.widget.Toolbar; | |||
| import android.view.View; | |||
| import android.widget.AbsListView; | |||
| import android.widget.HorizontalScrollView; | |||
| import android.widget.ListView; | |||
| import com.qhclh.ytzh.R; | |||
| import com.qhclh.ytzh.base.BaseActivity; | |||
| import com.qhclh.ytzh.bean.ReportString; | |||
| import com.qhclh.ytzh.home.RpcUrl; | |||
| import com.qhclh.ytzh.tasks.ViewOnClickTask; | |||
| import com.qhclh.ytzh.ui.LinkedHorizontalScrollView; | |||
| import com.qhclh.ytzh.ui.NoScrollHorizontalScrollView; | |||
| import com.qhclh.ytzh.work.tablepoultry.LvBuildhousenaneAdapter; | |||
| import org.forks.jsonrpc.JsonRpcResult; | |||
| import org.forks.jsonrpc.RpcFacade; | |||
| import org.forks.jsonrpc.RpcObject; | |||
| import java.math.BigDecimal; | |||
| import java.util.ArrayList; | |||
| import java.util.List; | |||
| import butterknife.BindView; | |||
| /** | |||
| * Created by 青花瓷 on 2018/3/23. | |||
| */ | |||
| public class PoultryReportActvity extends BaseActivity { | |||
| @BindView(R.id.toolbar) | |||
| Toolbar mToolbar; | |||
| @BindView(R.id.sv_title) | |||
| NoScrollHorizontalScrollView sv_title;//不可滑动的顶部左侧的ScrollView | |||
| @BindView(R.id.sv_report_detail) | |||
| LinkedHorizontalScrollView sv_report_detail;//底部左侧的ScrollView | |||
| @BindView(R.id.lv_buildhousename) | |||
| ListView lv_buildhousename;//底部左侧的ListView | |||
| @BindView(R.id.lv_report_info) | |||
| ListView lv_report_info;//底部右侧的ListView | |||
| private boolean isLeftListEnabled = false; | |||
| private boolean isRightListEnabled = false; | |||
| private LvBuildhousenaneAdapter lvBuildhousenaneAdapter; | |||
| private PoultryReportInfoAdapter poultryReportInfoAdapter; | |||
| private List<ReportString> buildhouseList; | |||
| private List<PoultryReportBean> reportBeanList; | |||
| private long BreedFactory_ID; | |||
| @Override | |||
| protected int setLayoutId() { | |||
| return R.layout.act_poultry_report; | |||
| } | |||
| @Override | |||
| protected void initView() { | |||
| initToolbar(mToolbar, "报表指数", new View.OnClickListener() { | |||
| @Override | |||
| public void onClick(View view) { | |||
| finish(); | |||
| } | |||
| }); | |||
| combination(lv_buildhousename, lv_report_info, sv_title, sv_report_detail); | |||
| } | |||
| @Override | |||
| protected void initData() { | |||
| BreedFactory_ID = getIntent().getLongExtra("BreedFactory_ID",-1); | |||
| buildhouseList = new ArrayList<>(); | |||
| reportBeanList = new ArrayList<>(); | |||
| } | |||
| @Override | |||
| protected void initOper() { | |||
| } | |||
| @Override | |||
| protected void onResume() { | |||
| super.onResume(); | |||
| HouseTotalInfoCount1(); | |||
| } | |||
| private void HouseTotalInfoCount1() { | |||
| ViewOnClickTask HouseTotalInfoCount1Task = new ViewOnClickTask(this,"加载中...") { | |||
| List<RpcObject> rpcList; | |||
| @Override | |||
| protected void successUI() { | |||
| buildhouseList.clear(); | |||
| reportBeanList.clear(); | |||
| for (int i = 0;i<rpcList.size();i++){ | |||
| buildhouseList.add(new ReportString(rpcList.get(i).getLong("House_ID"),""+(i+1))); | |||
| String House_Name="",Week="",FemaleSiTaoNumber="",MaleSiTaoNumber="" | |||
| ,FemaleSurvivalRate="",MaleSurvivalRate="",FemalePerFeedNumber="",FemaleEatTime=""; | |||
| if (rpcList.get(i).getString("House_Name")!=null){ | |||
| House_Name = rpcList.get(i).getString("House_Name"); | |||
| } | |||
| if (rpcList.get(i).getInt("Week")!=null){ | |||
| Week = rpcList.get(i).getInt("Week")+""; | |||
| } | |||
| if (rpcList.get(i).getInt("FemaleSiTaoNumber")!=null){ | |||
| FemaleSiTaoNumber = rpcList.get(i).getInt("FemaleSiTaoNumber")+""; | |||
| } | |||
| if (rpcList.get(i).getInt("MaleSiTaoNumber")!=null){ | |||
| MaleSiTaoNumber = rpcList.get(i).getInt("MaleSiTaoNumber")+""; | |||
| } | |||
| if (rpcList.get(i).getDecimal("FemaleSurvivalRate")!=null){ | |||
| FemaleSurvivalRate = rpcList.get(i).getDecimal("FemaleSurvivalRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString()+"%"; | |||
| } | |||
| if (rpcList.get(i).getDecimal("MaleSurvivalRate")!=null){ | |||
| MaleSurvivalRate = rpcList.get(i).getDecimal("MaleSurvivalRate").multiply(new BigDecimal("100")).stripTrailingZeros().toPlainString()+"%"; | |||
| } | |||
| if (rpcList.get(i).getDecimal("FemalePerFeedNumber")!=null){ | |||
| FemalePerFeedNumber = rpcList.get(i).getDecimal("FemalePerFeedNumber")+""; | |||
| } | |||
| if (rpcList.get(i).getDecimal("FemaleEatTime")!=null){ | |||
| FemaleEatTime = rpcList.get(i).getDecimal("FemaleEatTime")+""; | |||
| } | |||
| reportBeanList.add(new PoultryReportBean(rpcList.get(i).getLong("House_ID"),House_Name,Week,FemaleSiTaoNumber | |||
| ,MaleSiTaoNumber,FemaleSurvivalRate,MaleSurvivalRate,FemalePerFeedNumber,FemaleEatTime)); | |||
| lvBuildhousenaneAdapter = new LvBuildhousenaneAdapter(PoultryReportActvity.this,buildhouseList); | |||
| poultryReportInfoAdapter = new PoultryReportInfoAdapter(PoultryReportActvity.this,reportBeanList); | |||
| lv_buildhousename.setAdapter(lvBuildhousenaneAdapter); | |||
| lv_report_info.setAdapter(poultryReportInfoAdapter); | |||
| } | |||
| } | |||
| @Override | |||
| public Object call() throws Exception { | |||
| JsonRpcResult result = RpcFacade.rpcCall(RpcUrl.HouseTotalInfoCount1,BreedFactory_ID); | |||
| rpcList = result.getRpcObjectList(RpcUrl.HouseTotalInfoCount1_fanhui); | |||
| return null; | |||
| } | |||
| }; | |||
| HouseTotalInfoCount1Task.execute(); | |||
| } | |||
| private void combination(final ListView lvName, final ListView lvDetail, final HorizontalScrollView title, LinkedHorizontalScrollView content) { | |||
| /** | |||
| * 左右滑动同步 | |||
| */ | |||
| content.setMyScrollChangeListener(new LinkedHorizontalScrollView.LinkScrollChangeListener() { | |||
| @Override | |||
| public void onscroll(LinkedHorizontalScrollView view, int x, int y, int oldx, int oldy) { | |||
| title.scrollTo(x, y); | |||
| } | |||
| }); | |||
| /** | |||
| * 上下滑动同步 | |||
| */ | |||
| // 禁止快速滑动 | |||
| lvName.setOverScrollMode(ListView.OVER_SCROLL_NEVER); | |||
| lvDetail.setOverScrollMode(ListView.OVER_SCROLL_NEVER); | |||
| //左侧ListView滚动时,控制右侧ListView滚动 | |||
| lvName.setOnScrollListener(new AbsListView.OnScrollListener() { | |||
| @Override | |||
| public void onScrollStateChanged(AbsListView view, int scrollState) { | |||
| //这两个enable标志位是为了避免死循环 | |||
| if (scrollState == SCROLL_STATE_TOUCH_SCROLL) { | |||
| isRightListEnabled = false; | |||
| isLeftListEnabled = true; | |||
| } else if (scrollState == SCROLL_STATE_IDLE) { | |||
| isRightListEnabled = true; | |||
| } | |||
| } | |||
| @Override | |||
| public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, | |||
| int totalItemCount) { | |||
| View child = view.getChildAt(0); | |||
| if (child != null && isLeftListEnabled) { | |||
| lvDetail.setSelectionFromTop(firstVisibleItem, child.getTop()); | |||
| } | |||
| } | |||
| }); | |||
| //右侧ListView滚动时,控制左侧ListView滚动 | |||
| lvDetail.setOnScrollListener(new AbsListView.OnScrollListener() { | |||
| @Override | |||
| public void onScrollStateChanged(AbsListView view, int scrollState) { | |||
| if (scrollState == SCROLL_STATE_TOUCH_SCROLL) { | |||
| isLeftListEnabled = false; | |||
| isRightListEnabled = true; | |||
| } else if (scrollState == SCROLL_STATE_IDLE) { | |||
| isLeftListEnabled = true; | |||
| } | |||
| } | |||
| @Override | |||
| public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, | |||
| int totalItemCount) { | |||
| View c = view.getChildAt(0); | |||
| if (c != null && isRightListEnabled) { | |||
| lvName.setSelectionFromTop(firstVisibleItem, c.getTop()); | |||
| } | |||
| } | |||
| }); | |||
| } | |||
| } | |||
| @ -0,0 +1,101 @@ | |||
| package com.qhclh.ytzh.work.Poultrydailyreport; | |||
| /** | |||
| * Created by 青花瓷 on 2018/3/23. | |||
| */ | |||
| public class PoultryReportBean { | |||
| private long House_ID; | |||
| private String House_Name; | |||
| private String Week; | |||
| private String FemaleSiTaoNumber; | |||
| private String MaleSiTaoNumber; | |||
| private String FemaleSurvivalRate; | |||
| private String MaleSurvivalRate; | |||
| private String FemalePerFeedNumber; | |||
| private String FemaleEatTime; | |||
| public PoultryReportBean(long house_ID, String house_Name, String week, String femaleSiTaoNumber, String maleSiTaoNumber, String femaleSurvivalRate, String maleSurvivalRate, String femalePerFeedNumber, String femaleEatTime) { | |||
| House_ID = house_ID; | |||
| House_Name = house_Name; | |||
| Week = week; | |||
| FemaleSiTaoNumber = femaleSiTaoNumber; | |||
| MaleSiTaoNumber = maleSiTaoNumber; | |||
| FemaleSurvivalRate = femaleSurvivalRate; | |||
| MaleSurvivalRate = maleSurvivalRate; | |||
| FemalePerFeedNumber = femalePerFeedNumber; | |||
| FemaleEatTime = femaleEatTime; | |||
| } | |||
| public long getHouse_ID() { | |||
| return House_ID; | |||
| } | |||
| public void setHouse_ID(long house_ID) { | |||
| House_ID = house_ID; | |||
| } | |||
| public String getHouse_Name() { | |||
| return House_Name; | |||
| } | |||
| public void setHouse_Name(String house_Name) { | |||
| House_Name = house_Name; | |||
| } | |||
| public String getWeek() { | |||
| return Week; | |||
| } | |||
| public void setWeek(String week) { | |||
| Week = week; | |||
| } | |||
| public String getFemaleSiTaoNumber() { | |||
| return FemaleSiTaoNumber; | |||
| } | |||
| public void setFemaleSiTaoNumber(String femaleSiTaoNumber) { | |||
| FemaleSiTaoNumber = femaleSiTaoNumber; | |||
| } | |||
| public String getMaleSiTaoNumber() { | |||
| return MaleSiTaoNumber; | |||
| } | |||
| public void setMaleSiTaoNumber(String maleSiTaoNumber) { | |||
| MaleSiTaoNumber = maleSiTaoNumber; | |||
| } | |||
| public String getFemaleSurvivalRate() { | |||
| return FemaleSurvivalRate; | |||
| } | |||
| public void setFemaleSurvivalRate(String femaleSurvivalRate) { | |||
| FemaleSurvivalRate = femaleSurvivalRate; | |||
| } | |||
| public String getMaleSurvivalRate() { | |||
| return MaleSurvivalRate; | |||
| } | |||
| public void setMaleSurvivalRate(String maleSurvivalRate) { | |||
| MaleSurvivalRate = maleSurvivalRate; | |||
| } | |||
| public String getFemalePerFeedNumber() { | |||
| return FemalePerFeedNumber; | |||
| } | |||
| public void setFemalePerFeedNumber(String femalePerFeedNumber) { | |||
| FemalePerFeedNumber = femalePerFeedNumber; | |||
| } | |||
| public String getFemaleEatTime() { | |||
| return FemaleEatTime; | |||
| } | |||
| public void setFemaleEatTime(String femaleEatTime) { | |||
| FemaleEatTime = femaleEatTime; | |||
| } | |||
| } | |||
| @ -0,0 +1,103 @@ | |||
| package com.qhclh.ytzh.work.Poultrydailyreport; | |||
| import android.content.Context; | |||
| import android.view.LayoutInflater; | |||
| import android.view.View; | |||
| import android.view.ViewGroup; | |||
| import android.widget.BaseAdapter; | |||
| import android.widget.LinearLayout; | |||
| import android.widget.TextView; | |||
| import com.qhclh.ytzh.R; | |||
| import java.util.List; | |||
| /** | |||
| * Created by 青花瓷 on 2017/6/29. | |||
| */ | |||
| ///< 具体信息 | |||
| public class PoultryReportInfoAdapter extends BaseAdapter { | |||
| private Context context; | |||
| private List<PoultryReportBean> list; | |||
| public PoultryReportInfoAdapter(Context context, List<PoultryReportBean> list) { | |||
| this.context = context; | |||
| this.list = list; | |||
| } | |||
| @Override | |||
| public int getCount() { | |||
| return list.size(); | |||
| } | |||
| @Override | |||
| public Object getItem(int position) { | |||
| return list.get(position); | |||
| } | |||
| @Override | |||
| public long getItemId(int position) { | |||
| return list.get(position).getHouse_ID(); | |||
| } | |||
| @Override | |||
| public View getView(int position, View convertView, ViewGroup parent) { | |||
| ViewHolder holder; | |||
| PoultryReportBean message = list.get(position); | |||
| if (convertView == null) { | |||
| holder = new ViewHolder(); | |||
| convertView = LayoutInflater.from(context).inflate(R.layout.item_lv_poultry_info, null); | |||
| holder.item_zhouling = (TextView) convertView.findViewById(R.id.item_zhouling); | |||
| holder.item_musitao = (TextView) convertView.findViewById(R.id.item_musitao); | |||
| holder.item_gongsitao = (TextView) convertView.findViewById(R.id.item_gongsitao); | |||
| holder.item_muchenghuolv = (TextView) convertView.findViewById(R.id.item_muchenghuolv); | |||
| holder.item_gongchenghuolv = (TextView) convertView.findViewById(R.id.item_gongchenghuolv); | |||
| holder.item_muzhiliaoliang = (TextView) convertView.findViewById(R.id.item_muzhiliaoliang); | |||
| holder.item_mucaishi = (TextView) convertView.findViewById(R.id.item_mucaishi); | |||
| holder.ll_buildhouseinfo = convertView.findViewById(R.id.ll_buildhouseinfo); | |||
| holder.item_dongshe = convertView.findViewById(R.id.item_dongshe); | |||
| convertView.setTag(holder); | |||
| } else { | |||
| holder = (ViewHolder) convertView.getTag(); | |||
| } | |||
| ///< 自己看拼音吧 我也不想看了 | |||
| holder.item_zhouling.setText(message.getWeek()); | |||
| holder.item_musitao.setText(message.getFemaleSiTaoNumber()); | |||
| holder.item_gongsitao.setText(message.getMaleSiTaoNumber()); | |||
| holder.item_muchenghuolv.setText(message.getFemaleSurvivalRate()); | |||
| holder.item_gongchenghuolv.setText(message.getMaleSurvivalRate()); | |||
| holder.item_muzhiliaoliang.setText(message.getFemalePerFeedNumber()); | |||
| holder.item_mucaishi.setText(message.getFemaleEatTime()); | |||
| holder.item_dongshe.setText(message.getHouse_Name()); | |||
| if (position%2==0){ | |||
| holder.ll_buildhouseinfo.setBackgroundColor(context.getResources().getColor(R.color.greyf4f4f4)); | |||
| }else { | |||
| holder.ll_buildhouseinfo.setBackgroundColor(context.getResources().getColor(R.color.white)); | |||
| } | |||
| return convertView; | |||
| } | |||
| private class ViewHolder { | |||
| TextView item_zhouling; | |||
| TextView item_musitao; | |||
| TextView item_gongsitao; | |||
| TextView item_muchenghuolv; | |||
| TextView item_gongchenghuolv; | |||
| TextView item_muzhiliaoliang; | |||
| TextView item_mucaishi; | |||
| TextView item_dongshe; | |||
| LinearLayout ll_buildhouseinfo; | |||
| } | |||
| } | |||
| @ -0,0 +1,151 @@ | |||
| <?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="vertical"> | |||
| <include layout="@layout/include_tool_bar" /> | |||
| <RelativeLayout | |||
| android:layout_width="match_parent" | |||
| android:layout_height="match_parent"> | |||
| <View | |||
| android:layout_width="match_parent" | |||
| android:layout_height="1px" | |||
| android:background="@color/greydbdbdb" /> | |||
| <TextView | |||
| android:id="@+id/tv_name" | |||
| android:layout_width="40dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:background="@color/white" | |||
| android:gravity="center" | |||
| android:paddingBottom="@dimen/dp_10" | |||
| android:paddingTop="@dimen/dp_10" | |||
| android:paddingLeft="@dimen/dp_5" | |||
| android:text="序号" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <com.qhclh.ytzh.ui.NoScrollHorizontalScrollView | |||
| android:id="@+id/sv_title" | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="wrap_content" | |||
| android:layout_toRightOf="@id/tv_name" | |||
| android:background="@color/white" | |||
| android:paddingBottom="@dimen/dp_10" | |||
| android:paddingTop="@dimen/dp_10" | |||
| android:scrollbars="none"> | |||
| <LinearLayout | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="wrap_content" | |||
| android:orientation="horizontal"> | |||
| <TextView | |||
| android:layout_width="120dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="栋舍" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="周龄" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母死淘" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="公死淘" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母成活率" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="公成活率" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母只料量" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| <TextView | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母采食时间" | |||
| android:textColor="@color/grey666666" | |||
| android:textSize="16sp" /> | |||
| </LinearLayout> | |||
| </com.qhclh.ytzh.ui.NoScrollHorizontalScrollView> | |||
| <View | |||
| android:layout_width="match_parent" | |||
| android:layout_height="1px" | |||
| android:layout_below="@id/tv_name" | |||
| android:background="@color/greydbdbdb" /> | |||
| <ListView | |||
| android:id="@+id/lv_buildhousename" | |||
| android:layout_width="40dp" | |||
| android:layout_height="match_parent" | |||
| android:layout_below="@id/tv_name" | |||
| android:paddingLeft="@dimen/dp_5" | |||
| android:scrollbars="none"></ListView> | |||
| <com.qhclh.ytzh.ui.LinkedHorizontalScrollView | |||
| android:id="@+id/sv_report_detail" | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="match_parent" | |||
| android:layout_below="@id/tv_name" | |||
| android:layout_toRightOf="@id/lv_buildhousename" | |||
| android:scrollbars="none"> | |||
| <ListView | |||
| android:id="@+id/lv_report_info" | |||
| android:layout_width="wrap_content" | |||
| android:layout_height="match_parent"></ListView> | |||
| </com.qhclh.ytzh.ui.LinkedHorizontalScrollView> | |||
| </RelativeLayout> | |||
| </LinearLayout> | |||
| @ -0,0 +1,88 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |||
| android:id="@+id/ll_buildhouseinfo" | |||
| android:layout_width="match_parent" | |||
| android:layout_height="match_parent" | |||
| android:orientation="horizontal" | |||
| android:paddingBottom="@dimen/dp_10" | |||
| android:paddingTop="@dimen/dp_10"> | |||
| <TextView | |||
| android:id="@+id/item_dongshe" | |||
| android:layout_width="120dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_zhouling" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_musitao" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母死淘" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_gongsitao" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="公死淘" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_muchenghuolv" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母成活率" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_gongchenghuolv" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="公成活率" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_muzhiliaoliang" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母只料量" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| <TextView | |||
| android:id="@+id/item_mucaishi" | |||
| android:layout_width="80dp" | |||
| android:layout_height="wrap_content" | |||
| android:layout_gravity="center_horizontal" | |||
| android:gravity="center" | |||
| android:text="母采食时间" | |||
| android:textColor="@color/black303030" | |||
| android:textSize="@dimen/text_size_14" /> | |||
| </LinearLayout> | |||