material-components_materia.../lib/java/android/support/design/theme/MaterialComponentsViewInflater.java
travisc 74a2daf258 Add custom view inflater class for Material Components.
As of this commit, this is empty, but will be filled out with the various
widget classes in future commits.

PiperOrigin-RevId: 183425311
2018-03-02 14:54:45 -05:00

28 lines
1.1 KiB
Java

/*
* Copyright 2018 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 android.support.design.theme;
import android.support.annotation.Keep;
import android.support.v7.app.AppCompatViewInflater;
/**
* An extension of {@link AppCompatViewInflater} that replaces some framework widgets with Material
* Components ones at inflation time, provided a Material Components theme is in use.
*/
@Keep // Make proguard keep this class as it's accessed reflectively by AppCompat
public class MaterialComponentsViewInflater extends AppCompatViewInflater {}