read me and weep
This commit is contained in:
parent
b7cc35207c
commit
8142c966c0
4 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ class MainActivity : AppCompatActivity() {
|
|||
|
||||
val backgroundDrawable = _bottomBar.background as GradientDrawable
|
||||
val currentColor = backgroundDrawable.color?.defaultColor ?: 0
|
||||
val semiTransparentColor = (currentColor and 0x00FFFFFF) or 0xE8000000.toInt()
|
||||
val semiTransparentColor = (currentColor and 0x00FFFFFF) or 0xF9000000.toInt()
|
||||
backgroundDrawable.setColor(semiTransparentColor)
|
||||
_bottomBar.background = backgroundDrawable
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue