开发者

How do you rearrange buttons in Eclipse? [duplicate]

开发者 https://www.devze.com 2023-03-25 08:13 出处:网络
This quest开发者_StackOverflowion already has answers here: Closed 11 years ago. Possible Duplicate:
This quest开发者_StackOverflowion already has answers here: Closed 11 years ago.

Possible Duplicate:

How do you rearrange buttons where you want them in Eclipse?

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!


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).

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消