课程设计

This commit is contained in:
15873037570 2024-06-10 15:18:27 +08:00
commit 7b355bfb75
5 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,7 @@
<<<<<<< HEAD
=======
<?xml version="1.0" encoding="UTF-8"?>
>>>>>>> 7de82cb39d5be1fea7ad528111283dc9b1a67fdb
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">

View File

@ -14,9 +14,12 @@
tools:targetApi="31">
<activity
android:name=".MainActivity"
<<<<<<< HEAD
android:exported="false" />
<activity
android:name=".Login"
=======
>>>>>>> 7de82cb39d5be1fea7ad528111283dc9b1a67fdb
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -1,6 +1,7 @@
package com.huncm.c202208040227;
import androidx.appcompat.app.AppCompatActivity;
<<<<<<< HEAD
import androidx.constraintlayout.widget.ConstraintLayout;
import android.content.Intent;
@ -13,10 +14,18 @@ public class MainActivity extends AppCompatActivity {
RoomFragment roomFragment =new RoomFragment();
AiFragment aiFragment = new AiFragment();
MyFragment myFragment = new MyFragment();
=======
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
>>>>>>> 7de82cb39d5be1fea7ad528111283dc9b1a67fdb
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
<<<<<<< HEAD
getSupportFragmentManager().beginTransaction()
.add(R.id.Layout,usuallyFragment).commit();
getSupportFragmentManager().beginTransaction()
@ -60,5 +69,7 @@ public class MainActivity extends AppCompatActivity {
}
});
=======
>>>>>>> 7de82cb39d5be1fea7ad528111283dc9b1a67fdb
}
}

View File

@ -6,6 +6,7 @@
android:layout_height="match_parent"
tools:context=".MainActivity">
<<<<<<< HEAD
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
@ -102,4 +103,15 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
=======
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
>>>>>>> 7de82cb39d5be1fea7ad528111283dc9b1a67fdb
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -1,5 +1,8 @@
<resources>
<string name="app_name">PenGYan</string>
<<<<<<< HEAD
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
=======
>>>>>>> 7de82cb39d5be1fea7ad528111283dc9b1a67fdb
</resources>