When in Eclipse developing Android going from different API you run into function that has been deprecated. In this case it was from API 8 with Params giving this warning:
“The field ViewGroup.LayoutParams.FILL_PARENT is deprecated”
“public static final int FILL_PARENT
Since: API Level 1
Special value for the height or width requested by a View. FILL_PARENT means that the view wants to be as big as its parent, minus the parent’s padding, if any. This value is deprecated starting in API Level 8 and replaced by MATCH_PARENT.
Constant Value: -1 (0xffffffff)”
As fill_parent is deprecated you should use MATCH_PARENT instead and your warning will disappear .