作者 daidong

接龙bug1

... ... @@ -31,7 +31,8 @@
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true">
<activity android:name=".ui.jxt.activity.HD.HdmbxqActivity"></activity>
<activity android:name=".zxing.jafsbActivity"></activity>
<activity android:name=".ui.jxt.activity.HD.HdmbxqActivity" />
<activity android:name=".ui.jxt.activity.HD.TjmbActivity" />
<activity
android:name=".ui.jxt.activity.Bjwj.BjwjActivity"
... ...
... ... @@ -2,11 +2,10 @@ package com.yinhebairong.clasmanage.entity;
public class ChxqEntity {
/**
* code : 0
* msg : 撤回失败
* time : 1578289620
* code : 1
* msg : 撤回成功
* time : 1583371938
* data : null
*/
... ...
... ... @@ -120,6 +120,22 @@ public class Dcwj_Activity extends BaseActivity {
}
@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == STRAT_ID && resultCode == RESULT_OK){
Bundle extras = data.getExtras();
ArrayList<String> class_names = extras.getStringArrayList("class_names");
String names = TextUtils.join(",", class_names);
ArrayList<String> teacher_ids = extras.getStringArrayList("teacher_ids");
ArrayList<String> parent_ids = extras.getStringArrayList("parent_ids");
teacherIds = TextUtils.join(",",teacher_ids);
parentIds = TextUtils.join(",", parent_ids);
dcwjXz.setText(names);
dcwjXz.setText("修改班级");
}
}
@Override
protected void setEvent() {
dcwjJsbj.setOnClickListener(new View.OnClickListener() {
@Override
... ... @@ -165,9 +181,9 @@ public class Dcwj_Activity extends BaseActivity {
dcwjDc.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (dcwjDc1.isEnabled()) {
if (dcwjDc1.isEnabled()){
dcwjDc1.setEnabled(false);
} else {
}else {
dcwjDc1.setEnabled(true);
}
}
... ...
... ... @@ -2,21 +2,26 @@ package com.yinhebairong.clasmanage.ui.jxt.activity;
import android.graphics.Color;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.PopupWindow;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.Glide;
... ... @@ -90,27 +95,25 @@ public class JlxqActivity extends BaseActivity {
RecyclerView jlxqRv2;
int stuid = -1;
String jlId;
@BindView(R.id.jlxq_tv1)
TextView jlxqTv1;
@BindView(R.id.jlxq_photo)
ImageView jlxqPhoto;
@BindView(R.id.jlxq_name)
TextView jlxqName;
@BindView(R.id.jlgl_data)
TextView jlglData;
@BindView(R.id.jlxq_item)
LinearLayout jlxqItem;
@BindView(R.id.jlxq_content)
TextView jlxqContent;
@BindView(R.id.show_but)
LinearLayout showBut;
@BindView(R.id.massage_sc)
TextView massageSc;
// @BindView(R.id.jlxq_tv1)
// TextView jlxqTv1;
// @BindView(R.id.jlxq_photo)
// ImageView jlxqPhoto;
// @BindView(R.id.jlxq_name)
// TextView jlxqName;
// @BindView(R.id.jlgl_data)
// TextView jlglData;
// @BindView(R.id.jlxq_item)
// LinearLayout jlxqItem;
// @BindView(R.id.jlxq_content)
// TextView jlxqContent;
// @BindView(R.id.show_but)
// LinearLayout showBut;
// @BindView(R.id.massage_sc)
// TextView massageSc;
@BindView(R.id.rl_tj2)
RelativeLayout rlTj;
@Override
protected void initData() {
includeName.setText("接龙详情");
... ... @@ -168,75 +171,115 @@ public class JlxqActivity extends BaseActivity {
tvJlxqCz.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
shopPopup();
}
});
}
private void shopPopup() {
View view = LayoutInflater.from(activity).inflate(R.layout.popup_jl, null);
final PopupWindow popupWindow = new PopupWindow(view, WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.WRAP_CONTENT - tvJlxqCz.getBottom());
TextView jl_zf = view.findViewById(R.id.jl_zf);
TextView jl_ch = view.findViewById(R.id.jl_ch);
TextView jl_qx = view.findViewById(R.id.jl_qx);
popupWindow.setOutsideTouchable(true);
popupWindow.setTouchable(true);
popupWindow.setFocusable(true);
popupWindow.setBackgroundDrawable(getResources().getDrawable(R.color.color_tm));
popupWindow.showAsDropDown(tvJlxqCz);
popupWindow.setOnDismissListener(new PopupWindow.OnDismissListener() {
@Override
public void onDismiss() {
setBackgroundAlpha(1f);
}
});
popupWindow.showAtLocation(view, Gravity.BOTTOM,0,M.getNavigationBarHeight(this));
jl_zf.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});
jl_ch.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
getDelete(jlId);
}
});
jl_qx.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});
// jlxqAdapter.setOnItemChildClickListener(new BaseQuickAdapter.OnItemChildClickListener() {
// @Override
// public void onItemChildClick(BaseQuickAdapter adapter, View view, int position) {
// Toast.makeText(ctx, "123", Toast.LENGTH_SHORT).show();
// }
// });
}
private void setBackgroundAlpha(float v) {
WindowManager.LayoutParams lp = getWindow()
.getAttributes();
lp.alpha = v;
getWindow().setAttributes(lp);
}
//删除
// private void getDelete(String jlId) {
// View inflate = LayoutInflater.from(activity).inflate(R.layout.pop_jl_del, null);
// TextView cancle = inflate.findViewById(R.id.pop_del_jl_cancle);
// TextView sure = inflate.findViewById(R.id.pop_del_jl_sure);
// SupportPopupWindow popupWindow = new SupportPopupWindow(inflate, ViewGroup.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT);
// popupWindow.setOutsideTouchable(true);
// popupWindow.setTouchable(true);
// popupWindow.setFocusable(true);
// popupWindow.setAnimationStyle(R.style.AnimTopMiddle);
// popupWindow.setBackgroundDrawable(getResources().getDrawable(R.color.color_tm));
// popupWindow.showAsDropDown(inflate);
// //取消
// cancle.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
// popupWindow.dismiss();
// }
// });
//
// //确定
// sure.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
// Api().chxq(Config.Token, jlId)
// .subscribeOn(Schedulers.io())
// .observeOn(AndroidSchedulers.mainThread())
// .subscribe(new Observer<ChxqEntity>() {
// @Override
// public void onSubscribe(Disposable d) {
//
// }
//
// @Override
// public void onNext(ChxqEntity chxqEntity) {
// if (chxqEntity.getCode() == M.success) {
// M.toast(activity, "删除成功");
// initData();
// } else {
// M.toast(activity, "删除失败");
// }
// }
//
// @Override
// public void onError(Throwable e) {
//
// }
//
// @Override
// public void onComplete() {
//
// }
// });
// popupWindow.dismiss();
// }
// });
// }
private void getDelete(String jlId) {
View inflate = LayoutInflater.from(activity).inflate(R.layout.pop_jl_del, null);
TextView cancle = inflate.findViewById(R.id.pop_del_jl_cancle);
TextView sure = inflate.findViewById(R.id.pop_del_jl_sure);
SupportPopupWindow popupWindow = new SupportPopupWindow(inflate, ViewGroup.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT);
popupWindow.setOutsideTouchable(true);
popupWindow.setTouchable(true);
popupWindow.setFocusable(true);
popupWindow.setAnimationStyle(R.style.AnimTopMiddle);
popupWindow.setBackgroundDrawable(getResources().getDrawable(R.color.color_tm));
popupWindow.showAsDropDown(inflate);
//取消
cancle.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
popupWindow.dismiss();
}
});
//确定
sure.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Api().chxq(Config.Token, jlId)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Observer<ChxqEntity>() {
@Override
public void onSubscribe(Disposable d) {
}
@Override
public void onNext(ChxqEntity chxqEntity) {
if (chxqEntity.getCode() == M.success) {
M.toast(activity, "删除成功");
initData();
} else {
M.toast(activity, "删除失败");
}
}
@Override
public void onError(Throwable e) {
}
@Override
public void onComplete() {
}
});
popupWindow.dismiss();
}
});
}
@Override
... ... @@ -245,7 +288,7 @@ public class JlxqActivity extends BaseActivity {
}
@OnClick({R.id.fbxq_but, R.id.include_back, R.id.tj_but, R.id.massage_sc})
@OnClick({R.id.fbxq_but, R.id.include_back, R.id.tj_but})
public void onViewClicked(View view) {
switch (view.getId()) {
case R.id.include_back:
... ... @@ -259,7 +302,7 @@ public class JlxqActivity extends BaseActivity {
getDataTJ();
break;
// case R.id.massage_sc:
//// getDelete(jlId);
// getDelete(jlId);
// break;
}
}
... ... @@ -278,9 +321,7 @@ public class JlxqActivity extends BaseActivity {
@Override
public void onNext(TjjlEntity tjjlEntity) {
if (tjjlEntity.getCode() == M.success) {
rlTj.setVisibility(View.VISIBLE);
M.toast(activity, "提交成功");
getDataTJ();
} else {
rlTj.setVisibility(View.GONE);
Toast.makeText(ctx, "" + tjjlEntity.getMsg(), Toast.LENGTH_SHORT).show();
... ... @@ -300,9 +341,7 @@ public class JlxqActivity extends BaseActivity {
});
}
class JlxqAdapter extends BaseQuickAdapter<JlxpEntity.DataBean.ListBean, BaseViewHolder> {
public JlxqAdapter(int layoutResId, @Nullable List<JlxpEntity.DataBean.ListBean> data) {
super(layoutResId, data);
}
... ... @@ -312,9 +351,8 @@ public class JlxqActivity extends BaseActivity {
ImageView jlxq_photo = helper.itemView.findViewById(R.id.jlxq_photo);
helper.setText(R.id.jlxq_name, item.getUsername())
.setText(R.id.jlgl_data, item.getCreate_time())
.setText(R.id.jlxq_content, item.getContent())
.addOnClickListener(R.id.massage_sc);
// Glide.with(mContext).load(item.getPhoto()).into(jlxq_photo);
.setText(R.id.jlxq_content, item.getContent());
Glide.with(mContext).load(item.getPhoto()).into(jlxq_photo);
}
}
... ...
package com.yinhebairong.clasmanage.ui.jxt.fragment;
import android.content.Intent;
import android.util.Log;
import android.view.View;
import android.widget.LinearLayout;
... ... @@ -22,6 +23,7 @@ import com.yinhebairong.clasmanage.network.ApiService;
import com.yinhebairong.clasmanage.network.LoginStore;
import com.yinhebairong.clasmanage.utils.SharedPreferenceUtil;
import java.util.ArrayList;
import java.util.List;
import butterknife.BindView;
... ... @@ -84,7 +86,8 @@ public class All_Fragment extends BaseFragment {
jxt_listAdapter.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() {
@Override
public void onItemClick(BaseQuickAdapter adapter, View view, int position) {
List<JxtAllListEntity.DataBeanX.DataBean> dataBeans = adapter.getData();
// Intent intent = new Intent(getActivity(),);
}
});
}
... ...
... ... @@ -97,8 +97,8 @@ public class TzxqActivity extends BaseActivity {
TextView jlxqContent;
@BindView(R.id.show_but)
LinearLayout showBut;
@BindView(R.id.massage_sc)
TextView massageSc;
// @BindView(R.id.massage_sc)
// TextView massageSc;
@BindView(R.id.rl_tj2)
RelativeLayout rlTj;
@BindView(R.id.jlxq_rv2)
... ...
... ... @@ -22,10 +22,12 @@ import com.google.zxing.Result;
import com.yinhebairong.clasmanage.Config;
import com.yinhebairong.clasmanage.R;
import com.yinhebairong.clasmanage.entity.ErweimaEntity;
import com.yinhebairong.clasmanage.m.M;
import com.yinhebairong.clasmanage.network.ApiService;
import com.yinhebairong.clasmanage.network.ApiStore;
import com.yinhebairong.clasmanage.zxing.Jifen_Activity;
import com.yinhebairong.clasmanage.zxing.camera.CameraManager;
import com.yinhebairong.clasmanage.zxing.jafsbActivity;
import com.yinhebairong.clasmanage.zxing.view.ViewfinderView;
import java.io.IOException;
... ... @@ -212,11 +214,12 @@ public final class CaptureActivity extends Activity implements
intent.setClass(CaptureActivity.this, Jifen_Activity.class);
startActivity(intent);
finish();
// if (erweimaEntity.getCode() == M.success){
//
// }else {
//
// }
if (erweimaEntity.getCode() == M.success){
intent.setClass(CaptureActivity.this, jafsbActivity.class);
startActivity(intent);
}else {
}
}
@Override
... ...
package com.yinhebairong.clasmanage.zxing;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.os.Bundle;
import com.yinhebairong.clasmanage.R;
import com.yinhebairong.clasmanage.base.BaseActivity;
import com.yinhebairong.clasmanage.base.instant.Layout;
@Layout(R.layout.activity_jafsb)
public class jafsbActivity extends BaseActivity {
@Override
protected void initData() {
}
@Override
protected void setEvent() {
}
}
... ...
... ... @@ -5,6 +5,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.jxt.activity.Dcwj_Activity">
<include layout="@layout/include_title" android:id="@+id/title" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
... ... @@ -178,7 +180,7 @@
android:layout_marginRight="@dimen/dp_16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/switch_icon_selected"/>
android:src="@drawable/kaiguan_img_select"/>
</LinearLayout>
<LinearLayout
android:id="@+id/dcwj_cyz"
... ... @@ -202,7 +204,7 @@
android:layout_marginRight="@dimen/dp_16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/switch_icon_selected"/>
android:src="@drawable/kaiguan_img_select"/>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
... ...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#BDC4CE"
tools:context=".zxing.jafsbActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rl_jifen"
android:background="#FFFFFF"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dp_10"
android:layout_width="@dimen/dp_340"
android:layout_height="386dp">
<ImageView
android:src="@mipmap/icon_shixiao"
android:id="@+id/img_touxiang"
android:layout_marginTop="@dimen/dp_50"
android:layout_marginLeft="@dimen/dp_65"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</ImageView>
<TextView
android:text="此二维码已被扫描过,"
android:textColor="#8C9198"
android:id="@+id/tv_name1"
android:layout_below="@+id/img_touxiang"
android:textSize="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_24"
android:layout_marginLeft="@dimen/dp_97"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
<TextView
android:text=" 请勿重复扫描。"
android:textColor="#8C9198"
android:layout_below="@+id/tv_name1"
android:textSize="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_5"
android:layout_marginLeft="@dimen/dp_120"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
... ...
... ... @@ -75,7 +75,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TextView>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
... ...
... ... @@ -165,115 +165,45 @@
</LinearLayout>
<RelativeLayout
android:id="@+id/rl_tj2"
android:visibility="gone"
android:layout_marginLeft="@dimen/dp_15"
android:layout_marginRight="@dimen/dp_15"
android:background="@drawable/shape_solid_4_fff"
android:layout_marginTop="@dimen/dp_15"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/ll_rv1"
android:visibility="gone"
android:layout_marginTop="@dimen/dp_12"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/jlxq_rv1"
android:background="@drawable/shape_solid_4_fff"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>
<LinearLayout
android:id="@+id/jlxq_item"
android:layout_marginTop="@dimen/dp_5"
android:background="@drawable/shape_solid_4_fff"
android:layout_width="@dimen/dp_345"
android:layout_height="@dimen/dp_100"
android:layout_marginLeft="@dimen/dp_16"
android:layout_marginRight="@dimen/dp_16"
android:orientation="horizontal">
<TextView
android:text="1"
android:id="@+id/jlxq_tv1"
android:textColor="#3D444D"
android:textSize="@dimen/dp_16"
android:layout_marginLeft="@dimen/dp_18"
android:layout_marginTop="@dimen/dp_20"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
<ImageView
android:id="@+id/jlxq_photo"
android:layout_marginTop="@dimen/dp_18"
android:layout_marginLeft="@dimen/dp_15"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:src="@mipmap/img_father"
/>
<TextView
android:id="@+id/jlxq_name"
android:text="龙杰"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginLeft="@dimen/dp_8"
android:layout_width="@dimen/dp_190"
android:layout_height="wrap_content">
</TextView>
<TextView
android:id="@+id/jlgl_data"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="3小时前"
android:layout_marginTop="@dimen/dp_20" />
<LinearLayout
android:layout_below="@+id/ll_rv1"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/jlxq_rv2"
android:layout_width="match_parent"
android:layout_height="match_parent">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/show_but"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_32"
android:layout_marginLeft="@dimen/dp_40"
android:layout_marginTop="@dimen/dp_50"
android:layout_marginRight="@dimen/dp_40"
android:layout_marginBottom="@dimen/dp_20"
android:background="@drawable/dot_gray">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:id="@+id/jlxq_content"
android:text="李书父亲,张华"
android:textSize="@dimen/dp_14"
android:layout_marginLeft="@dimen/dp_12"
android:layout_marginTop="@dimen/dp_5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/massage_sc"
android:layout_width="@dimen/dp_18"
android:layout_height="@dimen/dp_18"
android:gravity="center"
android:textColor="#FFFFFF"
android:text="--"
android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/dp_10"
android:background="@drawable/red_cricle"/>
</RelativeLayout>
<LinearLayout
android:layout_marginTop="@dimen/dp_12"
android:background="@drawable/shape_solid_4_fff"
android:layout_marginLeft="@dimen/dp_15"
android:layout_marginRight="@dimen/dp_15"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/jlxq_rv2"
android:background="@drawable/shape_solid_4_fff"
android:layout_width="match_parent"
android:layout_height="match_parent">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/jlxq_cy"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_60"
... ... @@ -290,7 +220,8 @@
android:textSize="@dimen/sp_14"
android:text="参与接龙"
android:background="@drawable/dot_yellow"/>
</LinearLayout>
</LinearLayout
>
<LinearLayout
android:visibility="gone"
... ...
... ... @@ -50,7 +50,7 @@
android:hint="请输入账号"
android:layout_marginLeft="@dimen/dp_32"
android:textSize="@dimen/sp_16"
android:text="15987125081"
android:text="18687807482"
android:textColor="@color/color_bdc4ce"
android:id="@+id/edit_zh"
android:maxLines="1"
... ...
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/rl_tj2"
android:layout_marginTop="@dimen/dp_15"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/jlxq_item_one"
android:layout_marginTop="@dimen/dp_5"
android:background="@drawable/shape_solid_4_fff"
android:layout_width="@dimen/dp_345"
android:layout_height="@dimen/dp_100"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_10"
android:orientation="horizontal">
<TextView
android:text="1"
android:id="@+id/jlxq_tv_one"
android:textColor="#3D444D"
android:textSize="@dimen/dp_16"
android:layout_marginLeft="@dimen/dp_18"
android:layout_marginTop="@dimen/dp_20"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
<ImageView
android:id="@+id/jlxq_photo_one"
android:layout_marginTop="@dimen/dp_18"
android:layout_marginLeft="@dimen/dp_15"
android:layout_width="@dimen/dp_25"
android:layout_height="@dimen/dp_25"
android:src="@mipmap/img_father"
/>
<TextView
android:id="@+id/jlxq_name_one"
android:text="龙杰"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginLeft="@dimen/dp_8"
android:layout_width="@dimen/dp_180"
android:layout_height="wrap_content">
</TextView>
<TextView
android:id="@+id/jlgl_data_one"
android:layout_width="@dimen/dp_100"
android:layout_marginRight="@dimen/dp_20"
android:layout_height="wrap_content"
android:text="3小时前"
android:layout_marginTop="@dimen/dp_20" />
</LinearLayout>
<LinearLayout
android:id="@+id/show_but_one"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_32"
android:layout_marginLeft="@dimen/dp_40"
android:layout_marginTop="@dimen/dp_50"
android:layout_marginRight="@dimen/dp_40"
android:layout_marginBottom="@dimen/dp_20"
android:background="@drawable/dot_gray">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:id="@+id/jlxq_content_one"
android:text="李书父亲,张华"
android:textSize="@dimen/dp_14"
android:layout_marginLeft="@dimen/dp_12"
android:layout_marginTop="@dimen/dp_5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/massage_sc_one"
android:layout_width="@dimen/dp_18"
android:layout_height="@dimen/dp_18"
android:gravity="center"
android:textColor="#FFFFFF"
android:text="--"
android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/dp_10"
android:background="@drawable/red_cricle"/>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
... ...
... ... @@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F7F7F7"
tools:context=".ui.jxt.fragment.Dc_Rv_Fragment">
<RelativeLayout
android:layout_width="match_parent"
... ... @@ -13,7 +14,8 @@
android:layout_width="match_parent"
android:layout_height="@dimen/dp_48"
android:gravity="center_vertical"
android:orientation="horizontal">
android:orientation="horizontal"
android:background="#FFFFFF">
<ImageView
android:layout_width="@dimen/dp_23"
... ... @@ -43,12 +45,13 @@
</LinearLayout>
<!-- 日期RecyclerView -->
<androidx.recyclerview.widget.RecyclerView
android:layout_below="@id/jxt_matter_li"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/dp_50"
android:id="@+id/data_rv"></androidx.recyclerview.widget.RecyclerView>
</RelativeLayout>
android:id="@+id/data_rv">
</androidx.recyclerview.widget.RecyclerView>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
... ...
... ... @@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F7F7F7"
tools:context=".ui.jxt.fragment.Tp_Rv_Fragment">
<RelativeLayout
android:layout_width="match_parent"
... ... @@ -13,7 +14,8 @@
android:layout_width="match_parent"
android:layout_height="@dimen/dp_48"
android:gravity="center_vertical"
android:orientation="horizontal">
android:orientation="horizontal"
android:background="#FFFFFF">
<ImageView
android:layout_width="@dimen/dp_23"
... ... @@ -43,12 +45,13 @@
</LinearLayout>
<!-- 日期RecyclerView -->
<androidx.recyclerview.widget.RecyclerView
android:layout_below="@id/jxt_matter_li"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/dp_50"
android:id="@+id/data_rv"></androidx.recyclerview.widget.RecyclerView>
android:id="@+id/data_rv">
</androidx.recyclerview.widget.RecyclerView>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@
android:background="#FFFFFF">
<LinearLayout
android:layout_marginTop="@dimen/dp_20"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
... ...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
\ No newline at end of file
... ...
... ... @@ -17,8 +17,8 @@
android:background="@drawable/shape_solid_4_fff"
android:layout_width="@dimen/dp_345"
android:layout_height="@dimen/dp_100"
android:layout_marginLeft="@dimen/dp_16"
android:layout_marginRight="@dimen/dp_16"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_10"
android:orientation="horizontal">
<TextView
android:text="1"
... ... @@ -85,15 +85,15 @@
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/massage_sc"
android:layout_width="@dimen/dp_18"
android:layout_height="@dimen/dp_18"
android:gravity="center"
android:textColor="#FFFFFF"
android:text="--"
android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/dp_10"
android:background="@drawable/red_cricle"/>
<!-- <TextView-->
<!-- android:id="@+id/massage_sc"-->
<!-- android:layout_width="@dimen/dp_18"-->
<!-- android:layout_height="@dimen/dp_18"-->
<!-- android:gravity="center"-->
<!-- android:textColor="#FFFFFF"-->
<!-- android:text="&#45;&#45;"-->
<!-- android:layout_alignParentRight="true"-->
<!-- android:layout_marginRight="@dimen/dp_10"-->
<!-- android:background="@drawable/red_cricle"/>-->
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:background="#FFFFFF"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_160">
<TextView
android:id="@+id/jl_zf"
android:text="转发"
android:gravity="center"
android:textSize="@dimen/dp_15"
android:textColor="#06121E"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_50">
</TextView>
<View
android:background="#EBEBEB"
android:layout_marginLeft="@dimen/dp_28"
android:layout_marginRight="@dimen/dp_28"
android:layout_width="wrap_content"
android:layout_height="1dp"></View>
<TextView
android:id="@+id/jl_ch"
android:text="撤回"
android:gravity="center"
android:textSize="@dimen/dp_15"
android:textColor="#06121E"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_50">
</TextView>
<View
android:background="#EBEBEB"
android:layout_width="wrap_content"
android:layout_height="3dp"></View>
<TextView
android:id="@+id/jl_qx"
android:text="取消"
android:gravity="center"
android:textSize="@dimen/dp_15"
android:textColor="#06121E"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_50">
</TextView>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
... ...