mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 03:51:33 +08:00
This gives internal its own res directory, and pushes the build files down into the source directory (as it is with all our other non-widget packages). Ideally new things don't really get added to this package (instead they can be added to feature/component-specific packages as package private). A few new packages had to be created in order to break circular dependencies between widget and internal. This commit also fixes a number of problems with the Gradle build, as they were mostly related to dependency issues or things not being included in settings.gradle. The next step here is to do the same for the widget package, and turn the lib build files into something that just exports the other library packages. PiperOrigin-RevId: 179866428
37 lines
1.2 KiB
Java
37 lines
1.2 KiB
Java
/*
|
|
* Copyright (C) 2017 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.snackbar;
|
|
|
|
/** Interface that defines the behavior of the main content of a transient bottom bar. */
|
|
public interface ContentViewCallback {
|
|
/**
|
|
* Animates the content of the transient bottom bar in.
|
|
*
|
|
* @param delay Animation delay.
|
|
* @param duration Animation duration.
|
|
*/
|
|
void animateContentIn(int delay, int duration);
|
|
|
|
/**
|
|
* Animates the content of the transient bottom bar out.
|
|
*
|
|
* @param delay Animation delay.
|
|
* @param duration Animation duration.
|
|
*/
|
|
void animateContentOut(int delay, int duration);
|
|
}
|