Change tools:list_item to listitem.

The listitem is already in use for ListView. Reuse the same attribute
for RecyclerView rather than creating a new one.

Change-Id: I82aabe7d04fbe3e61645bc427a81c14c454d03c5
This commit is contained in:
Deepanshu Gupta
2015-07-08 12:47:46 -07:00
parent 5d1654a943
commit 111dc04a28

View File

@@ -50,6 +50,8 @@ public class BridgeConstants {
public final static String FILL_PARENT = "fill_parent";
public final static String WRAP_CONTENT = "wrap_content";
// Should be kept in sync with LayoutMetadata.KEY_LV_ITEM in tools/adt/idea
/** Attribute in the tools namespace used to specify layout manager for RecyclerView. */
public static final String ATTR_LIST_ITEM = "list_item";
@SuppressWarnings("SpellCheckingInspection")
public static final String ATTR_LIST_ITEM = "listitem";
}