更新 src/main/java/com/hnucm/music/MainActivity.java

This commit is contained in:
lucas 2024-05-30 08:04:59 +00:00
parent 609b1c84ce
commit c74f6a6705
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//test
ImageView imageView = findViewById(R.id.imageView);
findViewById(R.id.button).setOnClickListener(new View.OnClickListener() {
@Override