[ANDROID] KOTLIN – FLOATINGACTIONBUTTON SETVISIBILITY
2020. 12. 10. 10:47ㆍprogramming/android
728x90
VisibilityAwareImageButton.setVisibility can only be called from within the same library group (groupid= com.android.support)
This API has been flagged with a restriction that has not been met.
FloatingActionButton 에 setVisibility 사용하려면 show(), hide()로 사용해야 합니다.
fab.show() // view.VISIBLE
fab.hide() // view.GONE
728x90
'programming > android' 카테고리의 다른 글
[ANDROID] FILL PARENT , MATCH PARENT 차이 (0) | 2020.12.10 |
---|---|
[ANDROID] KOTLIN – SCROLLVIEW CAN HOST ONLY ONE DIRECT CHILD (0) | 2020.12.10 |
[ANDROID] KOTLIN – RECYCLER VIEW (0) | 2020.12.10 |
[ANDORID] KOTLIN – LAYOUTINFLATER (0) | 2020.12.10 |
[ANDORID] KOTLIN – APPLICATIONCONTEXT VS BASECONTEXT (0) | 2020.12.10 |