开发者

Android Layout Highlight? [closed]

开发者 https://www.devze.com 2022-12-20 12:07 出处:网络
It's开发者_开发问答 difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
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

精彩评论

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