Skip to content

Implement custom CompassView and integrate into XmlFragment - #8

Merged
jekispank98 merged 1 commit into
masterfrom
feature/compass-ui-xml
Jul 19, 2026
Merged

jekispank98 merged 1 commit into
masterfrom
feature/compass-ui-xml

Conversation

@jekispank98

Copy link
Copy Markdown
Owner
  • Create a custom CompassView with manual onDraw implementation for rendering the compass UI.
  • Update fragment_xml.xml to replace the placeholder TextView with the new CompassView.
  • Update XmlFragment to observe the CompassViewModel UI state and update the compass azimuth.
  • Refactor CompassScreen to use density-independent pixels (DP) for canvas padding.

- Create a custom `CompassView` with manual `onDraw` implementation for rendering the compass UI.
- Update `fragment_xml.xml` to replace the placeholder `TextView` with the new `CompassView`.
- Update `XmlFragment` to observe the `CompassViewModel` UI state and update the compass azimuth.
- Refactor `CompassScreen` to use density-independent pixels (DP) for canvas padding.
@jekispank98
jekispank98 merged commit adaaad2 into master Jul 19, 2026
1 check passed
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