forked from github/szkolny
[UI] Fix nightly badge background tint.
This commit is contained in:
parent
6c4a1b54ba
commit
2d01a8c4d4
@ -317,6 +317,9 @@ class MainActivity : AppCompatActivity(), CoroutineScope {
|
||||
}
|
||||
else -> b.nightlyText.isVisible = false
|
||||
}
|
||||
if (b.nightlyText.isVisible) {
|
||||
b.nightlyText.background.setTintColor(0xa0ff0000.toInt())
|
||||
}
|
||||
|
||||
navLoading = true
|
||||
|
||||
|
@ -40,13 +40,13 @@
|
||||
android:layout_marginHorizontal="48dp"
|
||||
android:layout_marginVertical="8dp"
|
||||
android:background="@drawable/bg_rounded_4dp"
|
||||
android:backgroundTint="#a0ff0000"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:gravity="center"
|
||||
android:padding="4dp"
|
||||
android:textAllCaps="true"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold"
|
||||
tools:backgroundTint="#a0ff0000"
|
||||
tools:text="Nightly\n20200503" />
|
||||
</FrameLayout>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user