/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.layoutlib.bridge; /** * Constant definition class.
*
* Most constants have a prefix defining the content. * * */ public class BridgeConstants { /** Namespace for the resource XML */ public final static String NS_RESOURCES = "http://schemas.android.com/apk/res/android"; /** App auto namespace */ public final static String NS_APP_RES_AUTO = "http://schemas.android.com/apk/res-auto"; public final static String NS_TOOLS_URI = "http://schemas.android.com/tools"; public final static String R = "com.android.internal.R"; public final static String MATCH_PARENT = "match_parent"; public final static String FILL_PARENT = "fill_parent"; public final static String WRAP_CONTENT = "wrap_content"; // Should be kept in sync with LayoutMetadata.KEY_LV_ITEM in tools/adt/idea /** Attribute in the tools namespace used to specify layout manager for RecyclerView. */ @SuppressWarnings("SpellCheckingInspection") public static final String ATTR_LIST_ITEM = "listitem"; public static final String ATTR_OPEN_DRAWER = "openDrawer"; }