Closed Vanek1756 closed 2 years ago
These were defined as part of the material spec.
You can disable the divider and adjust the spacing with those APIs here: https://github.com/mikepenz/MaterialDrawer/blob/develop/materialdrawer/src/main/java/com/mikepenz/materialdrawer/widget/AccountHeaderView.kt#L151-L163
The color for dividers is defined as the dividerColor
: https://github.com/mikepenz/MaterialDrawer/blob/5ab67d6436b2e4c42793b4ed8be9843b3e6015e4/materialdrawer/src/main/java/com/mikepenz/materialdrawer/util/Utils.kt#L50-L51
Defined as materialDrawerDividerColor
in the theme.
For the footer, this is the elevation you see there. You can control it being enabled or disabled via these APIs: https://github.com/mikepenz/MaterialDrawer/blob/develop/materialdrawer/src/main/java/com/mikepenz/materialdrawer/widget/MaterialDrawerSliderView.kt#L229-L247
Thanks, you helped me a lot
Hello Please tell me how can I change the appearance of the strip under the account header and in front of the StickyDrawerItems?(Outlined them in the screenshot)
From above I am using AccountHeaderView In the middle I add items via itemAdapter At the bottom I am adding items via addStickyDrawerItems
I want to replace these lines with my own Or if it is possible to adjust their color, transparency, fatness