Fix D-pad navigation: top bar focus trap and attach button highlight#14
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: JMTDI <[email protected]>
|
@copilot Hey it is not just the main activity that has the Top bar focus trap it all the activities that have a Top bar focus like in the coversation activity and in the contact selecter for composing a message ok and please make these highlighted to because they are not right now The attach menu items (contact, schedule, gallery, camera, etc.) already had proper focus highlighting with android:background="@drawable/circle_focusable" and android:backgroundTint="@color/tools_theme" which provides visible focus states through the drawable selector. and please make the soft left or menu button open the attach options i might be already sort of implemented but it does not work please fix |
- Add nextFocusUp to messageList in compose activity for toolbar navigation - Create new drawable files circle_attach_menu.xml and rounded_rectangle_attach_menu.xml - Update attach menu items to use new drawables without backgroundTint for proper focus highlighting Co-authored-by: JMTDI <[email protected]>
Fixed in commit e2a618a:
|
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||
User description
circle_attach_menu.xmlandrounded_rectangle_attach_menu.xmldrawables with theme color built-inOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
PR Type
Enhancement, Bug fix
Description
Fix D-pad navigation focus trap in top bar of main and compose activities
Improve attach menu item highlighting with custom drawable selectors
Enhance attach button styling with theme-aware colors
Diagram Walkthrough
File Walkthrough
circle_attach_menu.xml
Create circular attach menu focus drawablepresentation/src/main/res/drawable/circle_attach_menu.xml
rounded_rectangle_attach_menu.xml
Create rounded rectangle attach menu focus drawablepresentation/src/main/res/drawable/rounded_rectangle_attach_menu.xml
state
styling
compose_activity.xml
Fix compose activity D-pad navigation and attach menu stylingpresentation/src/main/res/layout/compose_activity.xml
with circle_attach_menu
attach menu labels with rounded_rectangle_attach_menu
icon tint
main_activity.xml
Fix main activity D-pad navigation focus trappresentation/src/main/res/layout/main_activity.xml
to compose button
recyclerView to prevent focus trap
list