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.
在我的应用程序中,我正在通过执行以下操作更改布局位置:
totalCommentLayout.layout(0, webviewHeight - buttomBtnsHeight - shadowHeight, width, webviewHeight);
更改正在发生,但随后又更改回XML文件中描述的布局。为什么会发生这种情况,我怎样才能保持布局位置的变化?
XML