Conversation
- Create `btn_ios_background.xml` drawable with rounded corners and blue color selector. - Add `Widget.Button.iOS` style in `styles.xml`. - Apply `Widget.Button.iOS` globally via `buttonStyle` in `AppTheme`. - Remove explicit style from `buttonKill` in `fragment_camera.xml`. - Fix duplicate attributes in `fragment_camera.xml` to fix build. Co-authored-by: manupawickramasinghe <73810867+manupawickramasinghe@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This change updates the application's button style to mimic the iOS design language. A new drawable resource
btn_ios_background.xmlwas created to define the button's shape (rounded corners) and color (blue, with a darker shade for the pressed state). A new styleWidget.Button.iOSwas defined instyles.xmlreferencing this background and setting the text color to white. This style is applied globally via thebuttonStyleattribute in theAppTheme, ensuring all buttons in the application adopt the new look. Additionally,fragment_camera.xmlwas cleaned up by removing duplicate attributes (android:labelForandandroid:importantForAccessibility) that were causing build failures.PR created automatically by Jules for task 10014785844147480555 started by @manupawickramasinghe