Methods Summary |
---|
public static float | getElevation(android.view.View view)
return view.getElevation();
|
public static java.lang.String | getTransitionName(android.view.View view)
return view.getTransitionName();
|
public static float | getTranslationZ(android.view.View view)
return view.getTranslationZ();
|
public static boolean | isImportantForAccessibility(android.view.View view)
return view.isImportantForAccessibility();
|
public static void | requestApplyInsets(android.view.View view)
view.requestApplyInsets();
|
public static void | setElevation(android.view.View view, float elevation)
view.setElevation(elevation);
|
public static void | setOnApplyWindowInsetsListener(android.view.View view, OnApplyWindowInsetsListener listener)
view.setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() {
@Override
public WindowInsets onApplyWindowInsets(View view, WindowInsets windowInsets) {
// Wrap the framework insets in our wrapper
WindowInsetsCompatApi21 insets = new WindowInsetsCompatApi21(windowInsets);
// Give the listener a chance to use the wrapped insets
insets = (WindowInsetsCompatApi21) listener.onApplyWindowInsets(view, insets);
// Return the unwrapped insets
return insets.unwrap();
}
});
|
public static void | setTransitionName(android.view.View view, java.lang.String transitionName)
view.setTransitionName(transitionName);
|
public static void | setTranslationZ(android.view.View view, float translationZ)
view.setTranslationZ(translationZ);
|