From 93cf5b5aac63576c6338e6c2de18685aeef4c946 Mon Sep 17 00:00:00 2001 From: wonseok Date: Mon, 11 Dec 2023 08:55:49 +0900 Subject: [PATCH] Apply appcompat NoActionBar theme in android sample app --- gradle/libs.versions.toml | 2 +- sample/android/build.gradle.kts | 5 +++-- sample/android/src/main/AndroidManifest.xml | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 88ea5e0..c2ec7f4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } \ No newline at end of file +spotless = { id = "com.diffplug.spotless", version.ref = "spotless" } diff --git a/sample/android/build.gradle.kts b/sample/android/build.gradle.kts index 20310e4..173dd32 100644 --- a/sample/android/build.gradle.kts +++ b/sample/android/build.gradle.kts @@ -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) } } diff --git a/sample/android/src/main/AndroidManifest.xml b/sample/android/src/main/AndroidManifest.xml index 4995d70..49b66eb 100644 --- a/sample/android/src/main/AndroidManifest.xml +++ b/sample/android/src/main/AndroidManifest.xml @@ -5,7 +5,8 @@ + android:supportsRtl="true" + android:theme="@style/Theme.AppCompat.Light.NoActionBar"> - \ No newline at end of file +