Posts in Android
MATCH_PARENT vs FILL_PARENT: What Not to Do and What to Do

In this post I am discussing the layout mode MATCH_PARENT/FILL_PARENT as well as touching on how it works and what to do and not do with it.

Here's the short of it: unless you are compiling against Froyo (API 8), please stop using FILL_PARENT to specify layout_width and layout_height. Use MATCH_PARENT. They have the same integer value, but FILL_PARENT is deprecated and the name itself is misleading. Please, use MATCH_PARENT.

Read More