Anko borderless button
Wiki topics:
📱 · Mobile Development
Anko borderless button
inline fun ViewManager.styledButton(styleRes: Int = 0, init: Button.() -> Unit): Button = ankoView({
if (styleRes == 0) Button(it)
else Button(ContextThemeWrapper(it, styleRes), null, 0)
}, 0, init)
use
styledButton(R.style.Widget_AppCompat_Button_Borderless) {
textResource = android.R.string.ok
} 메타데이터
- post_id
- 62e45c972592
- slug
- anko-borderless-button-62e45c972592
- url
- https://medium.com/@vit.onix/anko-borderless-button-62e45c972592
- canonical_url
- https://medium.com/@vit.onix/anko-borderless-button-62e45c972592
- author_url
- https://medium.com/@vit.onix
- status
- ok
- fetched_at
- 2026-07-30 03:47:17