From cd78f8fd10ec66a5ea4dac83bb99e975d5723b70 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Tue, 18 Oct 2022 13:58:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E9=A1=B5=E9=9D=A2=E7=9A=84activity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/AndroidManifest.xml | 9 ++++ .../devcontrol/ui/device/DeviceActivity.java | 20 +++++++++ app/src/main/res/layout/device_activity.xml | 43 +++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 app/src/main/java/cc/niushuai/project/devcontrol/ui/device/DeviceActivity.java create mode 100644 app/src/main/res/layout/device_activity.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index fa1631f..1486a04 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -18,6 +18,15 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/ui/device/DeviceActivity.java b/app/src/main/java/cc/niushuai/project/devcontrol/ui/device/DeviceActivity.java new file mode 100644 index 0000000..25c7323 --- /dev/null +++ b/app/src/main/java/cc/niushuai/project/devcontrol/ui/device/DeviceActivity.java @@ -0,0 +1,20 @@ +package cc.niushuai.project.devcontrol.ui.device; + +import android.os.Bundle; + +import androidx.appcompat.app.AppCompatActivity; + +import cc.niushuai.project.devcontrol.databinding.DeviceActivityBinding; + +public class DeviceActivity extends AppCompatActivity { + + private DeviceActivityBinding binding; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + binding = DeviceActivityBinding.inflate(getLayoutInflater()); + setContentView(binding.getRoot()); + } +} diff --git a/app/src/main/res/layout/device_activity.xml b/app/src/main/res/layout/device_activity.xml new file mode 100644 index 0000000..a894b93 --- /dev/null +++ b/app/src/main/res/layout/device_activity.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + \ No newline at end of file