Package com.android.ide.common.rendering.api

Examples of com.android.ide.common.rendering.api.AttrResourceValue


            case DECLARE_STYLEABLE:
                value = new DeclareStyleableResourceValue(
                        type, name, isFrameworks);
                break;
            case ATTR:
                value = parseAttrValue(new AttrResourceValue(type, name, isFrameworks));
                break;
            default:
                value = parseValue(new ResourceValue(type, name, isFrameworks));
                break;
        }
View Full Code Here


                break;
            case PLURALS:
                value = parsePluralsValue(new PluralsResourceValue(name, isFrameworks));
                break;
            case ATTR:
                value = parseAttrValue(new AttrResourceValue(type, name, isFrameworks));
                break;
            case STRING:
                value = parseTextValue(new TextResourceValue(type, name, isFrameworks));
                break;
            default:
View Full Code Here

                    if (name.startsWith(ANDROID_NS_NAME_PREFIX)) {
                        name = name.substring(ANDROID_NS_NAME_PREFIX_LEN);
                        isFrameworkAttr = true;
                    }

                    AttrResourceValue attr = parseAttrValue(child,
                            new AttrResourceValue(ResourceType.ATTR, name, isFrameworkAttr));
                    declareStyleable.addValue(attr);
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.android.ide.common.rendering.api.AttrResourceValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.