简体   繁体   中英

Eclipse GUI, XML graphical layout

Is there any way to get a ruler line in the Android XML graphical layout view in Eclipse.

If you don't know which layout I am talking about, it's this one on the right.

Thanks

在此处输入图片说明

you could use absolute layout (not recommended, as it is being deprecated) or relative layout and call the getX() and getY() functions of your Views (Buttons) and print them for debugging purposes. Ive never heard of a dev ruler like your talking about... if you provide a few more details about your project I can help you more.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM