- Add Picture-in-Picture button with picture_in_picture_alt_24px icon and 'PIP' text
- Make right navigation drawer scrollable by wrapping in ScrollView
- Wire up PiP button functionality to enter Picture-in-Picture mode
- Position PiP button between Saves and Exit Game for logical flow
- Maintains consistent styling with other drawer buttons
Features:
- Users can now easily access PiP mode from the right drawer
- Right drawer is now scrollable to accommodate more buttons
- PiP button automatically closes drawer and enters PiP mode
- Consistent Material Design theming with brand primary colors
- Add EdgeToEdge.enable() for Android 15+ compatibility
- Replace deprecated setSystemUiVisibility with modern WindowInsetsController
- Add proper window insets handling for edge-to-edge display
- Implement comprehensive Picture-in-Picture support with:
* Automatic PiP entry when home button pressed during gameplay
* Play/Pause controls in PiP mode
* Proper UI hiding/showing when entering/exiting PiP
* 16:9 aspect ratio optimized for gaming
- Add androidx.core:core-ktx dependency for EdgeToEdge support
- Update AndroidManifest.xml with supportsPictureInPicture attribute
Addresses Google Play Console suggestions:
- Edge-to-edge compatibility for Android 15
- Deprecated API warnings
- Picture-in-picture recommendation