OSDN Git Service

Deals with translation and scaling in layoutlib
authorJerome Gaillard <jgaillard@google.com>
Thu, 21 Jan 2016 11:21:47 +0000 (11:21 +0000)
committerJerome Gaillard <jgaillard@google.com>
Thu, 21 Jan 2016 11:21:47 +0000 (11:21 +0000)
commitded4d14e3348ebb0cdfa3498a53d3fbfc58b2043
tree21d0ea4b55be1d41649a8c6fbdc84dd8b4779e79
parent7efb74d54a22d0c693ebddf5438815b65bc67616
Deals with translation and scaling in layoutlib

Layoutlib now correctly interprets the translation and scaling
xml attributes of views, by implementing what the Android platform
does in native code.

Change-Id: Ie8465f40ef4508d3c31796200800f12cb8f883a4
tools/layoutlib/bridge/src/android/view/RenderNode_Delegate.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java