History log of /frameworks/support/design/tests/src/android/support/design/widget/BaseDynamicCoordinatorLayoutTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2e522d2998c937948757ccfe0a5523047726fb4d 07-Jun-2016 Chris Banes <chrisbanes@google.com> Fix scrolling view position with fitSystemWindows parent

Currently the scrolling view is not positioned correctly
if the CoordinatorLayout is set to fitSystemWindows, but
none of its children are. This CL fixes that by properly
insetting the scrolling view.

BUG: 29125508
Change-Id: I3b802f98197ee50e9caee610c32631daeb5af9aa
/frameworks/support/design/tests/src/android/support/design/widget/BaseDynamicCoordinatorLayoutTest.java
5ee7b3de4f2bbecd3eb7e346809250d9ca806a9e 13-Feb-2016 Kirill Grouchnikov <kirillg@google.com> First pass for testing anchoring of views in CoordinatorLayout.

One test checks that snackbar shown in coordinator layout with
a FAB pushes the FAB up as a built-in behavior. The second test
checks that snackbar showin in coordinator layout results in
custom view's behavior (registed in XML as class name) to be invoked.

The setup is dynamic, allowing using multiple "content" layouts in
the same activity so that we don't need to have multiple Activity
classes cluttering the package.

This CL also has a proposed way to "wait" until Snackbar has been
fully shown with custom callback and Espresso's idling resources.

Change-Id: Idf0ab8cdc7e2454bbcddb36c94d832d921c56da6
/frameworks/support/design/tests/src/android/support/design/widget/BaseDynamicCoordinatorLayoutTest.java