From 82b9232565bfececdb643a94cecdd1bd1cb5c643 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Mon, 24 Jan 2011 14:03:21 -0800 Subject: LayoutLib: Use special view cookie for include-merge case. All items directly under the tag now return the view cookie of the referencing tag using a special class for easy differentiation in the calling client. Change-Id: I7a2a4e642be9564f47e256fd1586012497d34792 --- .../create/src/com/android/tools/layoutlib/create/CreateInfo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/layoutlib/create') diff --git a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java index 4198006..e3c5b4b 100644 --- a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java +++ b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/CreateInfo.java @@ -96,8 +96,9 @@ public final class CreateInfo implements ICreateInfo { private final static String[] DELEGATE_METHODS = new String[] { "android.app.Fragment#instantiate", //(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;)Landroid/app/Fragment;", "android.os.Handler#sendMessageAtTime", + "android.view.LayoutInflater#rInflate", "android.view.View#isInEditMode", - "com.android.internal.util.XmlUtils#convertValueToInt" + "com.android.internal.util.XmlUtils#convertValueToInt", // TODO: comment out once DelegateClass is working // "android.content.res.Resources$Theme#obtainStyledAttributes", }; -- cgit v1.1