Skip to content

Commit

Permalink
Apply appcompat NoActionBar theme in android sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
onseok committed Dec 10, 2023
1 parent f6a3f77 commit 93cf5b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ androidLibrary = { id = "com.android.library", version.ref = "agp" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "compose" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
5 changes: 3 additions & 2 deletions sample/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ android {
dependencies {
implementation(project(":sample:common"))
implementation(libs.androidx.activity.compose)
implementation(libs.appcompat)
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material3)
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
}
}
5 changes: 3 additions & 2 deletions sample/android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

<application
android:allowBackup="false"
android:supportsRtl="true">
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity
android:name="com.preat.peekaboo.sample.MainActivity"
android:exported="true"
Expand All @@ -17,4 +18,4 @@
</activity>
</application>

</manifest>
</manifest>

0 comments on commit 93cf5b5

Please sign in to comment.