Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个"child"位置是绝对的子 div。它的父级p1具有相对定位。p1 也有一个父级p2,其定位也是相对的。
"child"
p1
p2
那么当我得到孩子的位置()时。离开它相对于p1或p2?
p1,因为它child最近的非静态定位祖先。
child
我正在使用 AsyncTask
我使用父创建意图没有错误。
创建对话框的行给父级无法解析为 ye。新的 parent.AlertDialog.Builder(this)
我得到的错误是父级不存在,但我在相同的方法中使用父级来调用意图
代码块私有类 SendTextOperation 扩展 Asyn