2
我需要根視圖傳遞給一個函數,以顯示一個彈出窗口什麼是根視圖?
instructions_popup_window.showAtLocation("parent view", Gravity.CENTER, 0, 0);
問題是用什麼作爲"parent view"
。
在onCreate
我
setContentView(R.layout.splash);
所以是我的根視圖:"R.layout.splash"
或"findViewById(R.layout.splash)"
或別的東西完全?