version:4.7
fix: update:页面优化,增加企业客服
This commit is contained in:
@@ -15,8 +15,8 @@ android {
|
|||||||
applicationId "com.uiuios.aios"
|
applicationId "com.uiuios.aios"
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 37
|
versionCode 38
|
||||||
versionName "4.6"
|
versionName "4.7"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
|
|||||||
@@ -188,6 +188,7 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".activity.GoodsActivity"
|
android:name=".activity.GoodsActivity"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
|
android:windowSoftInputMode="adjustPan"
|
||||||
android:screenOrientation="userPortrait" />
|
android:screenOrientation="userPortrait" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".activity.OrderActivity"
|
android:name=".activity.OrderActivity"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.uiuios.aios.activity;
|
package com.uiuios.aios.activity;
|
||||||
|
|
||||||
|
import android.content.Intent;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
@@ -18,12 +19,14 @@ import com.trello.rxlifecycle4.android.FragmentEvent;
|
|||||||
import com.uiuios.aios.R;
|
import com.uiuios.aios.R;
|
||||||
import com.uiuios.aios.adapter.GoodsListAdapter;
|
import com.uiuios.aios.adapter.GoodsListAdapter;
|
||||||
import com.uiuios.aios.base.BaseDataBindingActivity;
|
import com.uiuios.aios.base.BaseDataBindingActivity;
|
||||||
|
import com.uiuios.aios.base.DataBindingActivity;
|
||||||
import com.uiuios.aios.bean.BaseResponse;
|
import com.uiuios.aios.bean.BaseResponse;
|
||||||
import com.uiuios.aios.bean.GoodsInfo;
|
import com.uiuios.aios.bean.GoodsInfo;
|
||||||
import com.uiuios.aios.bean.GoodsList;
|
import com.uiuios.aios.bean.GoodsList;
|
||||||
import com.uiuios.aios.bean.GoodsType;
|
import com.uiuios.aios.bean.GoodsType;
|
||||||
import com.uiuios.aios.databinding.ActivityGoodsBinding;
|
import com.uiuios.aios.databinding.ActivityGoodsBinding;
|
||||||
import com.uiuios.aios.network.NetInterfaceManager;
|
import com.uiuios.aios.network.NetInterfaceManager;
|
||||||
|
import com.zackratos.ultimatebarx.ultimatebarx.java.UltimateBarX;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -34,7 +37,7 @@ import io.reactivex.rxjava3.annotations.NonNull;
|
|||||||
import io.reactivex.rxjava3.core.Observer;
|
import io.reactivex.rxjava3.core.Observer;
|
||||||
import io.reactivex.rxjava3.disposables.Disposable;
|
import io.reactivex.rxjava3.disposables.Disposable;
|
||||||
|
|
||||||
public class GoodsActivity extends BaseDataBindingActivity {
|
public class GoodsActivity extends DataBindingActivity {
|
||||||
private static final String TAG = GoodsActivity.class.getSimpleName();
|
private static final String TAG = GoodsActivity.class.getSimpleName();
|
||||||
|
|
||||||
private ActivityGoodsBinding mBinding;
|
private ActivityGoodsBinding mBinding;
|
||||||
@@ -51,6 +54,10 @@ public class GoodsActivity extends BaseDataBindingActivity {
|
|||||||
public void initView() {
|
public void initView() {
|
||||||
mBinding = DataBindingUtil.setContentView(this, R.layout.activity_goods);
|
mBinding = DataBindingUtil.setContentView(this, R.layout.activity_goods);
|
||||||
mBinding.setListener(new Listener());
|
mBinding.setListener(new Listener());
|
||||||
|
UltimateBarX.statusBarOnly(this)
|
||||||
|
.transparent()
|
||||||
|
.apply();
|
||||||
|
UltimateBarX.addStatusBarTopPadding(mBinding.constraintLayout);
|
||||||
mRecyclerView = mBinding.recyclerView;
|
mRecyclerView = mBinding.recyclerView;
|
||||||
mGoodsAdapter = new GoodsListAdapter();
|
mGoodsAdapter = new GoodsListAdapter();
|
||||||
mRecyclerView.setLayoutManager(new LinearLayoutManager(this));
|
mRecyclerView.setLayoutManager(new LinearLayoutManager(this));
|
||||||
@@ -79,6 +86,12 @@ public class GoodsActivity extends BaseDataBindingActivity {
|
|||||||
Log.e(TAG, "onTabReselected: " + tab.getText());
|
Log.e(TAG, "onTabReselected: " + tab.getText());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
mBinding.tvOrder.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
startActivity(new Intent(GoodsActivity.this, OrderListActivity.class));
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ public class SecondFragment extends BaseFragment implements SecondContact.View,
|
|||||||
cl_service.setOnClickListener(new View.OnClickListener() {
|
cl_service.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
startActivity(new Intent(mContext, OrderListActivity.class));
|
// startActivity(new Intent(mContext, OrderListActivity.class));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 855 B |
BIN
app/src/main/res/drawable-hdpi/enterprise_wechat.png
Normal file
BIN
app/src/main/res/drawable-hdpi/enterprise_wechat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
BIN
app/src/main/res/drawable-hdpi/red_search_icon.png
Normal file
BIN
app/src/main/res/drawable-hdpi/red_search_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -1,6 +1,6 @@
|
|||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="rectangle">
|
||||||
<!-- <solid android:color="#FFFFFF" />-->
|
<solid android:color="#FFFFFF" />
|
||||||
<stroke
|
<stroke
|
||||||
android:width="3px"
|
android:width="3px"
|
||||||
android:color="@color/action_bar_red" />
|
android:color="@color/action_bar_red" />
|
||||||
|
|||||||
@@ -168,549 +168,36 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/background_second_title"
|
android:background="@drawable/background_second_title"
|
||||||
android:text="服务中心"
|
android:text="企业客服"
|
||||||
android:textColor="#8c550e"
|
android:textColor="#8c550e"
|
||||||
android:textSize="@dimen/sp_11"
|
android:textSize="@dimen/sp_11"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/textView29">
|
app:layout_constraintTop_toBottomOf="@+id/textView29">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:scaleType="centerInside"
|
||||||
|
android:layout_margin="@dimen/dp_4"
|
||||||
|
android:src="@drawable/enterprise_wechat"/>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!-- <LinearLayout-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_weight="1">-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg">-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView9"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="秒杀抢购"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_spike_more"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv1"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
||||||
<!-- android:id="@+id/rv_goods"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView9"-->
|
|
||||||
<!-- tools:layout_editor_absoluteX="0dp" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </LinearLayout>-->
|
|
||||||
|
|
||||||
<!-- <LinearLayout-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:orientation="vertical">-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg">-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView13"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="养生资讯"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_info_more"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv2"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
||||||
<!-- android:id="@+id/rv_article"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView13" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl2"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView13">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv_aimg"-->
|
|
||||||
<!-- android:layout_width="224dp"-->
|
|
||||||
<!-- android:layout_height="126dp"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_title"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_8"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="sadas"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_aimg"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/iv_aimg" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_content"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
|
||||||
<!-- android:text=""-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/iv_aimg"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_title"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_readnow"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_12"-->
|
|
||||||
<!-- android:text="阅读全文"-->
|
|
||||||
<!-- android:textSize="22sp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_activity"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg"-->
|
|
||||||
<!-- android:visibility="gone">-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/textView18" />-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv3"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- android:visibility="visible"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView18"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="附近活动"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
||||||
<!-- android:id="@+id/rv_activity"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView18" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl3"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView18">-->
|
|
||||||
|
|
||||||
<!-- <com.shehuan.niv.NiceImageView-->
|
|
||||||
<!-- android:id="@+id/iv_avatar_a"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_36"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_36"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_16"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_16"-->
|
|
||||||
<!-- android:src="@drawable/default_head"-->
|
|
||||||
<!-- app:is_circle="true"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_title_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="活动名称"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_12"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_avatar_a"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/iv_avatar_a" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tc_joined_num_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="6dp"-->
|
|
||||||
<!-- android:background="@drawable/join_background"-->
|
|
||||||
<!-- android:text="0人参加"-->
|
|
||||||
<!-- android:textColor="@color/white"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/tv_title_a"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/tv_title_a"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/tv_title_a" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_time_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="2dp"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="时间"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_11"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_title_a"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title_a" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_4"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/iv_avatar_a">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/imageView2"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_10"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_10"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerInside"-->
|
|
||||||
<!-- android:src="@drawable/location"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_address_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:gravity="start"-->
|
|
||||||
<!-- android:maxEms="12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="地点"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_10"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/imageView2"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/imageView2"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/imageView2" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <com.shehuan.niv.NiceImageView-->
|
|
||||||
<!-- android:id="@+id/nv_pic"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_100"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_100"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_16"-->
|
|
||||||
<!-- app:corner_radius="@dimen/dp_4"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_comment"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_4"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="@+id/nv_pic">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/imageView3"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_10"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_10"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="fitCenter"-->
|
|
||||||
<!-- android:src="@drawable/shafa"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_comment"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:text="0"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_10"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/imageView3"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/imageView3"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/imageView3" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_like"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_24"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/cl_comment"-->
|
|
||||||
<!-- app:layout_constraintEnd_toStartOf="@+id/cl_comment"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/cl_comment">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv_like"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_10"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_10"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="fitCenter"-->
|
|
||||||
<!-- android:src="@drawable/zan"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_like"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:text="0"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_10"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/iv_like"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_like"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/iv_like" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_demand"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg"-->
|
|
||||||
<!-- android:visibility="gone">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv4"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- android:visibility="visible"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/textView19" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView19"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="服务需求"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl4"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent">-->
|
|
||||||
|
|
||||||
<!-- <com.shehuan.niv.NiceImageView-->
|
|
||||||
<!-- android:id="@+id/iv_avatar_d"-->
|
|
||||||
<!-- android:layout_width="92dp"-->
|
|
||||||
<!-- android:layout_height="92dp"-->
|
|
||||||
<!-- android:src="@drawable/default_head"-->
|
|
||||||
<!-- app:is_circle="true"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_title_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="活动名称"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="22sp"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_avatar_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tc_joined_num_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="6dp"-->
|
|
||||||
<!-- android:background="@drawable/join_background"-->
|
|
||||||
<!-- android:text="0人参加"-->
|
|
||||||
<!-- android:textColor="@color/white"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_goneMarginStart="@dimen/dp_4" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_time_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="2dp"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="时间"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="20sp"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title_d" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_address_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="2dp"-->
|
|
||||||
<!-- android:gravity="start"-->
|
|
||||||
<!-- android:maxEms="12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="地点"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="20sp"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_time_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_time_d" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </LinearLayout>-->
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|||||||
@@ -167,550 +167,34 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/background_second_title"
|
android:background="@drawable/background_second_title"
|
||||||
android:text="服务中心"
|
android:text="企业客服"
|
||||||
android:textColor="#8c550e"
|
android:textColor="#8c550e"
|
||||||
android:textSize="@dimen/sp_11"
|
android:textSize="@dimen/sp_11"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/textView29">
|
app:layout_constraintTop_toBottomOf="@+id/textView29">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:scaleType="centerInside"
|
||||||
|
android:layout_margin="@dimen/dp_4"
|
||||||
|
android:src="@drawable/enterprise_wechat"/>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!-- <LinearLayout-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_weight="1">-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg">-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView9"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="秒杀抢购"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_spike_more"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv1"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
||||||
<!-- android:id="@+id/rv_goods"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView9"-->
|
|
||||||
<!-- tools:layout_editor_absoluteX="0dp" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </LinearLayout>-->
|
|
||||||
|
|
||||||
<!-- <LinearLayout-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:orientation="vertical">-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg">-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView13"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="养生资讯"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_info_more"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv2"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
||||||
<!-- android:id="@+id/rv_article"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView13" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl2"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView13">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv_aimg"-->
|
|
||||||
<!-- android:layout_width="224dp"-->
|
|
||||||
<!-- android:layout_height="126dp"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_title"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_8"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="sadas"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_aimg"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/iv_aimg" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_content"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_8"-->
|
|
||||||
<!-- android:text=""-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/iv_aimg"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_title"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_readnow"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_12"-->
|
|
||||||
<!-- android:text="阅读全文"-->
|
|
||||||
<!-- android:textSize="22sp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_activity"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg"-->
|
|
||||||
<!-- android:visibility="gone">-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/textView18" />-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv3"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- android:visibility="visible"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView18"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="附近活动"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
||||||
<!-- android:id="@+id/rv_activity"-->
|
|
||||||
<!-- android:layout_width="match_parent"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView18" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl3"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="0dp"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/textView18">-->
|
|
||||||
|
|
||||||
<!-- <com.shehuan.niv.NiceImageView-->
|
|
||||||
<!-- android:id="@+id/iv_avatar_a"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_36"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_36"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_16"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_16"-->
|
|
||||||
<!-- android:src="@drawable/default_head"-->
|
|
||||||
<!-- app:is_circle="true"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_title_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="活动名称"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_12"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_avatar_a"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/iv_avatar_a" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tc_joined_num_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="6dp"-->
|
|
||||||
<!-- android:background="@drawable/join_background"-->
|
|
||||||
<!-- android:text="0人参加"-->
|
|
||||||
<!-- android:textColor="@color/white"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/tv_title_a"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/tv_title_a"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/tv_title_a" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_time_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="2dp"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="时间"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_11"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_title_a"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title_a" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_4"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/iv_avatar_a">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/imageView2"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_10"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_10"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerInside"-->
|
|
||||||
<!-- android:src="@drawable/location"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_address_a"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:gravity="start"-->
|
|
||||||
<!-- android:maxEms="12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="地点"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_10"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/imageView2"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/imageView2"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/imageView2" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <com.shehuan.niv.NiceImageView-->
|
|
||||||
<!-- android:id="@+id/nv_pic"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_100"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_100"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_16"-->
|
|
||||||
<!-- app:corner_radius="@dimen/dp_4"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_comment"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_4"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="@+id/nv_pic">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/imageView3"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_10"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_10"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="fitCenter"-->
|
|
||||||
<!-- android:src="@drawable/shafa"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_comment"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:text="0"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_10"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/imageView3"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/imageView3"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/imageView3" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_like"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_24"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/cl_comment"-->
|
|
||||||
<!-- app:layout_constraintEnd_toStartOf="@+id/cl_comment"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/cl_comment">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv_like"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_10"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_10"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="fitCenter"-->
|
|
||||||
<!-- android:src="@drawable/zan"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_like"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:text="0"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_10"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/iv_like"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_like"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/iv_like" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl_demand"-->
|
|
||||||
<!-- android:layout_width="0dp"-->
|
|
||||||
<!-- android:layout_height="match_parent"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_4"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_marginBottom="@dimen/dp_8"-->
|
|
||||||
<!-- android:layout_weight="1"-->
|
|
||||||
<!-- android:background="@drawable/custom_bg"-->
|
|
||||||
<!-- android:visibility="gone">-->
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/iv4"-->
|
|
||||||
<!-- android:layout_width="@dimen/dp_64"-->
|
|
||||||
<!-- android:layout_height="@dimen/dp_64"-->
|
|
||||||
<!-- android:adjustViewBounds="true"-->
|
|
||||||
<!-- android:scaleType="centerCrop"-->
|
|
||||||
<!-- android:src="@drawable/nodata"-->
|
|
||||||
<!-- android:visibility="visible"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginEnd="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="查看更多"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/textView19" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/textView19"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:layout_marginTop="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="服务需求"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="@dimen/sp_15"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
||||||
<!-- android:id="@+id/cl4"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:visibility="gone"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent">-->
|
|
||||||
|
|
||||||
<!-- <com.shehuan.niv.NiceImageView-->
|
|
||||||
<!-- android:id="@+id/iv_avatar_d"-->
|
|
||||||
<!-- android:layout_width="92dp"-->
|
|
||||||
<!-- android:layout_height="92dp"-->
|
|
||||||
<!-- android:src="@drawable/default_head"-->
|
|
||||||
<!-- app:is_circle="true"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_title_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="@dimen/dp_12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="活动名称"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="22sp"-->
|
|
||||||
<!-- android:textStyle="bold"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/iv_avatar_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tc_joined_num_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginStart="6dp"-->
|
|
||||||
<!-- android:background="@drawable/join_background"-->
|
|
||||||
<!-- android:text="0人参加"-->
|
|
||||||
<!-- android:textColor="@color/white"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_goneMarginStart="@dimen/dp_4" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_time_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="2dp"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="时间"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="20sp"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_title_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title_d" />-->
|
|
||||||
|
|
||||||
<!-- <TextView-->
|
|
||||||
<!-- android:id="@+id/tv_address_d"-->
|
|
||||||
<!-- android:layout_width="wrap_content"-->
|
|
||||||
<!-- android:layout_height="wrap_content"-->
|
|
||||||
<!-- android:layout_marginTop="2dp"-->
|
|
||||||
<!-- android:gravity="start"-->
|
|
||||||
<!-- android:maxEms="12"-->
|
|
||||||
<!-- android:maxLines="1"-->
|
|
||||||
<!-- android:text="地点"-->
|
|
||||||
<!-- android:textColor="@color/black"-->
|
|
||||||
<!-- android:textSize="20sp"-->
|
|
||||||
<!-- app:layout_constraintStart_toStartOf="@+id/tv_time_d"-->
|
|
||||||
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_time_d" />-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
||||||
<!-- </LinearLayout>-->
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
@@ -137,6 +137,15 @@
|
|||||||
app:layout_constraintEnd_toStartOf="@+id/tv_buying"
|
app:layout_constraintEnd_toStartOf="@+id/tv_buying"
|
||||||
app:layout_constraintTop_toTopOf="@+id/progressBar" />
|
app:layout_constraintTop_toTopOf="@+id/progressBar" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/dp_1"
|
||||||
|
android:layout_marginStart="@dimen/dp_16"
|
||||||
|
android:layout_marginEnd="@dimen/dp_16"
|
||||||
|
android:background="@color/lightGray"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/iv_img" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
@@ -14,37 +14,40 @@
|
|||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/gray">
|
android:background="@color/white">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/constraintLayout"
|
android:id="@+id/constraintLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/dp_36"
|
android:layout_height="@dimen/dp_36"
|
||||||
|
android:background="@color/action_bar_red"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iv_back"
|
android:id="@+id/iv_back"
|
||||||
android:layout_width="@dimen/dp_20"
|
android:layout_width="@dimen/dp_16"
|
||||||
android:layout_height="@dimen/dp_20"
|
android:layout_height="@dimen/dp_16"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:onClick="@{listener.back}"
|
android:onClick="@{listener.back}"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:src="@drawable/back_black"
|
android:src="@drawable/back_white"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
android:id="@+id/constraintLayout23"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="@dimen/dp_24"
|
android:layout_height="@dimen/dp_24"
|
||||||
android:layout_marginStart="@dimen/dp_8"
|
android:layout_marginStart="@dimen/dp_8"
|
||||||
android:layout_marginEnd="@dimen/dp_16"
|
android:layout_marginEnd="@dimen/dp_8"
|
||||||
android:background="@drawable/search_bg"
|
android:background="@drawable/search_bg"
|
||||||
|
android:paddingStart="@dimen/dp_8"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toStartOf="@+id/tv_order"
|
||||||
app:layout_constraintStart_toEndOf="@+id/iv_back"
|
app:layout_constraintStart_toEndOf="@+id/iv_back"
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
@@ -52,26 +55,40 @@
|
|||||||
android:id="@+id/imageView9"
|
android:id="@+id/imageView9"
|
||||||
android:layout_width="@dimen/dp_16"
|
android:layout_width="@dimen/dp_16"
|
||||||
android:layout_height="@dimen/dp_16"
|
android:layout_height="@dimen/dp_16"
|
||||||
android:layout_marginStart="@dimen/dp_16"
|
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:src="@drawable/search_icon"
|
android:src="@drawable/red_search_icon"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<EditText
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:layout_marginStart="@dimen/dp_8"
|
android:background="@null"
|
||||||
android:text="搜索"
|
android:paddingStart="@dimen/dp_8"
|
||||||
android:textColor="@color/title_gray"
|
android:hint="搜索"
|
||||||
|
android:textColor="@color/black"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/imageView9"
|
app:layout_constraintStart_toEndOf="@+id/imageView9"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tv_order"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="@dimen/dp_8"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:text="订单"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="@dimen/sp_11"
|
||||||
|
app:layout_constraintBottom_toBottomOf="@+id/constraintLayout23"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="@+id/constraintLayout23" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<com.google.android.material.tabs.TabLayout
|
<com.google.android.material.tabs.TabLayout
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
@@ -19,9 +18,9 @@
|
|||||||
android:layout_width="@dimen/dp_108"
|
android:layout_width="@dimen/dp_108"
|
||||||
android:layout_height="@dimen/dp_108"
|
android:layout_height="@dimen/dp_108"
|
||||||
android:layout_margin="@dimen/dp_8"
|
android:layout_margin="@dimen/dp_8"
|
||||||
app:corner_radius="@dimen/dp_4"
|
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
|
app:corner_radius="@dimen/dp_4"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
@@ -53,8 +52,8 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_name"
|
android:id="@+id/tv_name"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_marginStart="@dimen/dp_4"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="@dimen/dp_4"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="@color/black"
|
android:textColor="@color/black"
|
||||||
android:textSize="@dimen/sp_11"
|
android:textSize="@dimen/sp_11"
|
||||||
@@ -103,9 +102,9 @@
|
|||||||
android:id="@+id/tv_buying"
|
android:id="@+id/tv_buying"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="@dimen/dp_4"
|
||||||
android:background="@drawable/buying_bg"
|
android:background="@drawable/buying_bg"
|
||||||
android:text="立即抢购"
|
android:text="立即抢购"
|
||||||
android:layout_marginBottom="@dimen/dp_4"
|
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="@dimen/sp_10"
|
android:textSize="@dimen/sp_10"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
@@ -127,8 +126,8 @@
|
|||||||
android:id="@+id/textView6"
|
android:id="@+id/textView6"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="已抢90%"
|
|
||||||
android:layout_marginEnd="@dimen/dp_8"
|
android:layout_marginEnd="@dimen/dp_8"
|
||||||
|
android:text="已抢90%"
|
||||||
android:textColor="@color/red"
|
android:textColor="@color/red"
|
||||||
android:textSize="@dimen/sp_6"
|
android:textSize="@dimen/sp_6"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/progressBar"
|
app:layout_constraintBottom_toBottomOf="@+id/progressBar"
|
||||||
|
|||||||
Reference in New Issue
Block a user