Skip to content

K2GO-426 fix(modules): show the detail hero glyph centered on a neutral panel - #594

Merged
luisguzman-adfa merged 1 commit into
mainfrom
fix/K2GO-426-module-detail-hero
Sep 25, 2026
Merged

luisguzman-adfa merged 1 commit into
mainfrom
fix/K2GO-426-module-detail-hero

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

What changed

The module detail hero drew the raw module glyph full width with no tint, so it
was hard to read on the dark theme and it looked cramped. The glyph now sits
centered on a neutral rounded panel (new k2go_hero_panel, filled k2go_hairline)
and is tinted from the theme (k2go_teal), the same treatment the Dashboard detail
already used. Both detail screens share the panel.

  • fragment_k2go_module_detail.xml: the hero ImageView gets a fixed height, the
    panel background, padding for an even margin, and a theme tint.
  • DashboardDetailFragment: the hero uses ic_card_dashnode (the same drawable as
    the list row bullet) instead of the placeholder, so the Dashboard list and
    detail match.
  • ic_card_dashnode keeps its four-rectangle dashboard glyph; it is now the single
    source for both the bullet and the hero.
  • Presentational only. No change to install or selection logic.

Verification

Device-verified on a 32-bit build (Samsung A16), light and dark: each module
detail shows its icon centered on the panel and legible on both themes; the
Dashboard shows the same glyph in the list and the detail. Glyph size tuned on
device.

Follow-up to K2GO-426 (module icons and row alignment).

…al panel

The module detail hero drew the raw glyph full width with no tint. It was hard
to read on the dark theme and it looked cramped. The glyph now sits centered on
a neutral rounded panel (k2go_hero_panel, filled k2go_hairline) and is tinted
from the theme (k2go_teal), the same look the Dashboard detail already used.

The Dashboard uses one drawable (ic_card_dashnode) for both the list row bullet
and the detail hero, so the two match. Presentational only: no change to install
or selection logic.
@luisguzman-adfa
luisguzman-adfa merged commit da6d57e into main Sep 25, 2026
2 of 3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the fix/K2GO-426-module-detail-hero branch September 25, 2026 22:11
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