Compare commits
5
Commits
c63416489c
..
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c82fdd28cf | ||
|
|
169d30f81f | ||
|
|
7799ce100c | ||
|
|
0935d7da52 | ||
|
|
b7a7be8a60 |
No files matched your search
@@ -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.
|
||||||
@@ -12,8 +12,8 @@ android {
|
|||||||
applicationId = "com.hyperling.tictactoe"
|
applicationId = "com.hyperling.tictactoe"
|
||||||
minSdk = 23
|
minSdk = 23
|
||||||
targetSdk = 37
|
targetSdk = 37
|
||||||
versionCode = 5
|
versionCode = 6
|
||||||
versionName = "1.1.1"
|
versionName = "1.1.2"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import android.util.Log
|
|||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
import androidx.activity.ComponentActivity
|
import androidx.activity.ComponentActivity
|
||||||
import androidx.activity.compose.setContent
|
import androidx.activity.compose.setContent
|
||||||
|
import androidx.activity.enableEdgeToEdge
|
||||||
import androidx.compose.foundation.clickable
|
import androidx.compose.foundation.clickable
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
@@ -28,18 +29,24 @@ import androidx.compose.ui.text.style.TextAlign
|
|||||||
import androidx.compose.ui.tooling.preview.Devices
|
import androidx.compose.ui.tooling.preview.Devices
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
|
import androidx.core.view.ViewCompat
|
||||||
|
import androidx.core.view.WindowCompat
|
||||||
|
import androidx.core.view.WindowInsetsCompat
|
||||||
|
|
||||||
class MainActivity : ComponentActivity() {
|
class MainActivity : ComponentActivity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
enableEdgeToEdge()
|
||||||
setContent {
|
setContent {
|
||||||
TicTacToeTheme {
|
TicTacToeTheme {
|
||||||
|
Box(Modifier.fillMaxSize().systemBarsPadding()) {
|
||||||
Surface {
|
Surface {
|
||||||
Game()
|
Game()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
|
|||||||
Reference in new issue
Block a user