Skip to content

Commit 13cfea7

Browse files
committed
use Color.rgb instead
1 parent bbe21ed commit 13cfea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/src/main/java/insets/SystemBarProtectionSnippet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SystemBarProtectionSnippet : AppCompatActivity() {
5454
val red = 52
5555
val green = 168
5656
val blue = 83
57-
val paneBackgroundColor = Color.argb(255, red, green, blue)
57+
val paneBackgroundColor = Color.rgb(red, green, blue)
5858
// [START android_system_bar_protection_kotlin]
5959
findViewById<ProtectionLayout>(R.id.list_protection)
6060
.setProtections(

0 commit comments

Comments
 (0)