We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4708b3a commit c7b3573Copy full SHA for c7b3573
editor/impl/src/main/java/com/itsaky/androidide/editor/ui/EditorActionsMenu.kt
@@ -198,7 +198,7 @@ open class EditorActionsMenu(val editor: IDEEditor) :
198
val drawable = GradientDrawable()
199
drawable.shape = GradientDrawable.RECTANGLE
200
drawable.cornerRadius = SizeUtils.dp2px(28f).toFloat() // Recommeneded size is 28dp
201
- drawable.color = editor.context.resolveAttr(R.attr.colorSurface)
+ drawable.setColor(editor.context.resolveAttr(R.attr.colorSurface))
202
drawable.setStroke(SizeUtils.dp2px(1f), editor.context.resolveAttr(R.attr.colorOutline))
203
list.background = drawable
204
}
0 commit comments