Supplement existing answers. This is part of the source code for the LayoutParams class, and the constants FILL_PARENT and MATCH_PARENT are mapped to the same value. Thus, we have exactly the same functionality.
public static class LayoutParams { @SuppressWarnings({"UnusedDeclaration"}) @Deprecated public static final int FILL_PARENT = -1; public static final int MATCH_PARENT = -1; ...
mes Mar 18 '15 at 15:02 2015-03-18 15:02
source share