I already managed to change style of PageHeader sections. It took the time, and searching in severals projects.
I used this code:
PageHeader { extension: Sections {
StyleHints { sectionColor: "#2d3a4e" underlineColor: "#2d3a4e" selectedSectionColor: "#FFFFFF" pressedBackgroundColor: '#c4c4c4' } }
StyleHints { foregroundColor: 'white' backgroundColor: '#5c7cad' } }
If this is stable api, then it better to be added in documentation of PageHeader style.
I already managed to change style of PageHeader sections. It took the time, and searching in severals projects.
I used this code:
PageHeader {
extension: Sections {
StyleHints {
sectionCol or: "#2d3a4e"
underlineC olor: "#2d3a4e"
selectedSe ctionColor: "#FFFFFF"
pressedBac kgroundColor: '#c4c4c4'
}
}
StyleHints {
foregroundColo r: 'white'
backgroundColo r: '#5c7cad'
}
}
If this is stable api, then it better to be added in documentation of PageHeader style.