add components

This commit is contained in:
2023-12-24 21:54:27 +03:00
parent d1de9be97f
commit 34ce33f4a3
30 changed files with 604 additions and 150 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ android {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
kotlinCompilerExtensionVersion = "1.5.7"
}
packaging {
resources {
@@ -104,7 +104,7 @@ dependencies {
androidTestImplementation(libs.ui.test.junit4)
debugImplementation(libs.ui.tooling)
debugImplementation(libs.ui.test.manifest)
implementation(project(mapOf("path" to ":devmenu")))
implementation ("commons-codec:commons-codec:1.15")
+4 -3
View File
@@ -1,7 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity android:name="com.ea.ironmonkey.devmenu.MainActivity"
<application android:name="com.megboyzz.devmenu.App">
<activity
android:name="com.megboyzz.devmenu.MainActivity"
android:theme="@android:style/Theme.Material.Light.NoActionBar"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -9,5 +11,4 @@
</intent-filter>
</activity>
</application>
</manifest>
@@ -179,7 +179,7 @@ class GameActivity : ComponentActivity(), DrawFrameListener {
// Calculate screen-related score
val screenScore =
sqrt((screenWidth * screenHeight).toDouble()) * 0.0010000000474974513 * 0.5
sqrt((screenWidth * screenHeight).toDouble()) * 0.001 * 0.5
// Log CPU information
try {
Binary file not shown.