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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user