From c2eea87750c7d95942692bef1b04fe78d52ea08e Mon Sep 17 00:00:00 2001 From: KWY0218 Date: Sat, 16 Jul 2022 22:52:44 +0900 Subject: [PATCH] =?UTF-8?q?#62=20[chore]=20activity,=20screen=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/AndroidManifest.xml | 9 +++++---- .../hous_aos/ui/editrules/EditRulesActivity.kt | 15 +++++++++++++++ .../hous/hous_aos/ui/editrules/EditRulesScreen.kt | 7 +++++++ app/src/main/res/layout/activity_edit_rules.xml | 14 ++++++++++++++ 4 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesActivity.kt create mode 100644 app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesScreen.kt create mode 100644 app/src/main/res/layout/activity_edit_rules.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 97ff9d65..61610d4c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,9 +16,12 @@ android:supportsRtl="true" android:theme="@style/Theme.HousAos" tools:targetApi="31"> + + android:exported="true"> @@ -27,9 +30,7 @@ - - + android:exported="true"> \ No newline at end of file diff --git a/app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesActivity.kt b/app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesActivity.kt new file mode 100644 index 00000000..3fafeb93 --- /dev/null +++ b/app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesActivity.kt @@ -0,0 +1,15 @@ +package com.hous.hous_aos.ui.editrules + +import android.os.Bundle +import androidx.appcompat.app.AppCompatActivity +import com.hous.hous_aos.databinding.ActivityEditRulesBinding + +class EditRulesActivity : AppCompatActivity() { + private lateinit var binding: ActivityEditRulesBinding + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + binding = ActivityEditRulesBinding.inflate(layoutInflater) + setContentView(binding.root) + binding.cvEditRuleScreen.setContent { EditRulesScreen() } + } +} diff --git a/app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesScreen.kt b/app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesScreen.kt new file mode 100644 index 00000000..9cc37c7c --- /dev/null +++ b/app/src/main/java/com/hous/hous_aos/ui/editrules/EditRulesScreen.kt @@ -0,0 +1,7 @@ +package com.hous.hous_aos.ui.editrules + +import androidx.compose.runtime.Composable + +@Composable +fun EditRulesScreen() { +} diff --git a/app/src/main/res/layout/activity_edit_rules.xml b/app/src/main/res/layout/activity_edit_rules.xml new file mode 100644 index 00000000..94932b33 --- /dev/null +++ b/app/src/main/res/layout/activity_edit_rules.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file