diff --git a/app/src/main/java/it/leddaz/revancedupdater/MainActivity.kt b/app/src/main/java/it/leddaz/revancedupdater/MainActivity.kt index 9020ad34..01879b5a 100644 --- a/app/src/main/java/it/leddaz/revancedupdater/MainActivity.kt +++ b/app/src/main/java/it/leddaz/revancedupdater/MainActivity.kt @@ -13,6 +13,7 @@ import android.view.View import android.widget.Button import android.widget.TextView import android.widget.Toast +import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import com.android.volley.Request.Method.GET import com.android.volley.toolbox.StringRequest @@ -82,6 +83,7 @@ class MainActivity : AppCompatActivity() { * @property savedInstanceState */ override fun onCreate(savedInstanceState: Bundle?) { + enableEdgeToEdge() super.onCreate(savedInstanceState) DynamicColors.applyToActivityIfAvailable(this) setContentView(R.layout.activity_main) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 28f02197..f903cac2 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -2,12 +2,12 @@ diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 0f7fc4ba..edd25c07 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -2,9 +2,6 @@