Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
enable edge2edge
Browse files Browse the repository at this point in the history
  • Loading branch information
jiesou committed Jan 13, 2024
1 parent 7c3c93b commit f608842
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.core:core-ktx:1.9.0")
//implemenration("androidx.activity:activity:1.8.1")
implementation("androidx.activity:activity:1.8.1")
implementation("androidx.navigation:navigation-fragment-ktx:2.5.3")
implementation("com.google.android.material:material:1.9.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/top/jiecs/screener/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.navigation.ui.setupActionBarWithNavController
import androidx.navigation.ui.setupWithNavController
import com.google.android.material.bottomnavigation.BottomNavigationView
import top.jiecs.screener.databinding.ActivityMainBinding
import androidx.activity.enableEdgeToEdge

import com.google.android.material.snackbar.Snackbar

Expand All @@ -21,6 +22,7 @@ class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding

override fun onCreate(savedInstanceState: Bundle?) {
enableEdgeToEdge()
super.onCreate(savedInstanceState)

binding = ActivityMainBinding.inflate(layoutInflater)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package top.jiecs.screener.ui.settings;

public class SettingsAdapter {
}

0 comments on commit f608842

Please sign in to comment.