Skip to content

Conversation

@0nko
Copy link
Member

@0nko 0nko commented Nov 7, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/715106103902962/task/1211861383768919?focus=true

Description

This PR adds a ripple effect to the AI settings pictograms.

Steps to test this PR

  • Go to Settings -> AI Features
  • Tap on the pictograms to select the AI mode
  • Notice the ripple effect is applied, matching the pictogram bounds

UI changes

Screen_recording_20251107_100953.webm

@0nko 0nko requested a review from joshliebe November 7, 2025 09:10
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitCenter"
android:scaleType="fitXY"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to change this because the ImageView container would be slightly taller than the image itself and the touch ripple would go outside the bounds.

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2024 DuckDuckGo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
~ Copyright (c) 2024 DuckDuckGo
~ Copyright (c) 2025 DuckDuckGo

Copy link
Contributor

@joshliebe joshliebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! ✨ LGTM 🙂

@joshliebe joshliebe self-assigned this Nov 7, 2025
0nko and others added 2 commits November 7, 2025 15:44
…ground_large_rounded_transparent.xml

Co-authored-by: Josh Leibstein <joshliebe@gmail.com>
@0nko 0nko merged commit 4fbeb8f into develop Nov 7, 2025
6 checks passed
@0nko 0nko deleted the feature/ondrej/add-pictogram-ripple-effect-ai-settings branch November 7, 2025 21:31
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.

2 participants