getLocationOnScreen
getLocationInWindow
getLeft
如果在Activity的OnCreate()事件輸出那些參數,是全為0,要等UI控件都加載完了才能獲取到這些。
getLocationOnScreen
getLocationInWindow
getLeft
如果在Activity的OnCreate()事件輸出那些參數,是全為0,要等UI控件都加載完了才能獲取到這些。