Android 中的图像按钮间距
如何设置 ImageButton 的间距?
使用RelativeLayout,我可以将它们并排放置,但我希望它们之间有一个间隙。 如何将按钮放置在屏幕的中央和底部?
How do you space ImageButtons?
With RelativeLayout, I can have them side by side but I want a gap between them.
How do I place the buttons in the center and at the bottom of the screen?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
android:layout_marginTop
和相关属性。android:layout_centerHorizontal="true"
和android:layout_alignParentBottom="true"
Use
android:layout_marginTop
and related properties.android:layout_centerHorizontal="true"
andandroid:layout_alignParentBottom="true"