11 Commits

Author SHA1 Message Date
Aurimas Liutikas
cab6d0da26 Merge "Do not attempt to update GONE childen of CoordinatorLayout."
GitOrigin-RevId=73c5aabec92eff5417a06f84459d7f39470851e4

PiperOrigin-RevId: 141502378
2016-12-12 16:02:13 -08:00
Kirill Grouchnikov
1c047f4d1d Remove flakiness / race condition in snackbar tests
Instead of artifical timeouts and race condition in waiting
for snackbar's dismissal in a loop, use Espresso's IdlingResource
to reliably wait until the snackbar has been shown or
dismissed.

Also align the API surface of snackbar's callbacks with DrawerLayout's
listeners, allowing registering more than one callback, and removing
registered callbacks.

Bug: 32022732
Test: ./gradlew support-design:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.design.widget.CustomSnackbarTest
Test: ./gradlew support-design:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.design.widget.SnackbarTest
Change-Id: If8f8415b6453d75cb24a022b2d7d676f7649542c

GitOrigin-RevId=8c153ac8980737c4292ae1c019c69471607b3859

PiperOrigin-RevId: 141502000
2016-12-12 16:02:08 -08:00
Chris Banes
c2e6816d6d Merge "Sync password toggle view after being re-enabled"
GitOrigin-RevId=2a6de19abd05a25e956cd9a62e7069480637ccc4

PiperOrigin-RevId: 141501611
2016-12-12 16:02:03 -08:00
Aurimas Liutikas
6c89dd0666 Merge "Remove a few more usages of runOnMainSync in support-design"
GitOrigin-RevId=648fe3e3376bbc9c9c46c429d6079c3d7c5b5569

PiperOrigin-RevId: 141501179
2016-12-12 16:01:58 -08:00
Chet Haase
740739d8bd Clean up BottomBar docs
Test: made sure docs target build, results looked reasonable
Bug: 32270959 clean up example in BottomNavigationView header docs
Change-Id: Ie27b07ae6b34da60942b448e61386f0a254691e5

GitOrigin-RevId=6f51cc026f499c095cb4259c5480eb8c44635ec3

PiperOrigin-RevId: 141500888
2016-12-12 16:01:54 -08:00
Aurimas Liutikas
4ed543653e Merge "Force BottomNavigationView item labels to be singleLine."
GitOrigin-RevId=02df9a239ca934dd45815d6a291707b1a011766e

PiperOrigin-RevId: 141500461
2016-12-12 16:01:50 -08:00
Alan Viverette
2b4d7c79b6 Fix CoordinatorLayout IllegalArgumentException crash am: f42b1d0113 am: 943958d2b3
am: fbeb10907c

Change-Id: Ie3342f649fcbda77f5bcba0b8df2341792fc4c85

GitOrigin-RevId=1f308230a8f1266c27bffc37fbbe7780aacc1ebd

PiperOrigin-RevId: 141499623
2016-12-12 16:01:45 -08:00
Kirill Grouchnikov
b241ff5785 Merge "Support custom views on snackbars"
GitOrigin-RevId=baa44c7e34d35c5aec759edd57a0833e31417379

PiperOrigin-RevId: 141498549
2016-12-12 16:01:41 -08:00
travisc
0cbebc7887 Begin syncing to 25.1.0 design library code.
This CL will look a bit strange, as it reverse some changes that
were already present. Unfortunately the Android auto-merger greatly
confuses our syncing tool, as it effectively creates new commits
that have the same content as old commits, and does so in a
non-linear fashion (e.g. the commit tree in 25.1.0 is not merely
built on top of 25.0.1).

This CL will get us into a state where we're ready to apply the rest
of the 25.1.0 changes in succession, and once that is completed,
we'll be at the correct (matching) state.

GitOrigin-RevId=11a895a323af06c4731e4c64a7ec2c09ac0aaf2f

PiperOrigin-RevId: 141497561
2016-12-12 16:01:37 -08:00
travisc
0625dfe0e9 Setup a basic gradle build.
Any interaction with Maven is missing, and docs/API txt's are not currently
generating. These will be done in future CLs.

PiperOrigin-RevId: 141363143
2016-12-12 16:01:31 -08:00
travisc
5effa7d71f Add gradle wrapper and associated files, restructure top-level directories.
This new structure will allow for a top-level gradle file and a multi-project
build (which is a more typical structure for things). In the future, it will
allow us to place other projects in here as well (such as sample applications).

PiperOrigin-RevId: 141247594
2016-12-12 16:01:26 -08:00