Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a14ec6f4 authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Change tools:list_item to listitem. [DO NOT MERGE]

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

Change-Id: I82aabe7d04fbe3e61645bc427a81c14c454d03c5
(cherry picked from commit 111dc04a)
parent b1e21330
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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";
}