Skip to content

🎨 Palette: Improve Sample App UX and Accessibility - #10

Draft
juankyc wants to merge 1 commit into
mainfrom
palette/ux-improvements-4483435453495825006
Draft

🎨 Palette: Improve Sample App UX and Accessibility#10
juankyc wants to merge 1 commit into
mainfrom
palette/ux-improvements-4483435453495825006

Conversation

@juankyc

@juankyc juankyc commented Jul 9, 2026

Copy link
Copy Markdown
Owner

💡 What: This PR introduces micro-UX improvements to the ShadowHook sample app.

  • Interactive ADB Command: The ADB command at the top is now clickable. Tapping it copies the command to the clipboard and shows a Toast notification. It also includes a visual ripple effect.
  • Library Loading Feedback: The "Load Library" button now disables itself and updates its text to "libhookee2.so loaded" upon success. This state is correctly persisted across device rotations.
  • Accessibility: Added android:contentDescription="Copy ADB logcat command" to the interactive TextView to ensure screen reader users understand the action.

🎯 Why: These changes make the sample app more intuitive for developers and provide clear visual feedback for asynchronous operations.

♿ Accessibility: Improved semantic labels for interactive elements.

🛠️ Environment: Upgraded Gradle (8.5) and AGP (8.2.2) to ensure compatibility with the Java 21 environment.


PR created automatically by Jules for task 4483435453495825006 started by @juankyc

- Add clipboard copy functionality for ADB command.
- Add state feedback and persistence for library loading button.
- Improve accessibility with action-oriented content descriptions.
- Upgrade Gradle/AGP for Java 21 compatibility.

Co-authored-by: juankyc <150547187+juankyc@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant