Skip to content

Fix/collapsible top bar colors#1124

Merged
theovilardo merged 3 commits intomasterfrom
fix/collapsible-top-bar-colors
Feb 18, 2026
Merged

Fix/collapsible top bar colors#1124
theovilardo merged 3 commits intomasterfrom
fix/collapsible-top-bar-colors

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

No description provided.

…Bar` component

- **Components**:
    - Introduce `CollapsibleCommonTopBar`, a reusable component that handles background interpolation, back navigation, and customizable action rows.
    - Support flexible title padding and `maxLines` configuration to match existing screen designs.
- **Screens**:
    - Replace screen-specific top bar implementations (e.g., `SettingsTopBar`, `EqualizerTopBar`, `AboutTopBar`, `StatsTopBar`) with the unified `CollapsibleCommonTopBar`.
    - Refactor `EqualizerScreen` to pass view mode and power toggle buttons as actions to the new top bar.
    - Refactor `DelimiterConfigScreen` to pass the reset button as a top bar action.
    - Standardize content padding across `Settings`, `About`, `Equalizer`, `ExperimentalSettings`, and `DeviceCapabilities` screens by adding an 8.dp offset to `LazyColumn` top padding.
- **Styling**:
    - Improve visual consistency of the collapsing background using a standard `surfaceContainer` color with alpha interpolation.
    - Ensure back buttons consistently use `surfaceContainerLow` as the background color.
…ings screens

- **StatsScreen**:
    - Reduce top content padding and remove unnecessary background spacer below tabs to create a more compact layout.
    - Update top bar background to use `surfaceContainerHigh` for better visual elevation when collapsed.
    - Adjust `ScrollableTabRow` edge padding from 20.dp to 12.dp and set background to transparent.
- **AboutScreen**:
    - Update `CollapsibleCommonTopBar` horizontal padding, reducing expanded start padding to 20.dp and increasing collapsed start padding to 68.dp for better alignment.
- **ArtistSettingsScreen**:
    - Increase expanded title start padding from 0.dp to 20.dp to match other screens.
- **CollapsibleCommonTopBar**:
    - Change default background color from `surfaceContainer` to `surfaceContainerHigh`.
- **Resources**: Add `rounded_developer_board_24.xml` vector drawable.
- **Settings**: Update the icon for the "Device Capabilities" category from `Icons.Rounded.Info` to `Icons.Rounded.DeveloperBoard`.
- **UI Components**:
    - **QueueBottomSheet**: Replace the `Icons.Rounded.Add` icon with `Icons.Rounded.MoreHoriz` for queue actions and remove the rotation modifier.
    - **DeviceCapabilitiesScreen**: Remove a redundant comment in the layout file.
@theovilardo theovilardo merged commit ca2b086 into master Feb 18, 2026
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