You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB

5 months ago
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
feat: implement WindowManager-based floating FAB with edge docking - Replace broken FloatingComposeOverlay with EnhancedFloatingFAB - True floating behavior using WindowManager overlay system - Edge docking: automatic snap to screen edges within 50dp threshold - Touch-through support: only FAB intercepts touches, rest passes to underlying apps - Expandable menu with 5 detection options (DETECT, SHINY, POKEBALL, ALL, DEBUG) - Material Design styling with circular backgrounds and proper elevation - Haptic feedback with permission checking and graceful fallbacks - Auto-hide menu after 3 seconds of inactivity - Smooth animations: 300ms edge snapping, staggered menu expansion - Added VIBRATE permission to AndroidManifest.xml - Added Material Design Components dependency Technical implementation: - WindowManager overlay with WRAP_CONTENT sizing for precise touch handling - ImageButton with custom GradientDrawable backgrounds for Material styling - ValueAnimator for smooth edge snapping with AccelerateDecelerateInterpolator - ObjectAnimator for menu item animations with staggered delays - Safe vibration with runtime permission checks and exception handling Addresses critical requirements from UI_MODERNIZATION_TASKS.md: ✅ Truly floating like CalcIV - not activity-based ✅ Edge docking with smooth animation ✅ Touch-through for underlying Pokemon GO interaction ✅ Professional Material 3 design ✅ No system UI interference 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
5 months ago
<uses-permission android:name="android.permission.VIBRATE" />
5 months ago
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.PokeGoalsHelper">
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.PokeGoalsHelper">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:name=".ScreenCaptureService"
android:foregroundServiceType="mediaProjection"
android:exported="false" />
</application>
5 months ago
</manifest>