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.
我的 FrameLayout 中有一个按钮。当用户选择按钮时,我需要将按钮调高一点,所以减小它的 y。我怎样才能在代码中做到这一点?
I would try adding some padding inside an onClick listener.