OSDN Git Service

Implement tools:list_item for RecyclerView. [DO NOT MERGE]
authorDeepanshu Gupta <deepanshu@google.com>
Tue, 7 Jul 2015 01:31:20 +0000 (18:31 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Tue, 25 Aug 2015 19:06:50 +0000 (12:06 -0700)
commitb1e21330f82ec0940658b16dfe7e14e8da8c5d33
tree8614c8ad6d3421a80b726ef20b3036b27fc31096
parentcd4d5b3f38186f845e00454b4b95bec77c3ac8fd
Implement tools:list_item for RecyclerView. [DO NOT MERGE]

It's now possible to use tools:list_item attribute for RecyclerView to
point to a default layout, rather than always using a TextView.

Change-Id: I5d522b2f0ca38b420fddfcb0f73a26d95707da79
(cherry picked from commit 61f23e9bf7d784e7a52168196758c4f6c6853e77)
tools/layoutlib/bridge/src/android/view/BridgeInflater.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeConstants.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/RecyclerViewUtil.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ReflectionUtils.java