android - Darken background around fragments layout -
i've 2 fragments.
fragmentbackground - fragment takes size of screen
fragmentforeground - smaller fragment on top of fragmentbackground
i'm way dim around fragmentforeground layout, meanwhile supporting api 4.0+. looking clean solution here. open every suggestion well.
try using android:elivation="8dp"
might put fragment up. wont support older versions of android. suggest creating fragmentbackground , fragmentbackground . in way requirement can achieved.
Comments
Post a Comment