diff --git a/editor/impl/src/main/java/com/itsaky/androidide/editor/ui/EditorActionsMenu.kt b/editor/impl/src/main/java/com/itsaky/androidide/editor/ui/EditorActionsMenu.kt index a04da6d9b7..ded860705e 100644 --- a/editor/impl/src/main/java/com/itsaky/androidide/editor/ui/EditorActionsMenu.kt +++ b/editor/impl/src/main/java/com/itsaky/androidide/editor/ui/EditorActionsMenu.kt @@ -198,7 +198,7 @@ open class EditorActionsMenu(val editor: IDEEditor) : val drawable = GradientDrawable() drawable.shape = GradientDrawable.RECTANGLE drawable.cornerRadius = SizeUtils.dp2px(28f).toFloat() // Recommeneded size is 28dp - drawable.color = editor.context.resolveAttr(R.attr.colorSurface) + drawable.setColor(editor.context.resolveAttr(R.attr.colorSurface)) drawable.setStroke(SizeUtils.dp2px(1f), editor.context.resolveAttr(R.attr.colorOutline)) list.background = drawable }