Skip to content

Fix/detail tabs material - #7

Merged
gerhardol merged 2 commits into
gerhardol:feature/deprecated-tabhostfrom
letharion:fix/detail-tabs-material
Oct 7, 2026
Merged

gerhardol merged 2 commits into
gerhardol:feature/deprecated-tabhostfrom
letharion:fix/detail-tabs-material

Conversation

@letharion

@letharion letharion commented Oct 7, 2026 •

Copy link
Copy Markdown

This removes createHoloTabIndicator from the activity details view, and moves to the material design language.
The benefit is that the tabs now look consistent between main view and activity view, and, at least in my opinion, also looks better.

As a bonus, this appears to be the last call to createHoloTabIndicator, so we can now drop it.

Screenshot of the new view:
image

I crossposted to the upstream PR as well so it's easy to compare with the previous screenshots.

The detail tabs kept the old Holo tab indicator as a custom view inside
the new TabLayout. TabLayout pads each tab, so the Holo underlines no
longer met and the line under the tabs broke into segments, with
TabLayout's own indicator drawn on top under the selected tab. Use plain
text tabs as the start screen does, so both screens look the same.

The map tab is now found through Tab.view rather than the custom view's
parent.
The activity details screen was the last user of
WidgetUtil.createHoloTabIndicator. Remove it and its Holo tab drawables.
@gerhardol

Copy link
Copy Markdown
Owner

30s review: looks good, plan to include in my pr

@gerhardol
gerhardol merged commit 04d9453 into gerhardol:feature/deprecated-tabhost Oct 7, 2026
1 check passed
@gerhardol

Copy link
Copy Markdown
Owner

merging in jonasoreland#1396

@letharion
letharion deleted the fix/detail-tabs-material branch October 12, 2026 05:12
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