d
@@ -66,9 +66,6 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name="com.fenghoo.seven.main.activity.mine.InboundHistoryActivity"
|
android:name="com.fenghoo.seven.main.activity.mine.InboundHistoryActivity"
|
||||||
android:screenOrientation="portrait" />
|
android:screenOrientation="portrait" />
|
||||||
<activity
|
|
||||||
android:name="com.fenghoo.seven.main.activity.mine.OutboundHistoryActivity"
|
|
||||||
android:screenOrientation="portrait" />
|
|
||||||
<activity
|
<activity
|
||||||
android:name="com.fenghoo.seven.main.kehu.activity.AllocationActivity"
|
android:name="com.fenghoo.seven.main.kehu.activity.AllocationActivity"
|
||||||
android:screenOrientation="portrait" />
|
android:screenOrientation="portrait" />
|
||||||
|
|||||||
@@ -1,80 +0,0 @@
|
|||||||
package com.fenghoo.seven.main.activity.mine;
|
|
||||||
|
|
||||||
import android.os.Bundle;
|
|
||||||
import android.view.View;
|
|
||||||
import android.widget.ImageView;
|
|
||||||
import android.widget.TextView;
|
|
||||||
|
|
||||||
import com.chad.library.adapter.base.BaseQuickAdapter;
|
|
||||||
import com.fenghoo.seven.R;
|
|
||||||
import com.fenghoo.seven.base.BaseActivity;
|
|
||||||
import com.fenghoo.seven.main.adapter.mine.OutboundHistoryAdapter;
|
|
||||||
import com.fenghoo.seven.main.entity.mine.OutboundHistoryResBean;
|
|
||||||
import com.fenghoo.seven.utils.SpaceItemDecoration;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
|
||||||
|
|
||||||
public class OutboundHistoryActivity extends BaseActivity {
|
|
||||||
|
|
||||||
private ImageView mIvBack;
|
|
||||||
private TextView mTvTitle;
|
|
||||||
private ImageView mIvSearch;
|
|
||||||
private RecyclerView mRcyOutboundHistory;
|
|
||||||
private List<OutboundHistoryResBean> outboundHistoryList = new ArrayList<>();
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
|
||||||
super.onCreate(savedInstanceState);
|
|
||||||
setContentView(R.layout.activity_mine_outbound_history);
|
|
||||||
initView();
|
|
||||||
initData();
|
|
||||||
initRecyleview();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initView() {
|
|
||||||
mIvBack = (ImageView) findViewById(R.id.iv_back);
|
|
||||||
mTvTitle = (TextView) findViewById(R.id.tv_title);
|
|
||||||
mIvSearch = (ImageView)findViewById(R.id.iv_search);
|
|
||||||
mRcyOutboundHistory = (RecyclerView) findViewById(R.id.rcy_outbound_history);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initData(){
|
|
||||||
mIvBack.setVisibility(View.VISIBLE);
|
|
||||||
mTvTitle.setVisibility(View.VISIBLE);
|
|
||||||
mTvTitle.setText(R.string.outbound_history);
|
|
||||||
mIvSearch.setVisibility(View.VISIBLE);
|
|
||||||
//
|
|
||||||
OutboundHistoryResBean messageNoticeResBean = new OutboundHistoryResBean();
|
|
||||||
OutboundHistoryResBean messageNoticeResBean1 = new OutboundHistoryResBean();
|
|
||||||
OutboundHistoryResBean messageNoticeResBean2 = new OutboundHistoryResBean();
|
|
||||||
OutboundHistoryResBean messageNoticeResBean3 = new OutboundHistoryResBean();
|
|
||||||
OutboundHistoryResBean messageNoticeResBean4 = new OutboundHistoryResBean();
|
|
||||||
outboundHistoryList.add(messageNoticeResBean);
|
|
||||||
outboundHistoryList.add(messageNoticeResBean1);
|
|
||||||
outboundHistoryList.add(messageNoticeResBean2);
|
|
||||||
outboundHistoryList.add(messageNoticeResBean3);
|
|
||||||
outboundHistoryList.add(messageNoticeResBean4);
|
|
||||||
|
|
||||||
}
|
|
||||||
private void initRecyleview(){
|
|
||||||
OutboundHistoryAdapter messageNoticeAdapter = new OutboundHistoryAdapter(this,outboundHistoryList);
|
|
||||||
LinearLayoutManager manager = new LinearLayoutManager(this);
|
|
||||||
mRcyOutboundHistory.addItemDecoration(new SpaceItemDecoration(0, 20));
|
|
||||||
mRcyOutboundHistory.setLayoutManager(manager);
|
|
||||||
mRcyOutboundHistory.setAdapter(messageNoticeAdapter);
|
|
||||||
messageNoticeAdapter.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onItemClick(BaseQuickAdapter adapter, View view, int position) {
|
|
||||||
// mBean = messgeList.get(position);
|
|
||||||
// MineMessagePresenterImpl.OneReadMessgae(messgeList.get(position).getId());
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
package com.fenghoo.seven.main.adapter.mine;
|
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
|
|
||||||
import com.chad.library.adapter.base.BaseQuickAdapter;
|
|
||||||
import com.chad.library.adapter.base.BaseViewHolder;
|
|
||||||
import com.fenghoo.seven.R;
|
|
||||||
import com.fenghoo.seven.main.entity.mine.OutboundHistoryResBean;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public class OutboundHistoryAdapter extends BaseQuickAdapter<OutboundHistoryResBean,BaseViewHolder> {
|
|
||||||
|
|
||||||
private Context context;
|
|
||||||
private List<OutboundHistoryResBean> list;
|
|
||||||
|
|
||||||
public OutboundHistoryAdapter(Context context, List list) {
|
|
||||||
super(R.layout.mine_outbound_history_item, list);
|
|
||||||
this.context = context;
|
|
||||||
this.list = list;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void convert(BaseViewHolder helper, OutboundHistoryResBean item) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
package com.fenghoo.seven.main.find.adapter;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
import android.view.View;
|
||||||
|
import android.widget.RelativeLayout;
|
||||||
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
import com.chad.library.adapter.base.BaseQuickAdapter;
|
||||||
|
import com.chad.library.adapter.base.BaseViewHolder;
|
||||||
|
import com.fenghoo.seven.R;
|
||||||
|
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
||||||
|
import com.fenghoo.seven.utils.WidgetTools;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
public class CommentAdapter extends BaseQuickAdapter<CustomerListBean.ResultBean.DataBean, BaseViewHolder> {
|
||||||
|
Context mcontext;
|
||||||
|
OnViewClickListener onViewClickListener;
|
||||||
|
|
||||||
|
public CommentAdapter(Context context, List list) {
|
||||||
|
super(R.layout.comment_item, list);
|
||||||
|
this.mcontext = context;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void convert(final BaseViewHolder helper, final CustomerListBean.ResultBean.DataBean item) {
|
||||||
|
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_name), "", item.getName());
|
||||||
|
|
||||||
|
TextView tv_cuslist_caozuo = (TextView)helper.getView(R.id.tv_cuslist_caozuo);
|
||||||
|
tv_cuslist_caozuo.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View view) {
|
||||||
|
onViewClickListener.reply(item);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
RelativeLayout yichengjhiao_rv = (RelativeLayout)helper.getView(R.id.yichengjhiao_rv);
|
||||||
|
yichengjhiao_rv.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View view) {
|
||||||
|
onViewClickListener.enterCusDetail(item);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void operationListenner(OnViewClickListener onViewClickListener){
|
||||||
|
this.onViewClickListener = onViewClickListener;
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface OnViewClickListener{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 回复
|
||||||
|
* @param item
|
||||||
|
*/
|
||||||
|
void reply(CustomerListBean.ResultBean.DataBean item);
|
||||||
|
|
||||||
|
|
||||||
|
void enterCusDetail(CustomerListBean.ResultBean.DataBean item);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -19,20 +19,18 @@ public class FindListAdapter extends BaseQuickAdapter<CustomerListBean.ResultBea
|
|||||||
OnViewClickListener onViewClickListener;
|
OnViewClickListener onViewClickListener;
|
||||||
|
|
||||||
public FindListAdapter(Context context, List list) {
|
public FindListAdapter(Context context, List list) {
|
||||||
super(R.layout.cuslist_item, list);
|
super(R.layout.findlist_item, list);
|
||||||
this.mcontext = context;
|
this.mcontext = context;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void convert(final BaseViewHolder helper, final CustomerListBean.ResultBean.DataBean item) {
|
protected void convert(final BaseViewHolder helper, final CustomerListBean.ResultBean.DataBean item) {
|
||||||
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_name), "", item.getName());
|
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_name), "", item.getName());
|
||||||
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_phone), "", item.getPhone());
|
RelativeLayout tv_cuslist_caozuo = (RelativeLayout)helper.getView(R.id.tv_cuslist_caozuo);
|
||||||
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_watch), "", item.getWechat());
|
|
||||||
TextView tv_cuslist_caozuo = (TextView)helper.getView(R.id.tv_cuslist_caozuo);
|
|
||||||
tv_cuslist_caozuo.setOnClickListener(new View.OnClickListener() {
|
tv_cuslist_caozuo.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
onViewClickListener.operation(item);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
RelativeLayout yichengjhiao_rv = (RelativeLayout)helper.getView(R.id.yichengjhiao_rv);
|
RelativeLayout yichengjhiao_rv = (RelativeLayout)helper.getView(R.id.yichengjhiao_rv);
|
||||||
@@ -51,7 +49,7 @@ public class FindListAdapter extends BaseQuickAdapter<CustomerListBean.ResultBea
|
|||||||
|
|
||||||
public interface OnViewClickListener{
|
public interface OnViewClickListener{
|
||||||
|
|
||||||
void operation(CustomerListBean.ResultBean.DataBean item);
|
|
||||||
|
|
||||||
|
|
||||||
void enterCusDetail(CustomerListBean.ResultBean.DataBean item);
|
void enterCusDetail(CustomerListBean.ResultBean.DataBean item);
|
||||||
|
|||||||
@@ -9,7 +9,9 @@ import com.chad.library.adapter.base.BaseQuickAdapter;
|
|||||||
import com.chad.library.adapter.base.BaseViewHolder;
|
import com.chad.library.adapter.base.BaseViewHolder;
|
||||||
import com.fenghoo.seven.R;
|
import com.fenghoo.seven.R;
|
||||||
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
||||||
|
import com.fenghoo.seven.utils.GlideTools;
|
||||||
import com.fenghoo.seven.utils.WidgetTools;
|
import com.fenghoo.seven.utils.WidgetTools;
|
||||||
|
import com.fenghoo.seven.widget.CircleImageView;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -25,16 +27,11 @@ public class PrivateletAdapter extends BaseQuickAdapter<CustomerListBean.ResultB
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void convert(final BaseViewHolder helper, final CustomerListBean.ResultBean.DataBean item) {
|
protected void convert(final BaseViewHolder helper, final CustomerListBean.ResultBean.DataBean item) {
|
||||||
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_name), "", item.getName());
|
WidgetTools.setTextfive((TextView) helper.getView(R.id.private_tv_name), "", item.getName());
|
||||||
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_phone), "", item.getPhone());
|
WidgetTools.setTextfive((TextView) helper.getView(R.id.private_tv_content), "", item.getPhone());
|
||||||
WidgetTools.setTextfive((TextView) helper.getView(R.id.tv_dea_watch), "", item.getWechat());
|
WidgetTools.setTextfive((TextView) helper.getView(R.id.private_tv_time), "", item.getWechat());
|
||||||
TextView tv_cuslist_caozuo = (TextView)helper.getView(R.id.tv_cuslist_caozuo);
|
CircleImageView private_iv_dea_avatar = helper.getView(R.id.private_iv_dea_avatar);
|
||||||
tv_cuslist_caozuo.setOnClickListener(new View.OnClickListener() {
|
GlideTools.init(mContext).displaypic(private_iv_dea_avatar, "", R.mipmap.icon_default_head);
|
||||||
@Override
|
|
||||||
public void onClick(View view) {
|
|
||||||
onViewClickListener.operation(item);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
RelativeLayout yichengjhiao_rv = (RelativeLayout)helper.getView(R.id.yichengjhiao_rv);
|
RelativeLayout yichengjhiao_rv = (RelativeLayout)helper.getView(R.id.yichengjhiao_rv);
|
||||||
yichengjhiao_rv.setOnClickListener(new View.OnClickListener() {
|
yichengjhiao_rv.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
@@ -42,7 +39,6 @@ public class PrivateletAdapter extends BaseQuickAdapter<CustomerListBean.ResultB
|
|||||||
onViewClickListener.enterCusDetail(item);
|
onViewClickListener.enterCusDetail(item);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void operationListenner(OnViewClickListener onViewClickListener){
|
public void operationListenner(OnViewClickListener onViewClickListener){
|
||||||
@@ -50,12 +46,7 @@ public class PrivateletAdapter extends BaseQuickAdapter<CustomerListBean.ResultB
|
|||||||
}
|
}
|
||||||
|
|
||||||
public interface OnViewClickListener{
|
public interface OnViewClickListener{
|
||||||
|
|
||||||
void operation(CustomerListBean.ResultBean.DataBean item);
|
|
||||||
|
|
||||||
|
|
||||||
void enterCusDetail(CustomerListBean.ResultBean.DataBean item);
|
void enterCusDetail(CustomerListBean.ResultBean.DataBean item);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,10 @@ import android.widget.Toast;
|
|||||||
import com.fenghoo.seven.JsonUtils;
|
import com.fenghoo.seven.JsonUtils;
|
||||||
import com.fenghoo.seven.R;
|
import com.fenghoo.seven.R;
|
||||||
import com.fenghoo.seven.dialog.BaseTipsDialog;
|
import com.fenghoo.seven.dialog.BaseTipsDialog;
|
||||||
|
import com.fenghoo.seven.main.find.adapter.CommentAdapter;
|
||||||
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
||||||
import com.fenghoo.seven.main.kehu.Dialog.CusOperationDialog;
|
import com.fenghoo.seven.main.kehu.Dialog.CusOperationDialog;
|
||||||
|
import com.fenghoo.seven.main.kehu.Dialog.RreplyDialog;
|
||||||
import com.fenghoo.seven.main.kehu.MobanFragment;
|
import com.fenghoo.seven.main.kehu.MobanFragment;
|
||||||
import com.fenghoo.seven.main.kehu.activity.ShowAty;
|
import com.fenghoo.seven.main.kehu.activity.ShowAty;
|
||||||
import com.fenghoo.seven.main.kehu.adapter.CusListAdapter;
|
import com.fenghoo.seven.main.kehu.adapter.CusListAdapter;
|
||||||
@@ -25,41 +27,19 @@ public class CommentFragment extends MobanFragment {
|
|||||||
|
|
||||||
public CommentFragment() {
|
public CommentFragment() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initAdapter() {
|
public void initAdapter() {
|
||||||
mMarkingFragmentRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
mMarkingFragmentRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
||||||
CusListAdapter markingtwoAdapter = new CusListAdapter(mContext, null);
|
CommentAdapter markingtwoAdapter = new CommentAdapter(mContext, null);
|
||||||
getAdpter(markingtwoAdapter);
|
getAdpter(markingtwoAdapter);
|
||||||
mMarkingFragmentRecyclerView.setAdapter(markingtwoAdapter);
|
mMarkingFragmentRecyclerView.setAdapter(markingtwoAdapter);
|
||||||
markingtwoAdapter.operationListenner(new CusListAdapter.OnViewClickListener() {
|
markingtwoAdapter.operationListenner(new CommentAdapter.OnViewClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void operation(final CustomerListBean.ResultBean.DataBean item) {
|
public void reply(CustomerListBean.ResultBean.DataBean item) {
|
||||||
new CusOperationDialog(getActivity(), R.style.dialog, new CusOperationDialog.OnCloseListener() {
|
new RreplyDialog(getActivity(), R.style.dialog, new RreplyDialog.OnCloseListener() {
|
||||||
@Override
|
//回复
|
||||||
public void phoneClick() {//拨打电话
|
|
||||||
if (item.getPhone() != null) {
|
|
||||||
call(item.getPhone());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void kaidanonClick() {//删除客户
|
|
||||||
new BaseTipsDialog().showDownloadDialog(getActivity(), "确认删除该客户吗?", "确定", new BaseTipsDialog.ClickListener() {
|
|
||||||
@Override
|
|
||||||
public void confirm() {
|
|
||||||
Toast.makeText(getActivity(), "还没调接口", Toast.LENGTH_SHORT).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void cancle() {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//信息完善
|
|
||||||
@Override
|
@Override
|
||||||
public void uploadAvatar() {
|
public void uploadAvatar() {
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
package com.fenghoo.seven.main.find.ui;
|
package com.fenghoo.seven.main.find.ui;
|
||||||
|
|
||||||
import android.widget.Toast;
|
|
||||||
|
|
||||||
import com.fenghoo.seven.JsonUtils;
|
import com.fenghoo.seven.JsonUtils;
|
||||||
import com.fenghoo.seven.R;
|
import com.fenghoo.seven.main.find.adapter.PrivateletAdapter;
|
||||||
import com.fenghoo.seven.dialog.BaseTipsDialog;
|
|
||||||
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
||||||
import com.fenghoo.seven.main.kehu.Dialog.CusOperationDialog;
|
|
||||||
import com.fenghoo.seven.main.kehu.MobanFragment;
|
import com.fenghoo.seven.main.kehu.MobanFragment;
|
||||||
import com.fenghoo.seven.main.kehu.activity.ShowAty;
|
import com.fenghoo.seven.main.kehu.activity.ShowAty;
|
||||||
import com.fenghoo.seven.main.kehu.adapter.CusListAdapter;
|
|
||||||
import com.fenghoo.seven.okgonet.NetApi;
|
import com.fenghoo.seven.okgonet.NetApi;
|
||||||
import com.fenghoo.seven.okgonet.Observer;
|
import com.fenghoo.seven.okgonet.Observer;
|
||||||
import com.fenghoo.seven.utils.checkVersionsUtils.ProfileSpUtils;
|
import com.fenghoo.seven.utils.checkVersionsUtils.ProfileSpUtils;
|
||||||
@@ -33,48 +28,13 @@ public class FindFragmenttwo extends MobanFragment {
|
|||||||
@Override
|
@Override
|
||||||
public void initAdapter() {
|
public void initAdapter() {
|
||||||
mMarkingFragmentRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
mMarkingFragmentRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
||||||
CusListAdapter markingtwoAdapter = new CusListAdapter(mContext, null);
|
PrivateletAdapter privateletAdapter = new PrivateletAdapter(mContext, null);
|
||||||
getAdpter(markingtwoAdapter);
|
getAdpter(privateletAdapter);
|
||||||
mMarkingFragmentRecyclerView.setAdapter(markingtwoAdapter);
|
mMarkingFragmentRecyclerView.setAdapter(privateletAdapter);
|
||||||
markingtwoAdapter.operationListenner(new CusListAdapter.OnViewClickListener() {
|
privateletAdapter.operationListenner(new PrivateletAdapter.OnViewClickListener() {
|
||||||
@Override
|
|
||||||
public void operation(final CustomerListBean.ResultBean.DataBean item) {
|
|
||||||
new CusOperationDialog(getActivity(), R.style.dialog, new CusOperationDialog.OnCloseListener() {
|
|
||||||
@Override
|
|
||||||
public void phoneClick() {//拨打电话
|
|
||||||
if (item.getPhone() != null) {
|
|
||||||
call(item.getPhone());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void kaidanonClick() {//删除客户
|
|
||||||
new BaseTipsDialog().showDownloadDialog(getActivity(), "确认删除该客户吗?", "确定", new BaseTipsDialog.ClickListener() {
|
|
||||||
@Override
|
|
||||||
public void confirm() {
|
|
||||||
Toast.makeText(getActivity(), "还没调接口", Toast.LENGTH_SHORT).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void cancle() {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//信息完善
|
|
||||||
@Override
|
|
||||||
public void uploadAvatar() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void enterCusDetail(CustomerListBean.ResultBean.DataBean item) {
|
public void enterCusDetail(CustomerListBean.ResultBean.DataBean item) {
|
||||||
|
//进入会话页
|
||||||
//进入回话页
|
|
||||||
ShowAty.ConversationActivity(getActivity());
|
ShowAty.ConversationActivity(getActivity());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import android.widget.Toast;
|
|||||||
import com.fenghoo.seven.JsonUtils;
|
import com.fenghoo.seven.JsonUtils;
|
||||||
import com.fenghoo.seven.R;
|
import com.fenghoo.seven.R;
|
||||||
import com.fenghoo.seven.dialog.BaseTipsDialog;
|
import com.fenghoo.seven.dialog.BaseTipsDialog;
|
||||||
|
import com.fenghoo.seven.main.find.adapter.FindListAdapter;
|
||||||
import com.fenghoo.seven.main.find.adapter.PrivateletAdapter;
|
import com.fenghoo.seven.main.find.adapter.PrivateletAdapter;
|
||||||
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
import com.fenghoo.seven.main.kehu.Bean.CustomerListBean;
|
||||||
import com.fenghoo.seven.main.kehu.Dialog.CusOperationDialog;
|
import com.fenghoo.seven.main.kehu.Dialog.CusOperationDialog;
|
||||||
@@ -32,44 +33,10 @@ public class PrivateletterFragment extends MobanFragment {
|
|||||||
@Override
|
@Override
|
||||||
public void initAdapter() {
|
public void initAdapter() {
|
||||||
mMarkingFragmentRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
mMarkingFragmentRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
|
||||||
PrivateletAdapter markingtwoAdapter = new PrivateletAdapter(mContext, null);
|
FindListAdapter markingtwoAdapter = new FindListAdapter(mContext, null);
|
||||||
getAdpter(markingtwoAdapter);
|
getAdpter(markingtwoAdapter);
|
||||||
mMarkingFragmentRecyclerView.setAdapter(markingtwoAdapter);
|
mMarkingFragmentRecyclerView.setAdapter(markingtwoAdapter);
|
||||||
markingtwoAdapter.operationListenner(new PrivateletAdapter.OnViewClickListener() {
|
markingtwoAdapter.operationListenner(new FindListAdapter.OnViewClickListener() {
|
||||||
@Override
|
|
||||||
public void operation(final CustomerListBean.ResultBean.DataBean item) {
|
|
||||||
new CusOperationDialog(getActivity(), R.style.dialog, new CusOperationDialog.OnCloseListener() {
|
|
||||||
@Override
|
|
||||||
public void phoneClick() {//拨打电话
|
|
||||||
if (item.getPhone() != null) {
|
|
||||||
call(item.getPhone());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void kaidanonClick() {//删除客户
|
|
||||||
new BaseTipsDialog().showDownloadDialog(getActivity(), "确认删除该客户吗?", "确定", new BaseTipsDialog.ClickListener() {
|
|
||||||
@Override
|
|
||||||
public void confirm() {
|
|
||||||
Toast.makeText(getActivity(), "还没调接口", Toast.LENGTH_SHORT).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void cancle() {
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//信息完善
|
|
||||||
@Override
|
|
||||||
public void uploadAvatar() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void enterCusDetail(CustomerListBean.ResultBean.DataBean item) {
|
public void enterCusDetail(CustomerListBean.ResultBean.DataBean item) {
|
||||||
//进入查看评论
|
//进入查看评论
|
||||||
|
|||||||
@@ -0,0 +1,128 @@
|
|||||||
|
package com.fenghoo.seven.main.kehu.Dialog;
|
||||||
|
|
||||||
|
import android.app.Dialog;
|
||||||
|
import android.content.Context;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import android.view.Gravity;
|
||||||
|
import android.view.View;
|
||||||
|
import android.view.Window;
|
||||||
|
import android.view.WindowManager;
|
||||||
|
import android.widget.EditText;
|
||||||
|
import android.widget.ImageView;
|
||||||
|
import android.widget.LinearLayout;
|
||||||
|
import android.widget.RelativeLayout;
|
||||||
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
import com.chad.library.adapter.base.BaseQuickAdapter;
|
||||||
|
import com.chad.library.adapter.base.BaseViewHolder;
|
||||||
|
import com.fenghoo.seven.R;
|
||||||
|
import com.fenghoo.seven.utils.StringUtils;
|
||||||
|
import com.fenghoo.seven.utils.WidgetTools;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
|
public class RreplyDialog extends Dialog implements View.OnClickListener {
|
||||||
|
|
||||||
|
private Context mContext;
|
||||||
|
private OnCloseListener listener;
|
||||||
|
private TextView bt_draining_kehu;
|
||||||
|
private RelativeLayout rl_tv_kaidan,rl_tv_uploadAvatar;
|
||||||
|
private ImageView reply_ima;
|
||||||
|
private EditText reply_etSearchh;
|
||||||
|
private RecyclerView reply_rcey;
|
||||||
|
private boolean flag=false;
|
||||||
|
|
||||||
|
public RreplyDialog(Context context) {
|
||||||
|
super(context);
|
||||||
|
this.mContext = context;
|
||||||
|
}
|
||||||
|
|
||||||
|
public RreplyDialog(Context context, int themeResId, OnCloseListener listener) {
|
||||||
|
super(context, themeResId);
|
||||||
|
this.mContext = context;
|
||||||
|
this.listener = listener;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.reply_dialog);
|
||||||
|
setCanceledOnTouchOutside(true);
|
||||||
|
Window window = getWindow();
|
||||||
|
window.getDecorView().setPadding(0, 0, 0, 0);
|
||||||
|
WindowManager.LayoutParams layoutParams = window.getAttributes();
|
||||||
|
layoutParams.width = WindowManager.LayoutParams.MATCH_PARENT;
|
||||||
|
layoutParams.horizontalMargin = 0;
|
||||||
|
window.setAttributes(layoutParams);
|
||||||
|
window.setGravity(Gravity.BOTTOM);
|
||||||
|
initView();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initView() {
|
||||||
|
rl_tv_uploadAvatar = (RelativeLayout) findViewById(R.id.rl_tv_uploadAvatar);
|
||||||
|
rl_tv_uploadAvatar.setOnClickListener(this);
|
||||||
|
reply_ima = (ImageView) findViewById(R.id.reply_ima);
|
||||||
|
reply_ima.setOnClickListener(this);
|
||||||
|
reply_etSearchh = (EditText) findViewById(R.id.reply_etSearchh);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ArrayList<String> objects = new ArrayList<>();
|
||||||
|
objects.add("常用语1");
|
||||||
|
objects.add("常用语2");
|
||||||
|
objects.add("常用语3");
|
||||||
|
reply_rcey = (RecyclerView) findViewById(R.id.reply_rcey);
|
||||||
|
if(flag){
|
||||||
|
reply_rcey.setVisibility(View.VISIBLE);
|
||||||
|
}else {
|
||||||
|
reply_rcey.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
|
LinearLayoutManager manager = new LinearLayoutManager(mContext);
|
||||||
|
reply_rcey.setLayoutManager(manager);
|
||||||
|
reply_rcey.setAdapter(new BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_reply_dialog, objects) {
|
||||||
|
@Override
|
||||||
|
protected void convert(final BaseViewHolder helper, final String item) {
|
||||||
|
WidgetTools.setTextfive((TextView) helper.getView(R.id.img_modify), "", helper.getAdapterPosition()+1+"."+item);
|
||||||
|
RelativeLayout reply_dialog_rl = helper.getView(R.id.reply_dialog_rl);
|
||||||
|
reply_dialog_rl.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View view) {
|
||||||
|
reply_etSearchh.setText(item);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onClick(View view) {
|
||||||
|
switch (view.getId()) {
|
||||||
|
case R.id.rl_tv_uploadAvatar://上传头像
|
||||||
|
if (listener != null) {
|
||||||
|
listener.uploadAvatar();
|
||||||
|
}
|
||||||
|
dismiss();
|
||||||
|
case R.id.reply_ima://快捷回复
|
||||||
|
if(flag){
|
||||||
|
reply_rcey.setVisibility(View.VISIBLE);
|
||||||
|
flag=false;
|
||||||
|
}else {
|
||||||
|
reply_rcey.setVisibility(View.GONE);
|
||||||
|
flag=true;
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface OnCloseListener {
|
||||||
|
|
||||||
|
void uploadAvatar();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -25,7 +25,7 @@ public class LivebroFragment extends BaseFragment {
|
|||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||||
mContext = getActivity();
|
mContext = getActivity();
|
||||||
mContentView = inflater.inflate(R.layout.fragment_home_layout, container, false);
|
mContentView = inflater.inflate(R.layout.fragment_live_layout, container, false);
|
||||||
initView(mContentView);
|
initView(mContentView);
|
||||||
initData();
|
initData();
|
||||||
return mContentView;
|
return mContentView;
|
||||||
@@ -38,6 +38,6 @@ public class LivebroFragment extends BaseFragment {
|
|||||||
|
|
||||||
private void initData(){
|
private void initData(){
|
||||||
titleTv.setVisibility(View.VISIBLE);
|
titleTv.setVisibility(View.VISIBLE);
|
||||||
titleTv.setText(R.string.text_home_fragment);
|
titleTv.setText(R.string.text_live_fragment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
6
app/src/main/res/drawable/shape_reply.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape android:shape="rectangle"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<solid android:color="#ffececec" />
|
||||||
|
<corners android:topLeftRadius="102dp" android:topRightRadius="102dp" android:bottomLeftRadius="102dp" android:bottomRightRadius="102dp" />
|
||||||
|
</shape>
|
||||||
82
app/src/main/res/layout/comment_item.xml
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
|
||||||
|
<RelativeLayout android:layout_width="match_parent"
|
||||||
|
android:layout_height="99dp"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_below="@+id/rl_cus_01"
|
||||||
|
android:id="@+id/yichengjhiao_rv"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="99.5dp"
|
||||||
|
android:background="@color/colorWhite">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<com.fenghoo.seven.widget.CircleImageView
|
||||||
|
android:id="@+id/iv_dea_avatar"
|
||||||
|
android:layout_width="39dp"
|
||||||
|
android:layout_height="39dp"
|
||||||
|
android:layout_marginLeft="7.5dp"
|
||||||
|
android:layout_marginTop="7.5dp"
|
||||||
|
android:src="@mipmap/icon_default_empty"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tv_dea_name"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="19dp"
|
||||||
|
android:text="评论人昵称**(抖音ID**)"
|
||||||
|
android:textColor="#ff505050"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginTop="7.5dp"
|
||||||
|
android:layout_toRightOf="@+id/iv_dea_avatar"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="33dp"
|
||||||
|
android:text="此处显示视频标题/此处显示视频标题/此处显示视
|
||||||
|
频标题/此处显示视频标题..."
|
||||||
|
android:textColor="#ff505050"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginRight="12dp"
|
||||||
|
android:layout_marginTop="7.5dp"
|
||||||
|
android:layout_below="@+id/tv_dea_name"
|
||||||
|
android:layout_toRightOf="@+id/iv_dea_avatar"
|
||||||
|
/>
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="15dp"
|
||||||
|
android:text="2020-07-01 "
|
||||||
|
android:textColor="#ffcbcbcb"
|
||||||
|
android:textSize="11sp"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginBottom="4.5dp"
|
||||||
|
android:layout_toRightOf="@+id/iv_dea_avatar"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tv_cuslist_caozuo"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="17dp"
|
||||||
|
android:text="回复"
|
||||||
|
android:textColor="#ff515151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginBottom="4.5dp"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_marginRight="12dp"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="@dimen/dimen_2dp"
|
||||||
|
android:background="#F5F5F5"
|
||||||
|
/>
|
||||||
|
</RelativeLayout>
|
||||||
@@ -4,111 +4,112 @@
|
|||||||
<RelativeLayout android:layout_width="match_parent"
|
<RelativeLayout android:layout_width="match_parent"
|
||||||
android:layout_height="99dp"
|
android:layout_height="99dp"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/rl_cus_01"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="24dp">
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tv_cus_01"
|
|
||||||
android:layout_width="28dp"
|
|
||||||
android:layout_height="12dp"
|
|
||||||
android:layout_marginLeft="10.5dp"
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:background="@mipmap/icon_cus_new"
|
|
||||||
/>
|
|
||||||
<TextView
|
|
||||||
android:layout_toRightOf="@+id/tv_cus_01"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:text="多喜爱家纺磨毛小猪佩奇...(云拼团)"
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:textColor="#ffababab"
|
|
||||||
android:textSize="13sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_below="@+id/rl_cus_01"
|
android:layout_below="@+id/rl_cus_01"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/yichengjhiao_rv"
|
android:id="@+id/yichengjhiao_rv"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="75dp"
|
android:layout_height="99.5dp"
|
||||||
android:background="@color/colorWhite">
|
android:background="@color/colorWhite">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<com.fenghoo.seven.widget.CircleImageView
|
<ImageView
|
||||||
android:id="@+id/iv_dea_avatar"
|
android:id="@+id/iv_dea_avatar"
|
||||||
android:layout_width="50dp"
|
android:layout_width="85dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="85dp"
|
||||||
android:layout_marginLeft="30dp"
|
android:layout_marginLeft="7.5dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="7.5dp"
|
||||||
android:src="@mipmap/icon_default_head"
|
android:src="@mipmap/icon_default_empty"
|
||||||
app:border_color="#70ffffff" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tv_dea_name"
|
|
||||||
android:layout_width="59dp"
|
|
||||||
android:layout_height="21dp"
|
|
||||||
android:layout_marginLeft="13.5dp"
|
|
||||||
android:layout_marginTop="19.5dp"
|
|
||||||
android:layout_toRightOf="@+id/iv_dea_avatar"
|
|
||||||
android:text="欧阳子文"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="15sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tv_dea_phone"
|
|
||||||
android:layout_width="67dp"
|
|
||||||
android:layout_height="16dp"
|
|
||||||
android:layout_marginTop="19.5dp"
|
|
||||||
android:layout_toRightOf="@+id/tv_dea_name"
|
|
||||||
android:text="18971614151"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="12sp"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/ima_dea_watch"
|
android:id="@+id/ima_dea_watch"
|
||||||
android:layout_width="16.5dp"
|
android:layout_width="20dp"
|
||||||
|
android:layout_height="20dp"
|
||||||
android:layout_toRightOf="@+id/iv_dea_avatar"
|
android:layout_toRightOf="@+id/iv_dea_avatar"
|
||||||
android:layout_marginLeft="13.5dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="7.5dp"
|
||||||
android:layout_below="@+id/tv_dea_name"
|
|
||||||
android:background="@mipmap/ic_launcher"
|
android:background="@mipmap/ic_launcher"
|
||||||
android:layout_height="16.5dp"/>
|
/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_dea_watch"
|
android:id="@+id/tv_dea_name"
|
||||||
android:layout_width="67dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="16dp"
|
android:layout_height="16dp"
|
||||||
android:layout_toRightOf="@+id/ima_dea_watch"
|
android:text="抖音昵称***(抖音ID***)"
|
||||||
android:layout_marginLeft="13.5dp"
|
android:textColor="#ffa2a2a2"
|
||||||
android:layout_marginTop="5dp"
|
|
||||||
android:layout_below="@+id/tv_dea_name"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
android:text="--"
|
android:layout_marginLeft="9dp"
|
||||||
|
android:layout_marginTop="7.5dp"
|
||||||
|
android:layout_toRightOf="@+id/ima_dea_watch"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_cuslist_caozuo"
|
android:layout_width="wrap_content"
|
||||||
android:layout_width="43dp"
|
android:layout_height="33dp"
|
||||||
android:layout_height="25dp"
|
android:text="此处显示视频标题/此处显示视频标题/此处显示视
|
||||||
android:text="操作"
|
频标题/此处显示视频标题..."
|
||||||
android:gravity="center"
|
android:textColor="#ff505050"
|
||||||
android:layout_centerVertical="true"
|
android:textSize="12sp"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_marginRight="22dp"
|
android:layout_marginRight="12dp"
|
||||||
android:textColor="#ff333333"
|
android:layout_marginTop="7.5dp"
|
||||||
android:background="@drawable/share_tv_cus"
|
android:layout_below="@+id/ima_dea_watch"
|
||||||
android:textSize="11sp"
|
android:layout_toRightOf="@+id/iv_dea_avatar"
|
||||||
/>
|
/>
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="15dp"
|
||||||
|
android:text="2020-07-01 "
|
||||||
|
android:textColor="#ffcbcbcb"
|
||||||
|
android:textSize="11sp"
|
||||||
|
android:layout_marginLeft="12dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginBottom="4.5dp"
|
||||||
|
android:layout_toRightOf="@+id/iv_dea_avatar"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/tv_cuslist_caozuo"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="27dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginBottom="4.5dp"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_marginRight="12dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/message_ivtwo"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="17dp"
|
||||||
|
android:text="查看评论"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:textColor="#ff515151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/message_num_rltwo"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_toRightOf="@id/message_ivtwo">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/left_tvtwo"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:background="@mipmap/message_remind"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="0"
|
||||||
|
android:textColor="@color/colorWhite"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|||||||
@@ -7,287 +7,6 @@
|
|||||||
<include
|
<include
|
||||||
layout="@layout/title_layout"/>
|
layout="@layout/title_layout"/>
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="@dimen/dimen_200"
|
|
||||||
android:background="@mipmap/home_imageview"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:textColor="@color/colorWhite"
|
|
||||||
android:text="@string/warehouse_function"
|
|
||||||
android:textSize="@dimen/dimen_15sp"
|
|
||||||
android:paddingBottom="@dimen/dimen_6"
|
|
||||||
android:paddingTop="@dimen/dimen_6"
|
|
||||||
android:paddingLeft="@dimen/dimen_10"
|
|
||||||
android:paddingRight="@dimen/dimen_10"
|
|
||||||
android:background="@color/color_303030"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_storage"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/inbound_list"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_outbound_list"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/outbound_list"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_query"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/query"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_look_warehouse"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/look_warehouse"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_trans"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/transfer"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_damage"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/damage_list"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_22"
|
|
||||||
android:layout_height="@dimen/dimen_16"
|
|
||||||
android:src="@mipmap/home_product_proties"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/product_properties"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:visibility="invisible"
|
|
||||||
android:layout_weight="1">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="@dimen/dimen_46"
|
|
||||||
android:layout_height="@dimen/dimen_46"
|
|
||||||
android:background="@drawable/shape_home_recyle"
|
|
||||||
android:layout_marginTop="@dimen/dimen_15"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dimen_19"
|
|
||||||
android:layout_height="@dimen/dimen_19"
|
|
||||||
android:src="@mipmap/home_storage"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dimen_6"
|
|
||||||
android:text="@string/inbound_list"
|
|
||||||
android:textColor="@color/colorBlack"
|
|
||||||
android:textSize="@dimen/dimen_13"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|||||||
12
app/src/main/res/layout/fragment_live_layout.xml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?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/title_layout"/>
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
27
app/src/main/res/layout/item_reply_dialog.xml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<RelativeLayout android:id="@+id/reply_dialog_rl"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="50dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:gravity="center"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/img_modify"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="15.5dp"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:src="@mipmap/ic_launcher"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:background="#E2E2E2"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
@@ -1,130 +0,0 @@
|
|||||||
<?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="175dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:background="@drawable/shape_message_item_bg">
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="@dimen/dimen_10"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="@drawable/shape_inbound_item_yellow"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="@dimen/dimen_11dp"
|
|
||||||
android:layout_marginLeft="@dimen/dimen_14dp">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/outbound_num"
|
|
||||||
android:textColor="@color/color_ffc107"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="RK1710180001AX01"
|
|
||||||
android:textColor="@color/color_ffc107"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="@dimen/dimen_301dp"
|
|
||||||
android:layout_height="1dp"
|
|
||||||
android:background="@color/color_ffc107"
|
|
||||||
android:layout_marginTop="@dimen/dimen_10"/>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_marginTop="@dimen/dimen_12">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="@dimen/dimen_65dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/inbound_time"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="2018.11.05"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_marginTop="@dimen/dimen_12">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="@dimen/dimen_65dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/inbound_number"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="200件"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_marginTop="@dimen/dimen_12">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="@dimen/dimen_65dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/inbound_company"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="恒大多喜爱彩板"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_marginTop="@dimen/dimen_12"
|
|
||||||
android:layout_marginBottom="@dimen/dimen_11dp">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="@dimen/dimen_65dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/inbound_agent"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="锋尚总库"
|
|
||||||
android:textColor="@color/colorWhite"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
@@ -1,120 +1,70 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout android:layout_width="match_parent"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="99dp"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/rl_cus_01"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="24dp">
|
android:layout_height="66.5dp">
|
||||||
<TextView
|
|
||||||
android:id="@+id/tv_cus_01"
|
|
||||||
android:layout_width="28dp"
|
|
||||||
android:layout_height="12dp"
|
|
||||||
android:layout_marginLeft="10.5dp"
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:background="@mipmap/icon_cus_new"
|
|
||||||
/>
|
|
||||||
<TextView
|
|
||||||
android:layout_toRightOf="@+id/tv_cus_01"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:text="多喜爱家纺磨毛小猪佩奇...(云拼团)"
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:textColor="#ffababab"
|
|
||||||
android:textSize="13sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:id="@+id/yichengjhiao_rv"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="65.5dp"
|
||||||
|
android:background="@color/colorWhite">
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout
|
<com.fenghoo.seven.widget.CircleImageView
|
||||||
android:layout_below="@+id/rl_cus_01"
|
android:id="@+id/private_iv_dea_avatar"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="50dp"
|
||||||
android:id="@+id/yichengjhiao_rv"
|
android:layout_height="50dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_marginLeft="30dp"
|
||||||
android:layout_height="75dp"
|
android:layout_marginTop="16dp"
|
||||||
android:background="@color/colorWhite">
|
android:layout_centerVertical="true"
|
||||||
|
android:src="@mipmap/icon_default_head"
|
||||||
|
app:border_color="#70ffffff" />
|
||||||
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
<com.fenghoo.seven.widget.CircleImageView
|
android:id="@+id/private_tv_name"
|
||||||
android:id="@+id/iv_dea_avatar"
|
android:layout_width="wrap_content"
|
||||||
android:layout_width="50dp"
|
android:layout_height="19dp"
|
||||||
android:layout_height="50dp"
|
android:text="抖音昵称**(抖音ID**)"
|
||||||
android:layout_marginLeft="30dp"
|
android:layout_toRightOf="@+id/private_iv_dea_avatar"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginLeft="13.5dp"
|
||||||
android:src="@mipmap/icon_default_head"
|
android:layout_marginTop="13.5dp"
|
||||||
app:border_color="#70ffffff" />
|
android:textColor="#ff3b3b3b"
|
||||||
|
android:textSize="14sp"
|
||||||
<TextView
|
/>
|
||||||
android:id="@+id/tv_dea_name"
|
|
||||||
android:layout_width="59dp"
|
|
||||||
android:layout_height="21dp"
|
|
||||||
android:layout_marginLeft="13.5dp"
|
|
||||||
android:layout_marginTop="19.5dp"
|
|
||||||
android:layout_toRightOf="@+id/iv_dea_avatar"
|
|
||||||
android:text="欧阳子文"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="15sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tv_dea_phone"
|
|
||||||
android:layout_width="67dp"
|
|
||||||
android:layout_height="16dp"
|
|
||||||
android:layout_marginTop="19.5dp"
|
|
||||||
android:layout_toRightOf="@+id/tv_dea_name"
|
|
||||||
android:text="18971614151"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="12sp"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/ima_dea_watch"
|
|
||||||
android:layout_width="16.5dp"
|
|
||||||
android:layout_toRightOf="@+id/iv_dea_avatar"
|
|
||||||
android:layout_marginLeft="13.5dp"
|
|
||||||
android:layout_marginTop="5dp"
|
|
||||||
android:layout_below="@+id/tv_dea_name"
|
|
||||||
android:background="@mipmap/ic_launcher"
|
|
||||||
android:layout_height="16.5dp"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tv_dea_watch"
|
|
||||||
android:layout_width="67dp"
|
|
||||||
android:layout_height="16dp"
|
|
||||||
android:layout_toRightOf="@+id/ima_dea_watch"
|
|
||||||
android:layout_marginLeft="13.5dp"
|
|
||||||
android:layout_marginTop="5dp"
|
|
||||||
android:layout_below="@+id/tv_dea_name"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="12sp"
|
|
||||||
android:text="--"
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_cuslist_caozuo"
|
android:id="@+id/private_tv_content"
|
||||||
android:layout_width="43dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="25dp"
|
android:layout_height="15dp"
|
||||||
android:text="操作"
|
android:text="私信的最新内容"
|
||||||
android:gravity="center"
|
android:textColor="#ffcbcbcb"
|
||||||
android:layout_centerVertical="true"
|
android:layout_marginTop="5dp"
|
||||||
android:layout_alignParentRight="true"
|
android:textSize="11sp"
|
||||||
android:layout_marginRight="22dp"
|
android:layout_below="@+id/private_tv_name"
|
||||||
android:textColor="#ff333333"
|
android:layout_toRightOf="@+id/private_iv_dea_avatar"
|
||||||
android:background="@drawable/share_tv_cus"
|
android:layout_marginLeft="13.5dp"
|
||||||
android:textSize="11sp"
|
/>
|
||||||
/>
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/private_tv_time"
|
||||||
|
android:layout_width="27dp"
|
||||||
|
android:layout_height="15dp"
|
||||||
|
android:text="12:00"
|
||||||
|
android:layout_marginRight="12dp"
|
||||||
|
android:textColor="#ffcbcbcb"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_marginTop="15.5dp"
|
||||||
|
android:textSize="11sp" />
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/dimen_2dp"
|
android:layout_height="@dimen/dimen_2dp"
|
||||||
android:background="#F5F5F5"
|
android:background="#F5F5F5" />
|
||||||
/>
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
53
app/src/main/res/layout/reply_dialog.xml
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:background="@color/colorWhite"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
android:id="@+id/reply_rcey"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="150dp"/>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:id="@+id/rl_tv_uploadAvatar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:layout_below="@+id/reply_rcey"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/reply_ima"
|
||||||
|
android:layout_width="22dp"
|
||||||
|
android:layout_height="22dp"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_marginLeft="17.5dp"
|
||||||
|
android:background="@mipmap/icon_reply_sty"
|
||||||
|
/>
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/flSearch"
|
||||||
|
android:layout_width="300dp"
|
||||||
|
android:layout_height="39dp"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:background="@drawable/shape_reply"
|
||||||
|
android:paddingLeft="@dimen/spacing_10">
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/reply_etSearchh"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:background="@null"
|
||||||
|
android:drawablePadding="4dp"
|
||||||
|
android:hint="回复评论人昵称**"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:textColor="#ff999999"
|
||||||
|
android:imeActionLabel="搜索"
|
||||||
|
android:imeOptions="actionSend"
|
||||||
|
android:inputType="text"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:text="" />
|
||||||
|
</RelativeLayout>
|
||||||
|
</RelativeLayout>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/dimen_50"
|
android:layout_height="@dimen/dimen_50"
|
||||||
android:background="@color/color_131313">
|
>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iv_back"
|
android:id="@+id/iv_back"
|
||||||
|
|||||||
BIN
app/src/main/res/mipmap-hdpi/icon_default_empty.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/mipmap-hdpi/icon_reply_sty.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
app/src/main/res/mipmap-mdpi/icon_default_empty.png
Normal file
|
After Width: | Height: | Size: 677 B |
BIN
app/src/main/res/mipmap-mdpi/icon_reply_sty.png
Normal file
|
After Width: | Height: | Size: 967 B |
BIN
app/src/main/res/mipmap-xhdpi/icon_default_empty.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/mipmap-xhdpi/icon_reply_sty.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/icon_default_empty.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/icon_reply_sty.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/icon_default_empty.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/icon_reply_sty.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
@@ -24,6 +24,7 @@
|
|||||||
<string name="text_RefereeStudentId">推荐人学号</string>
|
<string name="text_RefereeStudentId">推荐人学号</string>
|
||||||
<string name="text_register_tip">已有账号,去登录</string>
|
<string name="text_register_tip">已有账号,去登录</string>
|
||||||
<string name="text_home_fragment">首页</string>
|
<string name="text_home_fragment">首页</string>
|
||||||
|
<string name="text_live_fragment">直播</string>
|
||||||
<string name="text_map_fragment">地图</string>
|
<string name="text_map_fragment">地图</string>
|
||||||
<string name="text_send_fragment">配送</string>
|
<string name="text_send_fragment">配送</string>
|
||||||
<string name="text_mine_fragment">我的</string>
|
<string name="text_mine_fragment">我的</string>
|
||||||
|
|||||||