Skip to content

Develop - Color picker API impl#239

Merged
sameerasw merged 6 commits intomainfrom
develop
Feb 27, 2026
Merged

Develop - Color picker API impl#239
sameerasw merged 6 commits intomainfrom
develop

Conversation

@sameerasw
Copy link
Owner

This pull request introduces a new color picker feature, improves resource optimization, and refines UI actions for the main activity. The most important changes are the addition of a custom ColorPickerActivity, updates to resource packaging and Proguard rules, and enhancements to the main activity's UI logic for tab-specific actions.

Color Picker Feature

  • Added a new ColorPickerActivity that launches the system eye dropper intent, handles color selection, and displays a bottom sheet for further actions. This activity is registered in the manifest and used by the ColorPickerTileService instead of a third-party app. [1] [2] [3]

Resource Optimization and Packaging

  • Enabled resource shrinking and minification for the release build, and added legacy JNI libs packaging to improve APK size and compatibility. [1] [2]
  • Updated proguard-rules.pro to preserve essential classes for Gson, Shizuku, Kotlin Reflect, and internal repositories/registries, preventing over-minification.

Main Activity UI Enhancements

  • Refactored the main activity's action bar logic to show tab-specific actions: added a segmented dropdown menu for freeze actions in the Freeze tab, a new automation button for DIY, and improved repo addition logic for Apps. [1] [2]
  • Updated the visibility logic for settings and help icons in the main activity's toolbar to be tab-dependent.
  • Integrated the new automation sheet trigger into the DIY screen and removed the floating action button for repo addition, moving this action to the Apps tab toolbar. [1] [2]
  • Added imports for new UI components used in segmented dropdown menus and automation sheet triggers. [1] [2]

@sameerasw sameerasw self-assigned this Feb 27, 2026
@sameerasw sameerasw added the enhancement New feature or request label Feb 27, 2026
@sameerasw sameerasw merged commit 947c13b into main Feb 27, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Essentials Progress Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant