Browse Source

替换资源

master
lh 7 years ago
parent
commit
b00f1e3cfc
14 changed files with 9 additions and 6 deletions
  1. +3
    -3
      app/src/main/java/com/qhclh/ytzh/index/fumudai/FumudaiAdapter.java
  2. +2
    -2
      app/src/main/java/com/qhclh/ytzh/work/WorkFragment.java
  3. BIN
      app/src/main/res/drawable-xhdpi/chandanqi.png
  4. BIN
      app/src/main/res/drawable-xhdpi/guobangdan.png
  5. BIN
      app/src/main/res/drawable-xhdpi/infos.png
  6. BIN
      app/src/main/res/drawable-xhdpi/jilu.png
  7. BIN
      app/src/main/res/drawable-xhdpi/konglan.png
  8. BIN
      app/src/main/res/drawable-xhdpi/ribao.png
  9. BIN
      app/src/main/res/drawable-xhdpi/ribaobiao.png
  10. BIN
      app/src/main/res/drawable-xhdpi/saoyisao.png
  11. BIN
      app/src/main/res/drawable-xhdpi/shanp.png
  12. BIN
      app/src/main/res/drawable-xhdpi/youchengqi.png
  13. BIN
      app/src/main/res/drawable-xhdpi/zhoubao.png
  14. +4
    -1
      app/src/main/res/layout/act_weightinfos.xml

+ 3
- 3
app/src/main/java/com/qhclh/ytzh/index/fumudai/FumudaiAdapter.java View File

@ -37,13 +37,13 @@ public class FumudaiAdapter extends RecyclerView.Adapter<FumudaiAdapter.MyViewHo
FumudaiBean fumudaiBean = mList.get(position);
MyViewHolder myViewHolder = holder;
if (fumudaiBean.getId()==0) {
myViewHolder.getItem_fumudai_iv().setImageResource(R.mipmap.ic_launcher_round);
myViewHolder.getItem_fumudai_iv().setImageResource(R.drawable.konglan);
myViewHolder.getItem_fumudai_tv().setText("空栏: "+fumudaiBean.getNumber());
}else if (fumudaiBean.getId() == 1){
myViewHolder.getItem_fumudai_iv().setImageResource(R.mipmap.ic_launcher_round);
myViewHolder.getItem_fumudai_iv().setImageResource(R.drawable.youchengqi);
myViewHolder.getItem_fumudai_tv().setText("育雏育成期: "+fumudaiBean.getNumber());
}else if (fumudaiBean.getId() == 2){
myViewHolder.getItem_fumudai_iv().setImageResource(R.mipmap.ic_launcher_round);
myViewHolder.getItem_fumudai_iv().setImageResource(R.drawable.chandanqi);
myViewHolder.getItem_fumudai_tv().setText("产蛋期: "+fumudaiBean.getNumber());
}
}


+ 2
- 2
app/src/main/java/com/qhclh/ytzh/work/WorkFragment.java View File

@ -187,7 +187,7 @@ public class WorkFragment extends BaseFragment {
}
if (MainActivity.workList.contains("010")) {
///< 过磅单录入
workBeanList.add(new WorkBean(R.drawable.jilu, getString(R.string.guobandanluru), 10));
workBeanList.add(new WorkBean(R.drawable.guobangdan, getString(R.string.guobandanluru), 10));
}
@ -262,7 +262,7 @@ public class WorkFragment extends BaseFragment {
}
if (event.getWorkList().contains("010")) {
///< 过磅单录入
workBeanList.add(new WorkBean(R.drawable.jilu, getString(R.string.guobandanluru), 10));
workBeanList.add(new WorkBean(R.drawable.guobangdan, getString(R.string.guobandanluru), 10));
}
if (event.getWorkList().contains("007")) {
work_iv.setVisibility(View.VISIBLE);


BIN
app/src/main/res/drawable-xhdpi/chandanqi.png View File

Before After
Width: 120  |  Height: 120  |  Size: 4.7 KiB

BIN
app/src/main/res/drawable-xhdpi/guobangdan.png View File

Before After
Width: 100  |  Height: 100  |  Size: 2.5 KiB

BIN
app/src/main/res/drawable-xhdpi/infos.png View File

Before After
Width: 62  |  Height: 58  |  Size: 2.5 KiB Width: 42  |  Height: 39  |  Size: 1.9 KiB

BIN
app/src/main/res/drawable-xhdpi/jilu.png View File

Before After
Width: 150  |  Height: 150  |  Size: 3.5 KiB Width: 100  |  Height: 100  |  Size: 2.7 KiB

BIN
app/src/main/res/drawable-xhdpi/konglan.png View File

Before After
Width: 120  |  Height: 120  |  Size: 4.0 KiB

BIN
app/src/main/res/drawable-xhdpi/ribao.png View File

Before After
Width: 150  |  Height: 150  |  Size: 3.0 KiB Width: 100  |  Height: 100  |  Size: 2.2 KiB

BIN
app/src/main/res/drawable-xhdpi/ribaobiao.png View File

Before After
Width: 150  |  Height: 150  |  Size: 3.8 KiB Width: 100  |  Height: 100  |  Size: 2.7 KiB

BIN
app/src/main/res/drawable-xhdpi/saoyisao.png View File

Before After
Width: 150  |  Height: 150  |  Size: 2.5 KiB Width: 100  |  Height: 100  |  Size: 2.0 KiB

BIN
app/src/main/res/drawable-xhdpi/shanp.png View File

Before After
Width: 150  |  Height: 150  |  Size: 3.7 KiB Width: 100  |  Height: 100  |  Size: 2.7 KiB

BIN
app/src/main/res/drawable-xhdpi/youchengqi.png View File

Before After
Width: 120  |  Height: 120  |  Size: 4.4 KiB

BIN
app/src/main/res/drawable-xhdpi/zhoubao.png View File

Before After
Width: 150  |  Height: 150  |  Size: 3.2 KiB Width: 100  |  Height: 100  |  Size: 2.4 KiB

+ 4
- 1
app/src/main/res/layout/act_weightinfos.xml View File

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:orientation="vertical"
android:background="@color/greyf4f4f4"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/include_tool_bar"/>
</LinearLayout>

Loading…
Cancel
Save