OSDN Git Service

Use right theme for drawable inflation.
authorDeepanshu Gupta <deepanshu@google.com>
Tue, 28 Oct 2014 17:50:00 +0000 (10:50 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Tue, 28 Oct 2014 18:11:09 +0000 (11:11 -0700)
commit4a605c6fa0027ee116beb29fbc9625721f0441f0
treec235c26bcfc9de4a59f5e787663a5dbbaa252a86
parent908a4f9a4372a9627e821b5800936095b0f0b5b0
Use right theme for drawable inflation.

The theme information was lost when inflating drawables. As a result,
drawables inflated in the ActionBar did not have the right tint.

Change-Id: I13d5c78039e35085ed4902289fcb735bb15d972e
tools/layoutlib/bridge/src/android/content/res/BridgeResources.java
tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java
tools/layoutlib/bridge/src/android/content/res/Resources_Theme_Delegate.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ResourceHelper.java