你如何重新排列按钮,在Eclipse? [英] How do you rearrange buttons in Eclipse?

查看:525
本文介绍了你如何重新排列按钮,在Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/6931545/how-do-you-rearrange-buttons-where-you-want-them-in-eclipse\">How你重新排列你想让他们在Eclipse按钮?

嘿我有我的放置在按钮我的XML布局麻烦的家伙。我已经有一个背景,只是试图把3个按键在那里我遇到了麻烦,中间和多数民众接近。我知道重心和所有,但你能帮助我吗?另外,如果我使用图像按钮件事使我自己的按钮我就可以导入它们,或者是不正确的?感谢您的帮助!

Hey guys I am having trouble with placing my buttons in my XML layout. I already have a background and was just trying to put 3 buttons near the middle and thats where I'm having trouble. I know about center gravity and all that but could you help me? Also, If I made my own buttons can I just import them using the image button thing, or is that not right? Thanks for the help!

推荐答案

您可以通过直接编辑XML或通过拖动并在大纲视图或图形布局视图放弃重新布局的元素(我觉得后者更难做可靠)。

You can rearrange elements of your layout by editing the XML directly or by dragging and dropping in the outline view or the graphical layout view (I find the latter harder to do reliably).

要使用您的自定义视图,单击自定义与放大器;库视图按钮,在图​​形布局的调色板,或者只是在完全限定类名作为XML视图标签类型

To use your custom views, click on the "Custom & Library Views" button in the graphical layout palette, or just type in the fully qualified class name as the view tag in the XML.

这篇关于你如何重新排列按钮,在Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆