【Android】status bar下陰影 action bar 陰影 去除

【Android】status bar remove shadow

想要像上圖將狀態列下的陰影移除,只要XML佈局檔加上一行程式碼就OK了

Solution

app:elevation="0dp"