mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 13:03:57 +00:00
read me and weep
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user