Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.
feat: Replace launcher icon with in-app logo and add drawable resources
Durganshu Mishra855c98cab20f
diff --git a/app/src/main/java/com/gotcha/ui/AssistiveBallOverlay.kt b/app/src/main/java/com/gotcha/ui/AssistiveBallOverlay.ktindex 7470f33..7cf6d73 100644--- a/app/src/main/java/com/gotcha/ui/AssistiveBallOverlay.kt+++ b/app/src/main/java/com/gotcha/ui/AssistiveBallOverlay.kt@@ -264,7 +264,9 @@ class AssistiveBallOverlay(context: Context) {val size = dp(BALL_SIZE_DP)return android.widget.ImageView(appContext).apply {contentDescription = ASSISTIVE_BALL_CONTENT_DESCRIPTION- setImageResource(R.mipmap.ic_launcher_round)+ // The in-app mark. The launcher icon is adaptive now, so it would+ // draw at two-thirds size inside its own safe zone.+ setImageResource(R.drawable.gotcha_logo)scaleType = android.widget.ImageView.ScaleType.CENTER_CROPalpha = PEEK_ALPHAsetOnTouchListener(ballTouchListener())diff --git a/app/src/main/java/com/gotcha/ui/ChatScreen.kt b/app/src/main/java/com/gotcha/ui/ChatScreen.ktindex cf812ba..4accb55 100644--- a/app/src/main/java/com/gotcha/ui/ChatScreen.kt+++ b/app/src/main/java/com/gotcha/ui/ChatScreen.kt@@ -216,7 +216,9 @@ fun ChatScreen(horizontalAlignment = Alignment.CenterHorizontally) {ComposeImage(- painter = painterResource(R.mipmap.ic_launcher_round),+ // The in-app mark, not the launcher icon: @mipmap/ic_launcher_round+ // is an adaptive-icon XML, which painterResource cannot load.+ painter = painterResource(R.drawable.gotcha_logo),contentDescription = "Gotcha logo",modifier = Modifier.size(96.dp).clip(CircleShape))diff --git a/app/src/main/res/drawable-hdpi/gotcha_logo.png b/app/src/main/res/drawable-hdpi/gotcha_logo.pngnew file mode 100644index 0000000..dc994afBinary files /dev/null and b/app/src/main/res/drawable-hdpi/gotcha_logo.png differdiff --git a/app/src/main/res/drawable-mdpi/gotcha_logo.png b/app/src/main/res/drawable-mdpi/gotcha_logo.pngnew file mode 100644index 0000000..f2d4c5eBinary files /dev/null and b/app/src/main/res/drawable-mdpi/gotcha_logo.png differdiff --git a/app/src/main/res/drawable-xhdpi/gotcha_logo.png b/app/src/main/res/drawable-xhdpi/gotcha_logo.pngnew file mode 100644index 0000000..d9c7091Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/gotcha_logo.png differdiff --git a/app/src/main/res/drawable-xxhdpi/gotcha_logo.png b/app/src/main/res/drawable-xxhdpi/gotcha_logo.pngnew file mode 100644index 0000000..87b3dcbBinary files /dev/null and b/app/src/main/res/drawable-xxhdpi/gotcha_logo.png differdiff --git a/app/src/main/res/drawable-xxxhdpi/gotcha_logo.png b/app/src/main/res/drawable-xxxhdpi/gotcha_logo.pngnew file mode 100644index 0000000..cb76f6cBinary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/gotcha_logo.png differ