The screen was built entirely from raw android.widget.* views with no theme applied at all, so it never had a chance to follow system dark/light mode and looked dated regardless. Adds AppCompat + Material Components, switches SettingsActivity to AppCompatActivity with a Theme.Material3. DayNight theme, and rebuilds the screen with Material widgets (cards, chips for the hidden-packages list, proper text fields). Also adds a launcher icon (previously none): a vector adaptive icon, a moon-like disc partially eclipsed by a diagonal veil in the background color — no image tool involved, just XML. Also renames the per-app "Remove" button to "Apply defaults (hide everything)" — "Remove" read as removing the app from the list, not resetting it to defaults, which is all it actually does. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
39 lines
784 B
Kotlin
39 lines
784 B
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "space.bdeshi.veil"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "space.bdeshi.veil"
|
|
minSdk = 27
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("de.robv.android.xposed:api:82")
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
implementation("com.google.android.material:material:1.12.0")
|
|
}
|