diff --git a/app/CHANGELOG.md b/app/CHANGELOG.md new file mode 100644 index 0000000..8c68047 --- /dev/null +++ b/app/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +Update history of this app. + +## 1.1.2 + +**More Fixes** + +- Correctly apply background color 333333 to icons. +- Ensure activity sits above the navigation buttons on newer version of Android (if they exist). + +## 1.1.0 + +**Fix App Icon** + +- Fix app icon for some versions of Android. +- Update to the latest versions of internal plugins so that app can be compiled successfully. +- Now targets Android SDK 37. + +## 1.1.0 + +**Update Android Target; Release Old Commits** + +- Update to SDK 36. +- AI fixes and UI improvements. +- Correct download URL. + +Note that this release uses a new key due to the old one not existing in the keystore. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9bd012a..87b5cb8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -12,8 +12,8 @@ android { applicationId = "com.hyperling.tictactoe" minSdk = 23 targetSdk = 37 - versionCode = 5 - versionName = "1.1.1" + versionCode = 6 + versionName = "1.1.2" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { diff --git a/app/src/main/ic_launcher-playstore.png b/app/src/main/ic_launcher-playstore.png index b3663a8..7d1f93b 100644 Binary files a/app/src/main/ic_launcher-playstore.png and b/app/src/main/ic_launcher-playstore.png differ diff --git a/app/src/main/java/com/hyperling/tictactoe/MainActivity.kt b/app/src/main/java/com/hyperling/tictactoe/MainActivity.kt index e17010f..818bff2 100644 --- a/app/src/main/java/com/hyperling/tictactoe/MainActivity.kt +++ b/app/src/main/java/com/hyperling/tictactoe/MainActivity.kt @@ -7,6 +7,7 @@ import android.util.Log import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent +import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.material.icons.Icons @@ -28,14 +29,20 @@ import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp +import androidx.core.view.ViewCompat +import androidx.core.view.WindowCompat +import androidx.core.view.WindowInsetsCompat class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) + enableEdgeToEdge() setContent { TicTacToeTheme { - Surface { - Game() + Box(Modifier.fillMaxSize().systemBarsPadding()) { + Surface { + Game() + } } } } diff --git a/app/src/main/res/drawable/ic_launcher_monochrome.xml b/app/src/main/res/drawable/ic_launcher_monochrome.xml index f0aeb31..dcaf02e 100644 --- a/app/src/main/res/drawable/ic_launcher_monochrome.xml +++ b/app/src/main/res/drawable/ic_launcher_monochrome.xml @@ -10,11 +10,11 @@ android:translateY="60.38376"> + android:fillColor="#333333"/> + android:fillColor="#333333"/> + android:fillColor="#333333"/> \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png index d88a2b9..83e2dd4 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index d88a2b9..83e2dd4 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png index 024121a..957ffcd 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index 024121a..957ffcd 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png index c06c23b..b46b258 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index c06c23b..b46b258 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index f6d8866..88f9d7f 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index f6d8866..88f9d7f 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 1803774..63329b0 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index 1803774..63329b0 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/art/drawing05.png b/art/drawing05.png index cbb93f2..e6c0708 100644 Binary files a/art/drawing05.png and b/art/drawing05.png differ