diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index a507e9a..8dd057d 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -7,6 +7,11 @@
+
+
+
+
+
+
+
diff --git a/app/src/main/java/com/example/myapplication/MineFragment.java b/app/src/main/java/com/example/myapplication/MineFragment.java
index 6aa32af..e255e2d 100644
--- a/app/src/main/java/com/example/myapplication/MineFragment.java
+++ b/app/src/main/java/com/example/myapplication/MineFragment.java
@@ -51,6 +51,36 @@ public class MineFragment extends Fragment {
}
});
+ //团长入驻
+ ImageButton imageButton2 = view.findViewById(R.id.imageButton16);
+ imageButton2.setOnClickListener(new View.OnClickListener(){
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(MineFragment.this.getActivity(), tuanzhangruzhuActivity.class);
+ startActivity(intent);
+ }
+ });
+
+ //消费积分
+ ImageButton imageButton3 = view.findViewById(R.id.imageButton19);
+ imageButton3.setOnClickListener(new View.OnClickListener(){
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(MineFragment.this.getActivity(), xiaofeijifenActivity.class);
+ startActivity(intent);
+ }
+ });
+
+ //我的关注
+ ImageButton imageButton4 = view.findViewById(R.id.imageButton11);
+ imageButton4.setOnClickListener(new View.OnClickListener(){
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(MineFragment.this.getActivity(), wodeguanzhuActivity.class);
+ startActivity(intent);
+ }
+ });
+
return view;
}
}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/tuanzhangruzhuActivity.java b/app/src/main/java/com/example/myapplication/tuanzhangruzhuActivity.java
index 80cba0a..61ff2fe 100644
--- a/app/src/main/java/com/example/myapplication/tuanzhangruzhuActivity.java
+++ b/app/src/main/java/com/example/myapplication/tuanzhangruzhuActivity.java
@@ -3,6 +3,10 @@ package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
+import android.view.View;
+import android.content.Intent;
+import android.widget.Button;
+import android.widget.ImageButton;
public class tuanzhangruzhuActivity extends AppCompatActivity {
@@ -10,5 +14,31 @@ public class tuanzhangruzhuActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_tuanzhangruzhu);
+
+ // 返回
+ ImageButton imageButton = findViewById(R.id.imageButton24);
+ imageButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(tuanzhangruzhuActivity.this,yindaoActivity.class);
+ intent.putExtra("fragment","MineFragment");
+ startActivity(intent);
+ }
+ });
+
+ //确认注册
+ Button button = findViewById(R.id.button9);
+ button.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(tuanzhangruzhuActivity.this,yindaoActivity.class);
+ intent.putExtra("fragment","MineFragment");
+ startActivity(intent);
+ }
+ });
+
+ //上传照片
+ ImageButton imageButton1 = findViewById(R.id.imageButton26);
+
}
}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/wodeguanzhuActivity.java b/app/src/main/java/com/example/myapplication/wodeguanzhuActivity.java
new file mode 100644
index 0000000..bcee51e
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/wodeguanzhuActivity.java
@@ -0,0 +1,29 @@
+package com.example.myapplication;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.ImageButton;
+
+public class wodeguanzhuActivity extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_wodeguanzhu);
+
+ //返回
+ ImageButton imageButton = findViewById(R.id.imageButton29);
+ imageButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(wodeguanzhuActivity.this,yindaoActivity.class);
+ intent.putExtra("fragment","MineFragment");
+ startActivity(intent);
+ }
+ });
+
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/xiaofeijifenActivity.java b/app/src/main/java/com/example/myapplication/xiaofeijifenActivity.java
new file mode 100644
index 0000000..4f7ada1
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/xiaofeijifenActivity.java
@@ -0,0 +1,29 @@
+package com.example.myapplication;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.ImageButton;
+
+public class xiaofeijifenActivity extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_xiaofeijifen);
+
+ //返回
+ ImageButton imageButton = findViewById(R.id.imageButton25);
+ imageButton.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Intent intent = new Intent(xiaofeijifenActivity.this,yindaoActivity.class);
+ intent.putExtra("fragment","MineFragment");
+ startActivity(intent);
+ }
+ });
+
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/res/drawable/tianjiatupian.png b/app/src/main/res/drawable/tianjiatupian.png
new file mode 100644
index 0000000..56a42ed
Binary files /dev/null and b/app/src/main/res/drawable/tianjiatupian.png differ
diff --git a/app/src/main/res/layout/activity_dengjixiangqing.xml b/app/src/main/res/layout/activity_dengjixiangqing.xml
index 5daa8b9..d6c5b47 100644
--- a/app/src/main/res/layout/activity_dengjixiangqing.xml
+++ b/app/src/main/res/layout/activity_dengjixiangqing.xml
@@ -61,14 +61,15 @@
+ app:layout_constraintTop_toTopOf="parent">
+ android:textStyle="bold" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_wodeguanzhu.xml b/app/src/main/res/layout/activity_wodeguanzhu.xml
new file mode 100644
index 0000000..9b8434a
--- /dev/null
+++ b/app/src/main/res/layout/activity_wodeguanzhu.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_xiaofeijifen.xml b/app/src/main/res/layout/activity_xiaofeijifen.xml
new file mode 100644
index 0000000..a707438
--- /dev/null
+++ b/app/src/main/res/layout/activity_xiaofeijifen.xml
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml
index c6ab8a6..619eacd 100644
--- a/app/src/main/res/layout/fragment_home.xml
+++ b/app/src/main/res/layout/fragment_home.xml
@@ -125,6 +125,15 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/constraintLayout3"/>
+ app:layout_constraintTop_toBottomOf="@+id/constraintLayout3">
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/home_moban.xml b/app/src/main/res/layout/home_moban.xml
index 77d9ef6..c8d309e 100644
--- a/app/src/main/res/layout/home_moban.xml
+++ b/app/src/main/res/layout/home_moban.xml
@@ -1,6 +1,119 @@
+ android:layout_height="180dp">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file