본문 바로가기
Android

ConstraintLayout 버튼 Front 적용이 안될때 | bringtoFront 안될때

by kkong93 2022. 5. 13.
반응형

https://stackoverflow.com/questions/53344413/bring-to-button-front-while-having-two-constraintlayout

 

Bring to Button front while having two ConstraintLayout

I'm trying to implement the following design on Android. I know that to have the button at that position I should have two constraint layout; one for whole change password form and one for change

stackoverflow.com

 

 

ConstraintLayout에서 분명 xml 코드는 아래에 있는데 버튼이 위로 안올라온다 ㅠㅠ

검색해보니 UI 그림자 효과인 elevation 옵션때문에 그런거였다 ..

 

 

 

 

ImageButton에도 동일하게 elevation 옵션을 넣으면 바로 레이아웃 위로 올라온다

 

반응형

댓글