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