read me and weep

This commit is contained in:
rebelonion 2024-01-17 02:34:37 -06:00
parent b7cc35207c
commit 8142c966c0
4 changed files with 4 additions and 4 deletions

View file

@ -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
}