-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from CaZaIt/feature/mainactivity
[Feat] main activity 추가
- Loading branch information
Showing
14 changed files
with
95 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
app/src/main/kotlin/org/cazait/cazaitandroid/ui/MainActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.cazait.cazaitandroid.ui | ||
|
||
import android.os.Bundle | ||
import androidx.activity.compose.setContent | ||
import androidx.appcompat.app.AppCompatActivity | ||
import androidx.compose.material3.Surface | ||
import androidx.compose.material3.Text | ||
import dagger.hilt.android.AndroidEntryPoint | ||
import org.cazait.cazaitandroid.core.designsystem.theme.CazaitTheme | ||
|
||
@AndroidEntryPoint | ||
class MainActivity: AppCompatActivity() { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
|
||
setContent { | ||
CazaitTheme { | ||
Surface { | ||
Text(text = "hello cazait") | ||
} | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
build-logic/src/main/kotlin/cazait.android.application.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
import gradle.kotlin.dsl.accessors._9885c8525475a2a77e0b650bdf1e3c81.androidTestImplementation | ||
import gradle.kotlin.dsl.accessors._9885c8525475a2a77e0b650bdf1e3c81.implementation | ||
import org.cazait.cazaitandroid.configureHiltAndroid | ||
import org.cazait.cazaitandroid.configureKotestAndroid | ||
import org.cazait.cazaitandroid.configureKotlinAndroid | ||
import org.cazait.cazaitandroid.libs | ||
|
||
plugins { | ||
id("com.android.application") | ||
id("cazait.android.compose") | ||
} | ||
|
||
configureKotlinAndroid() | ||
configureHiltAndroid() | ||
configureKotestAndroid() | ||
|
||
dependencies { | ||
val libs = project.extensions.libs | ||
implementation(libs.findLibrary("hilt.navigation.compose").get()) | ||
implementation(libs.findLibrary("androidx.compose.navigation").get()) | ||
androidTestImplementation(libs.findLibrary("androidx.compose.navigation.test").get()) | ||
|
||
implementation(libs.findLibrary("androidx.lifecycle.viewModelCompose").get()) | ||
implementation(libs.findLibrary("androidx.lifecycle.runtimeCompose").get()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<manifest> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="Theme.CazaitAndroid" parent="Theme.AppCompat.DayNight.NoActionBar" /> | ||
|
||
<style name="Theme.CazaitAndroid.TransparentSystemBar"> | ||
<item name="android:statusBarColor">@android:color/transparent</item> | ||
<item name="android:navigationBarColor">@android:color/transparent</item> | ||
</style> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<manifest> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters