Friday, August 11, 2023

Remove shadow under toolbar (if elevation="0dp" doesn't work)

Most of the search results on Google recommend adding elevation="0dp" to the xml appBarLayout. However! (including myself) some people may find that it doesn't work, and the solution is


to change the android:elevation="0dp" part to app:elevation="0dp" which simply solves the issue.


0 개의 댓글:

Post a Comment