冲刺第二阶段三
老师的功能
package com.example.shazidouhuiapp.activity; import android.os.Bundle; import android.widget.Toast; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.example.shazidouhuiapp.R; public class teacherinterface extends AppCompatActivity { @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.teacher); Toast.makeText(this, "来到了老师界面", Toast.LENGTH_SHORT).show(); } }