开发者

Android Layout Highlight? [closed]

It's开发者_开发问答 difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

How to Highlight the Layout in Android?


I you're looking for help in determining how your layout is working, setting the background of an element can be very helpful as it shows how it is being sized.

Try something like:

android:background="#F00"


The Android tool heirarchyviewer can help you view how your layout is being rendered. It will draw boxes around each layout, and show you a tree of the layout components. You can find it in your android sdk's tools folder.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜