optimized playing process bar
This commit is contained in:
@@ -619,7 +619,7 @@ class MainActivity : Activity() {
|
||||
return LinearLayout(this).apply {
|
||||
orientation = LinearLayout.VERTICAL
|
||||
if (translucent) {
|
||||
background = rounded(COLOR_OVERLAY, 0f, null)
|
||||
background = rounded(COLOR_OVERLAY_FAINT, 0f, null)
|
||||
setPadding(18.dp, 14.dp, 18.dp, 16.dp)
|
||||
}
|
||||
addView(lessonTitleText)
|
||||
@@ -1545,7 +1545,7 @@ class MainActivity : Activity() {
|
||||
setTextColor(Color.WHITE)
|
||||
textSize = 13f
|
||||
typeface = Typeface.DEFAULT_BOLD
|
||||
background = rounded(COLOR_OVERLAY, 8f)
|
||||
background = rounded(COLOR_OVERLAY_FAINT, 8f)
|
||||
setPadding(10.dp, 6.dp, 10.dp, 6.dp)
|
||||
gravity = Gravity.CENTER
|
||||
}
|
||||
@@ -1660,6 +1660,7 @@ class MainActivity : Activity() {
|
||||
val COLOR_PROGRESS_TRACK_DARK: Int = Color.rgb(55, 62, 70)
|
||||
val COLOR_LIGHT_BORDER: Int = Color.rgb(218, 226, 232)
|
||||
val COLOR_OVERLAY: Int = Color.argb(178, 9, 12, 16)
|
||||
val COLOR_OVERLAY_FAINT: Int = Color.argb(51, 9, 12, 16)
|
||||
val COLOR_TEXT_DARK: Int = Color.rgb(18, 24, 31)
|
||||
val COLOR_TEXT_MUTED: Int = Color.rgb(151, 162, 174)
|
||||
val COLOR_TEXT_SUBTLE: Int = Color.rgb(88, 98, 108)
|
||||
|
||||
Reference in New Issue
Block a user