From b71e6c8a00b7a97780ac9a722191b9caaf4ca3ab Mon Sep 17 00:00:00 2001 From: wzy <945852110@qq.com> Date: Tue, 9 Nov 2021 17:26:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E5=87=A0=E4=B8=AA?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 8 +++++ .idea/SpeechSynthesis.iml | 9 +++++ .idea/compiler.xml | 19 ++++++++++ .idea/encodings.xml | 6 ++++ .idea/gradle.xml | 18 ++++++++++ .idea/jarRepositories.xml | 35 +++++++++++++++++++ .idea/misc.xml | 17 +++++++++ .idea/modules.xml | 8 +++++ .idea/runConfigurations.xml | 10 ++++++ .idea/vcs.xml | 7 ++++ client/Story/.idea/.gitignore | 8 +++++ client/Story/.idea/compiler.xml | 6 ++++ client/Story/.idea/gradle.xml | 18 ++++++++++ client/Story/.idea/jarRepositories.xml | 30 ++++++++++++++++ client/Story/.idea/misc.xml | 8 +++++ client/Story/.idea/runConfigurations.xml | 10 ++++++ client/Story/.idea/vcs.xml | 6 ++++ .../story/view/activity/MainActivity.java | 11 +++--- 18 files changed, 227 insertions(+), 7 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/SpeechSynthesis.iml create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/gradle.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 .idea/vcs.xml create mode 100644 client/Story/.idea/.gitignore create mode 100644 client/Story/.idea/compiler.xml create mode 100644 client/Story/.idea/gradle.xml create mode 100644 client/Story/.idea/jarRepositories.xml create mode 100644 client/Story/.idea/misc.xml create mode 100644 client/Story/.idea/runConfigurations.xml create mode 100644 client/Story/.idea/vcs.xml 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); + } });