Loading core/java/android/view/LayoutInflater.java +5 −2 Original line number Diff line number Diff line Loading @@ -923,8 +923,11 @@ public abstract class LayoutInflater { + " include tag: <include layout=\"@layout/layoutID\" />"); } // Attempt to resolve the "?attr/name" string to an identifier. layout = context.getResources().getIdentifier(value.substring(1), null, null); // Attempt to resolve the "?attr/name" string to an attribute // within the default (e.g. application) package. layout = context.getResources().getIdentifier( value.substring(1), "attr", context.getPackageName()); } // The layout might be referencing a theme attribute. Loading Loading
core/java/android/view/LayoutInflater.java +5 −2 Original line number Diff line number Diff line Loading @@ -923,8 +923,11 @@ public abstract class LayoutInflater { + " include tag: <include layout=\"@layout/layoutID\" />"); } // Attempt to resolve the "?attr/name" string to an identifier. layout = context.getResources().getIdentifier(value.substring(1), null, null); // Attempt to resolve the "?attr/name" string to an attribute // within the default (e.g. application) package. layout = context.getResources().getIdentifier( value.substring(1), "attr", context.getPackageName()); } // The layout might be referencing a theme attribute. Loading