Browse Source

no message

master
lh 8 years ago
parent
commit
122fad2ba6
3 changed files with 68 additions and 3 deletions
  1. +10
    -0
      app/src/main/java/com/qhclh/ytzh/index/shangpin/InHouseAllFragment.java
  2. +14
    -3
      app/src/main/res/layout/frag_inhouse_all.xml
  3. +44
    -0
      app/src/main/res/layout/item_inhouse.xml

+ 10
- 0
app/src/main/java/com/qhclh/ytzh/index/shangpin/InHouseAllFragment.java View File

@ -1,13 +1,23 @@
package com.qhclh.ytzh.index.shangpin; package com.qhclh.ytzh.index.shangpin;
import android.widget.ListView;
import com.qhclh.ytzh.R; import com.qhclh.ytzh.R;
import com.qhclh.ytzh.base.BaseFragment; import com.qhclh.ytzh.base.BaseFragment;
import com.qhclh.ytzh.ui.RefreshLayout;
import butterknife.BindView;
/** /**
* Created by 青花瓷 on 2017/12/28. * Created by 青花瓷 on 2017/12/28.
*/ */
public class InHouseAllFragment extends BaseFragment { public class InHouseAllFragment extends BaseFragment {
@BindView(R.id.lv_inhouseall)
ListView lv_inhouseall;
@BindView(R.id.rfl_inhouseall)
RefreshLayout rfl_inhouseall;
private int page =0;
@Override @Override
protected int setLayout() { protected int setLayout() {
return R.layout.frag_inhouse_all; return R.layout.frag_inhouse_all;


+ 14
- 3
app/src/main/res/layout/frag_inhouse_all.xml View File

@ -4,9 +4,20 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<TextView
android:text="allllllll"
<com.qhclh.ytzh.ui.RefreshLayout
android:id="@+id/rfl_inhouseall"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent">
<ListView
android:id="@+id/lv_inhouseall"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:scrollbars="none">
</ListView>
</com.qhclh.ytzh.ui.RefreshLayout>
</LinearLayout> </LinearLayout>

+ 44
- 0
app/src/main/res/layout/item_inhouse.xml View File

@ -0,0 +1,44 @@
<?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="wrap_content"
android:background="@color/white"
android:orientation="vertical">
<TextView
android:id="@+id/inhouse_pici"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black303030"
android:textSize="@dimen/text_size_16" />
<TextView
android:id="@+id/inhouse_yangzhichang"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black303030"
android:textSize="@dimen/text_size_16" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/inhouse_riqi"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/grey666666"
android:textSize="@dimen/text_size_14" />
<TextView
android:id="@+id/inhouse_zhangtai"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/grey666666"
android:textSize="@dimen/text_size_14" />
</LinearLayout>
</LinearLayout>

Loading…
Cancel
Save