Drop explicitly coordinatorlayout usage

This commit is contained in:
GG Bond authored and Vladimir Dostoyevskiy committed 2023-12-08 21:46:06 +08:00
1 parent 588f78e598
commit bc654e98b8
3 files changed
+3 -7

No files matched your search

-1
View File
@@ -213,7 +213,6 @@ dependencies {
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.constraintlayout.compose)
implementation(libs.androidx.coordinatorlayout)
// https://developer.android.com/jetpack/androidx/releases/lifecycle
implementation(libs.androidx.lifecycle.process)
implementation(libs.androidx.lifecycle.compose)
+3 -4
View File
@@ -1,9 +1,8 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/reader_container"
@@ -113,4 +112,4 @@
</FrameLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</FrameLayout>
-2
View File
@@ -7,7 +7,6 @@ androidx-appcompat = "1.6.1"
androidx-biometric = "1.2.0-alpha05"
androidx-browser = "1.7.0"
androidx-constraintlayout-compose = "1.1.0-alpha13"
androidx-coordinatorlayout = "1.2.0"
androidx-core = "1.12.0"
androidx-core-splashscreen = "1.1.0-alpha02"
androidx-lifecycle = "2.7.0-rc01"
@@ -44,7 +43,6 @@ androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "a
androidx-biometric = { module = "androidx.biometric:biometric-ktx", version.ref = "androidx-biometric" }
androidx-browser = { module = "androidx.browser:browser", version.ref = "androidx-browser" }
androidx-constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "androidx-constraintlayout-compose" }
androidx-coordinatorlayout = { module = "androidx.coordinatorlayout:coordinatorlayout", version.ref = "androidx-coordinatorlayout" }
androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "androidx-core-splashscreen" }
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "androidx-lifecycle" }