From 7f4c7f25a53b2f8532af5d4af81b5456d6895710 Mon Sep 17 00:00:00 2001 From: Jaesung Lee Date: Sun, 9 Jul 2023 17:49:16 +0900 Subject: [PATCH] =?UTF-8?q?[style]=20#111=20HomeActivity=20=EB=84=A4?= =?UTF-8?q?=EC=9D=B4=EB=B0=8D=20=EB=B3=80=EA=B2=BD=20->=20MainActivity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- presentation/src/main/AndroidManifest.xml | 16 ++++---- .../MainActivity.kt} | 35 ++++++------------ .../src/main/res/layout/activity_home.xml | 37 ------------------- .../src/main/res/navigation/graph_signal.xml | 2 +- 4 files changed, 22 insertions(+), 68 deletions(-) rename presentation/src/main/java/com/mashup/presentation/{feature/home/HomeActivity.kt => navigation/MainActivity.kt} (72%) delete mode 100644 presentation/src/main/res/layout/activity_home.xml diff --git a/presentation/src/main/AndroidManifest.xml b/presentation/src/main/AndroidManifest.xml index 1bd3d7ab4..364c57f32 100644 --- a/presentation/src/main/AndroidManifest.xml +++ b/presentation/src/main/AndroidManifest.xml @@ -3,9 +3,14 @@ + android:name=".navigation.MainActivity" + android:exported="true" + android:windowSoftInputMode="adjustResize" > + + + + + - - - - + (R.layout.activity_home) { // private val navHostFragment by lazy { // supportFragmentManager.findFragmentById(binding.fcvHome.id) as NavHostFragment @@ -64,12 +62,3 @@ import dagger.hilt.android.AndroidEntryPoint // navigationItemView.addView(signalItemView) // } //} -class HomeActivity : ComponentActivity() { - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - - setThemeContent { - KeyLinkApp() - } - } -} \ No newline at end of file diff --git a/presentation/src/main/res/layout/activity_home.xml b/presentation/src/main/res/layout/activity_home.xml deleted file mode 100644 index f79473919..000000000 --- a/presentation/src/main/res/layout/activity_home.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/presentation/src/main/res/navigation/graph_signal.xml b/presentation/src/main/res/navigation/graph_signal.xml index c33ea5d8c..6ce9d7c59 100644 --- a/presentation/src/main/res/navigation/graph_signal.xml +++ b/presentation/src/main/res/navigation/graph_signal.xml @@ -37,7 +37,7 @@ \ No newline at end of file