This commit is contained in:
parent
fc828c5e61
commit
08072d6b28
|
@ -72,7 +72,7 @@
|
|||
android:name=".Date_dayActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".PublishActivity"
|
||||
android:name=".System_messagesActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".ToolActivity"
|
||||
|
|
|
@ -52,7 +52,7 @@ public class CommunityActivity extends AppCompatActivity {
|
|||
constraintLayout2.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent=new Intent(CommunityActivity.this, PublishActivity.class);
|
||||
Intent intent=new Intent(CommunityActivity.this, RecordActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
package com.hnucm.c202201020328;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.activity.EdgeToEdge;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.core.graphics.Insets;
|
||||
import androidx.core.view.ViewCompat;
|
||||
import androidx.core.view.WindowInsetsCompat;
|
||||
|
||||
public class Dynamic_publishingActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
EdgeToEdge.enable(this);
|
||||
setContentView(R.layout.activity_dynamic_publishing);
|
||||
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
|
||||
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
|
||||
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
|
||||
return insets;
|
||||
});
|
||||
}
|
||||
}
|
|
@ -10,14 +10,27 @@ import androidx.core.graphics.Insets;
|
|||
import androidx.core.view.ViewCompat;
|
||||
import androidx.core.view.WindowInsetsCompat;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
|
||||
public class HelperActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_helper);
|
||||
ImageView imageView=findViewById(R.id.imageView35);
|
||||
imageView.setOnClickListener(new View.OnClickListener() {
|
||||
ImageView imageView33=findViewById(R.id.imageView33);
|
||||
String url33="http://106.53.194.250:30089/i/2024/06/19/6672bc29ccc38.png";
|
||||
Glide.with(this).load(url33).into(imageView33);
|
||||
ImageView imageView34=findViewById(R.id.imageView34);
|
||||
String url34="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url34).into(imageView34);
|
||||
ImageView imageView35=findViewById(R.id.imageView35);
|
||||
String url35="http://106.53.194.250:30089/i/2024/06/19/6672cdba30646.png";
|
||||
Glide.with(this).load(url35).into(imageView35);
|
||||
ImageView imageView36=findViewById(R.id.imageView36);
|
||||
String url36="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url36).into(imageView36);
|
||||
imageView35.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
finish();
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package com.hnucm.c202201020328;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
@ -7,6 +9,7 @@ import androidx.fragment.app.Fragment;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
/**
|
||||
* A simple {@link Fragment} subclass.
|
||||
|
@ -59,6 +62,23 @@ public class MessageFragment extends Fragment {
|
|||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
// Inflate the layout for this fragment
|
||||
return inflater.inflate(R.layout.fragment_message, container, false);
|
||||
View view=inflater.inflate(R.layout.fragment_message, container, false);
|
||||
TextView textView=view.findViewById(R.id.textView12);
|
||||
textView.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(getActivity(),HelperActivity.class);//想调到哪个界面就把login改成界面对应的activity名
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
TextView textView1=view.findViewById(R.id.textView11);
|
||||
textView1.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(getActivity(),System_messagesActivity.class);//想调到哪个界面就把login改成界面对应的activity名
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
return view;
|
||||
}
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
package com.hnucm.c202201020328;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
|
@ -10,18 +11,29 @@ import androidx.core.graphics.Insets;
|
|||
import androidx.core.view.ViewCompat;
|
||||
import androidx.core.view.WindowInsetsCompat;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.google.android.material.bottomsheet.BottomSheetDialog;
|
||||
import com.gyf.immersionbar.ImmersionBar;
|
||||
|
||||
public class Personal_dataActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_personal_data);
|
||||
ImmersionBar.with(this).init();
|
||||
ImageView imageView38=findViewById(R.id.imageView38);
|
||||
String url38="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url38).into(imageView38);
|
||||
ImageView imageView=findViewById(R.id.imageView39);
|
||||
String url39="http://106.53.194.250:30089/i/2024/06/19/6672cdba30646.png";
|
||||
Glide.with(this).load(url39).into(imageView);
|
||||
imageView.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
finish();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
package com.hnucm.c202201020328;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.activity.EdgeToEdge;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.core.graphics.Insets;
|
||||
import androidx.core.view.ViewCompat;
|
||||
import androidx.core.view.WindowInsetsCompat;
|
||||
|
||||
import com.gyf.immersionbar.ImmersionBar;
|
||||
|
||||
public class PublishActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_publish);
|
||||
ImmersionBar.with(this).init();
|
||||
}
|
||||
}
|
|
@ -14,6 +14,7 @@ import android.view.WindowManager;
|
|||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.gyf.immersionbar.ImmersionBar;
|
||||
|
||||
/**
|
||||
|
@ -70,7 +71,62 @@ public class SquareFragment extends Fragment {
|
|||
// Inflate the layout for this fragment
|
||||
View view=inflater.inflate(R.layout.fragment_square, container, false);
|
||||
ImmersionBar.with(this).init();
|
||||
ImageView imageView44=view.findViewById(R.id.imageView44);
|
||||
String url44="http://106.53.194.250:30089/i/2024/06/13/666aec0e776e1.png";
|
||||
Glide.with(this).load(url44).into(imageView44);
|
||||
|
||||
ImageView imageView46=view.findViewById(R.id.imageView46);
|
||||
String url46="http://106.53.194.250:30089/i/2024/06/13/666aedc22ca5e.png";
|
||||
Glide.with(this).load(url46).into(imageView46);
|
||||
|
||||
ImageView imageView37=view.findViewById(R.id.imageView37);
|
||||
String url37="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url37).into(imageView37);
|
||||
|
||||
ImageView imageView11=view.findViewById(R.id.imageView11);
|
||||
String url11="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url11).into(imageView11);
|
||||
|
||||
ImageView imageView12=view.findViewById(R.id.imageView12);
|
||||
String url12="http://106.53.194.250:30089/i/2024/06/19/6672b95c720ec.png";
|
||||
Glide.with(this).load(url12).into(imageView12);
|
||||
ImageView imageView13=view.findViewById(R.id.imageView13);
|
||||
String url13="http://106.53.194.250:30089/i/2024/06/19/6672b9ccb1337.png";
|
||||
Glide.with(this).load(url13).into(imageView13);
|
||||
ImageView imageView16=view.findViewById(R.id.imageView16);
|
||||
String url16="http://106.53.194.250:30089/i/2024/06/19/6672ba2346b2a.png";
|
||||
Glide.with(this).load(url16).into(imageView16);
|
||||
|
||||
ImageView imageView40=view.findViewById(R.id.imageView40);
|
||||
String url40="http://106.53.194.250:30089/i/2024/06/19/6672b95c720ec.png";
|
||||
Glide.with(this).load(url40).into(imageView40);
|
||||
ImageView imageView41=view.findViewById(R.id.imageView41);
|
||||
String url41="http://106.53.194.250:30089/i/2024/06/19/6672b9ccb1337.png";
|
||||
Glide.with(this).load(url41).into(imageView41);
|
||||
ImageView imageView42=view.findViewById(R.id.imageView42);
|
||||
String url42="http://106.53.194.250:30089/i/2024/06/19/6672ba2346b2a.png";
|
||||
Glide.with(this).load(url42).into(imageView42);
|
||||
|
||||
ImageView imageView98=view.findViewById(R.id.imageView98);
|
||||
String url98="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url98).into(imageView98);
|
||||
ImageView imageView47=view.findViewById(R.id.imageView47);
|
||||
String url47="http://106.53.194.250:30089/i/2024/06/19/6672c9860f298.jpg";
|
||||
Glide.with(this).load(url47).into(imageView47);
|
||||
ImageView imageView48=view.findViewById(R.id.imageView48);
|
||||
String url48="http://106.53.194.250:30089/i/2024/06/19/6672bc29ccc38.png";
|
||||
Glide.with(this).load(url48).into(imageView48);
|
||||
ImageView imageView=view.findViewById(R.id.imageView44);
|
||||
|
||||
ImageView imageView49=view.findViewById(R.id.imageView49);
|
||||
String url49="http://106.53.194.250:30089/i/2024/06/19/6672b95c720ec.png";
|
||||
Glide.with(this).load(url49).into(imageView49);
|
||||
ImageView imageView50=view.findViewById(R.id.imageView50);
|
||||
String url50="http://106.53.194.250:30089/i/2024/06/19/6672b9ccb1337.png";
|
||||
Glide.with(this).load(url50).into(imageView50);
|
||||
ImageView imageView51=view.findViewById(R.id.imageView51);
|
||||
String url51="http://106.53.194.250:30089/i/2024/06/19/6672ba2346b2a.png";
|
||||
Glide.with(this).load(url51).into(imageView51);
|
||||
imageView.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
package com.hnucm.c202201020328;
|
||||
|
||||
public class System_messages {
|
||||
public String title;
|
||||
}
|
|
@ -0,0 +1,66 @@
|
|||
package com.hnucm.c202201020328;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.gyf.immersionbar.ImmersionBar;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class System_messagesActivity extends AppCompatActivity {
|
||||
RecyclerView recyclerView1;
|
||||
MyAdapter myAdapter;
|
||||
List<System_messages> system_messages=new ArrayList<>();
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_system_messages);
|
||||
ImmersionBar.with(this).init();
|
||||
recyclerView1=findViewById(R.id.recyclerview1);
|
||||
for (int i=1;i<=25;i++){
|
||||
System_messages systemMessages=new System_messages();
|
||||
String c=String.valueOf(i);
|
||||
systemMessages.title=c;
|
||||
system_messages.add(systemMessages);
|
||||
}
|
||||
myAdapter=new MyAdapter();
|
||||
recyclerView1.setAdapter(myAdapter);
|
||||
recyclerView1.setLayoutManager(new LinearLayoutManager(this));
|
||||
}
|
||||
public class MyAdapter extends RecyclerView.Adapter<MyViewHoler>{
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public MyViewHoler onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
||||
View view= LayoutInflater.from(System_messagesActivity.this).inflate(R.layout.item_system_messages,parent,false);
|
||||
MyViewHoler myViewHoler=new MyViewHoler(view);
|
||||
return myViewHoler;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(@NonNull MyViewHoler holder, int position) {
|
||||
holder.text.setText(system_messages.get(position).title);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemCount() {
|
||||
return system_messages.size();
|
||||
}
|
||||
}
|
||||
public class MyViewHoler extends RecyclerView.ViewHolder {
|
||||
TextView text;
|
||||
public MyViewHoler(@NonNull View itemView) {
|
||||
super(itemView);
|
||||
text=itemView.findViewById(R.id.textView115);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -36,9 +36,10 @@
|
|||
android:layout_height="60dp"
|
||||
android:layout_marginStart="48dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:text="TextView"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/text_shape1"
|
||||
android:gravity="center"
|
||||
android:text="您好,请问有什么可以帮您?"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView33" />
|
||||
|
||||
|
@ -49,7 +50,8 @@
|
|||
android:layout_marginEnd="15dp"
|
||||
android:background="@drawable/text_shape2"
|
||||
android:gravity="center"
|
||||
android:text="TextView"
|
||||
android:textSize="18sp"
|
||||
android:text="没事,就看下你在不在工作"
|
||||
app:layout_constraintEnd_toStartOf="@+id/imageView34"
|
||||
app:layout_constraintTop_toTopOf="@+id/imageView34" />
|
||||
|
||||
|
@ -121,14 +123,23 @@
|
|||
android:id="@+id/textView75"
|
||||
android:layout_width="216dp"
|
||||
android:layout_height="43dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:background="@drawable/setbar_bg"
|
||||
android:text="我来说几句..."
|
||||
android:textSize="25sp"
|
||||
android:textColor="#BBBBBB"
|
||||
android:textSize="25sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView74"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.592" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView112"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="20dp"
|
||||
android:background="#AFEEEE"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -68,7 +68,7 @@
|
|||
android:layout_height="33dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:text="微信昵称"
|
||||
android:text="菠萝吹雪"
|
||||
android:textColor="#797676"
|
||||
android:textSize="22sp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/textView78"
|
||||
|
@ -211,8 +211,8 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/imageView39"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".PublishActivity">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".System_messagesActivity">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout22"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView113"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="20dp"
|
||||
android:background="#AFEEEE"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView114"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:background="#AFEEEE"
|
||||
android:gravity="center"
|
||||
android:text="系统消息"
|
||||
android:textSize="27sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView113" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerview1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="80dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout22" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -686,12 +686,15 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/textView56"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:text="TextView"
|
||||
android:textSize="18sp"
|
||||
android:layout_width="107dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="6月18日"
|
||||
android:textColor="#101010"
|
||||
android:textSize="22sp"
|
||||
android:gravity="center"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.498"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout13" />
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
android:id="@+id/textView90"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:background="#F8F8F8"
|
||||
android:background="#AFEEEE"
|
||||
app:layout_constraintBottom_toTopOf="@+id/constraintLayout25"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -55,11 +55,12 @@
|
|||
android:id="@+id/textView93"
|
||||
android:layout_width="65dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_marginStart="48dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:text="25°~32°"
|
||||
android:textColor="#101010"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
tools:layout_editor_absoluteX="300dp" />
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView44" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView44"
|
||||
|
@ -72,11 +73,36 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/textView109"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
tools:layout_editor_absoluteX="300dp"
|
||||
tools:layout_editor_absoluteY="7dp" />
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="22dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="湖南中医药大学"
|
||||
android:textColor="#101010"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView44"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView46"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="23dp"
|
||||
android:layout_marginStart="12dp"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView44"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView93"
|
||||
tools:src="@tools:sample/avatars" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView118"
|
||||
android:layout_width="99dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:gravity="center"
|
||||
android:text="广场"
|
||||
android:textStyle="bold"
|
||||
android:textSize="22sp"
|
||||
app:layout_constraintEnd_toStartOf="@+id/imageView44"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
@ -96,9 +122,9 @@
|
|||
android:ellipsize="end"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:text="11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111122222222222222222222222222"
|
||||
android:text="我做了一个梦,一个很好玩的梦,我要记录下它。阳光灿烂,一直奔跑,一直跑一直跑一直跑一直跑一直跑一直跑一直跑一直跑。还在跑还在跑还在跑还在跑还在跑还在跑还在跑"
|
||||
|
||||
android:textColor="#BBBBBB"
|
||||
android:textColor="#BBBBBB"
|
||||
android:textSize="18dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -141,7 +167,7 @@
|
|||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1000dp"
|
||||
android:layout_height="600dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -164,7 +190,7 @@
|
|||
android:id="@+id/textView97"
|
||||
android:layout_width="77dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="用户介绍0"
|
||||
android:text="用户介绍1"
|
||||
android:textColor="#A39D9D"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView96"
|
||||
|
@ -187,8 +213,8 @@
|
|||
android:layout_marginStart="24dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="我做了一个梦,一个很好玩的梦,我要记录下它。"
|
||||
android:textColor="#101010"
|
||||
android:textSize="21sp"
|
||||
android:textColor="#BBBBBB"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView37" />
|
||||
|
@ -200,13 +226,14 @@
|
|||
android:layout_marginStart="24dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="阳光灿烂,一直奔跑,一直跑一直跑。"
|
||||
android:textColor="#101010"
|
||||
android:textSize="21sp"
|
||||
android:textColor="#BBBBBB"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintEnd_toEndOf="@+id/textView98"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView98"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView98" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout23"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -249,7 +276,9 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="TextView"
|
||||
android:text="分享"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
@ -270,7 +299,9 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="TextView"
|
||||
android:text="28"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
|
@ -302,7 +333,9 @@
|
|||
android:layout_height="30dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="TextView"
|
||||
android:text="250"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
|
@ -317,6 +350,183 @@
|
|||
tools:src="@tools:sample/avatars" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView47"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="8dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout23"
|
||||
tools:src="@tools:sample/avatars" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView119"
|
||||
android:layout_width="88dp"
|
||||
android:layout_height="26dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="用户昵称2"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView47"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout23" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView120"
|
||||
android:layout_width="77dp"
|
||||
android:layout_height="24dp"
|
||||
android:text="用户介绍1"
|
||||
android:textColor="#A39D9D"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView119"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView119" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView121"
|
||||
android:layout_width="357dp"
|
||||
android:layout_height="136dp"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="我做了一个梦,一个很好玩的梦,我要记录下它。阳光灿烂,一直奔跑,一直跑一直跑一直跑一直跑一直跑一直跑一直跑一直跑。还在跑还在跑还在跑还在跑还在跑还在跑还在跑"
|
||||
android:textColor="#BBBBBB"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView47" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="112dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView121">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView125"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#BBBBBB"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout26"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="49dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/constraintLayout24"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView122"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="分享"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView49"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginEnd="80dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@tools:sample/avatars" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout24"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="49dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/constraintLayout27"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/constraintLayout26"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView123"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="30"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView50"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginEnd="80dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="1.0"
|
||||
tools:src="@tools:sample/avatars" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout27"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="49dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toEndOf="@+id/constraintLayout24"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView124"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:text="210"
|
||||
android:textColor="#101010"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView51"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginEnd="80dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@tools:sample/avatars" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView48"
|
||||
android:layout_width="101dp"
|
||||
android:layout_height="103dp"
|
||||
android:layout_marginStart="24dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView121"
|
||||
tools:src="@tools:sample/avatars" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||||
android:background="#FFFFFF">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView115"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="33dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="消息标题0"
|
||||
android:textColor="#101010"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView116"
|
||||
android:layout_width="332dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="消息内容消息内容消息内容消息内容"
|
||||
android:textColor="#101010"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView115" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView117"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2dp"
|
||||
android:background="#BBBBBB"
|
||||
app:layout_constraintEnd_toEndOf="@+id/textView116"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView116"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView116" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue