diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..6ac1cc3 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ diff --git a/.idea/SpeechSynthesis.iml b/.idea/SpeechSynthesis.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/SpeechSynthesis.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..3c05983 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..c0026e3 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..891c54a --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..9b53582 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..af7f5b9 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..32a59d0 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..797acea --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..8306744 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/client/Story/.idea/.gitignore b/client/Story/.idea/.gitignore new file mode 100644 index 0000000..6ac1cc3 --- /dev/null +++ b/client/Story/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ diff --git a/client/Story/.idea/compiler.xml b/client/Story/.idea/compiler.xml new file mode 100644 index 0000000..fb7f4a8 --- /dev/null +++ b/client/Story/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/client/Story/.idea/gradle.xml b/client/Story/.idea/gradle.xml new file mode 100644 index 0000000..50caf2c --- /dev/null +++ b/client/Story/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/client/Story/.idea/jarRepositories.xml b/client/Story/.idea/jarRepositories.xml new file mode 100644 index 0000000..0380d8d --- /dev/null +++ b/client/Story/.idea/jarRepositories.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/client/Story/.idea/misc.xml b/client/Story/.idea/misc.xml new file mode 100644 index 0000000..3e79c5f --- /dev/null +++ b/client/Story/.idea/misc.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/client/Story/.idea/runConfigurations.xml b/client/Story/.idea/runConfigurations.xml new file mode 100644 index 0000000..797acea --- /dev/null +++ b/client/Story/.idea/runConfigurations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/client/Story/.idea/vcs.xml b/client/Story/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/client/Story/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/client/Story/app/src/main/java/com/example/story/view/activity/MainActivity.java b/client/Story/app/src/main/java/com/example/story/view/activity/MainActivity.java index 5924725..6ea1bd8 100644 --- a/client/Story/app/src/main/java/com/example/story/view/activity/MainActivity.java +++ b/client/Story/app/src/main/java/com/example/story/view/activity/MainActivity.java @@ -1,26 +1,23 @@ package com.example.story.view.activity; -import androidx.appcompat.app.AppCompatActivity; - -import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; - +import androidx.appcompat.app.AppCompatActivity; import com.example.story.R; public class MainActivity extends AppCompatActivity { Button login_btn; + @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - login_btn=(Button)findViewById(R.id.btn_login); + login_btn = findViewById(R.id.btn_login); login_btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - Intent intent =new Intent(MainActivity.this,HomeActivity.class); - startActivity(intent); + } });