florent37 / ExpansionPanel

Android - Expansion panels contain creation flows and allow lightweight editing of an element.
https://material.io/guidelines/components/expansion-panels.html
Apache License 2.0
1.98k stars 240 forks source link

Set custom background to ExpansionHeader #9

Closed tellfa closed 6 years ago

tellfa commented 6 years ago

I want set custom background fro ExpansionHeader with positions in adapter.

how can it?

florent37 commented 6 years ago

it's a extension of framelayout,so you can change the background as a normal view

tellfa commented 6 years ago

Thanks my friend, i set android:background="000" in ExpansionHeader, but not set color !

florent37 commented 6 years ago

000 is not a color

tellfa commented 6 years ago

my mean is "#000000" my bro

florent37 commented 6 years ago

we use this in my project, so I can tell you it's working