24 Commits

Author SHA1 Message Date
TreeHugger Robot
5cebd32087 Merge "Fix FAB showing as pressed when the user drags off it" into nyc-support-25.1-dev
GitOrigin-RevId=099115399b63ce5e24da28017a2266379bd26930

PiperOrigin-RevId: 141511120
2016-12-12 16:03:54 -08:00
Alan Viverette
8cd7c9fdc4 Perform API backwards compatibility check as part of support checkApi
Works around Doclava API check limitations in Snackbar and v17 classes.
Removes @removed code. Restores GuidedActionsStylelist API that was
removed without prior deprecation.

Bug: 30434567
Change-Id: I58c8a869f4e620d2aca8765a73105c95c185c791

GitOrigin-RevId=77d397d533d04dfec663939692f2e048a072ee5b

PiperOrigin-RevId: 141510703
2016-12-12 16:03:50 -08:00
TreeHugger Robot
8a34d1903b Merge "Fix accessibility for password toggle button" into nyc-support-25.1-dev
GitOrigin-RevId=ce68d2b2f605e85c22fe6453d10610d2d40d09f1

PiperOrigin-RevId: 141510504
2016-12-12 16:03:46 -08:00
Chris Banes
4816edf175 Merge "Don't dispatch nested scroll events to GONE views" into nyc-support-25.1-dev
GitOrigin-RevId=e47578f12b31591ae984b97a9746e6beeaeb093b

PiperOrigin-RevId: 141510105
2016-12-12 16:03:37 -08:00
Aurimas Liutikas
08b847539c Merge "Move from GROUP_ID to LIBRARY_GROUP annotations" into nyc-support-25.1-dev
GitOrigin-RevId=5f39e7d6ab66782c180079750130d0aadedde424

PiperOrigin-RevId: 141509933
2016-12-12 16:03:32 -08:00
Aurimas Liutikas
8f5bfa5881 Fix BottomNavigationMenu item selection via Menu object
am: 69557a3a03

Change-Id: Iaab10e75354d53096958671d18bd47dc07dfdb28

GitOrigin-RevId=b4da44d7478295076c41ad68ffbced62f0e3b8d4

PiperOrigin-RevId: 141509777
2016-12-12 16:03:28 -08:00
Yuichi Araki
5b508e285f Merge "Handle ACTION_DISMISS in BottomSheetDialog" into nyc-support-25.1-dev
GitOrigin-RevId=d91caeb62e0381daae5dde3a3762587e02329f1c

PiperOrigin-RevId: 141508961
2016-12-12 16:03:19 -08:00
Alan Viverette
0ed7e06c94 Merge remote-tracking branch 'goog/master' into ffwd
GitOrigin-RevId=b0ee811d9ded5a8b94c94652c01d5db7b0ce4b51

PiperOrigin-RevId: 141507272
2016-12-12 16:03:00 -08:00
Chris Banes
6e68784cb1 Stop measure/layout on GONE views in CoordinatorLayout
am: 5435163672

Change-Id: Ifabc1403aa3d16ce9eeaf79263dec71b5019f76e

GitOrigin-RevId=5504bf16938b16c0456a52714d2297062fd7cd8e

PiperOrigin-RevId: 141507009
2016-12-12 16:02:56 -08:00
Chris Banes
97fde0f0cd Fix TextInputLayout hint not working in extract mode
am: 5eab26a2b6

Change-Id: I0d07737edb258df66fdcb6ea33a08a27153422da

GitOrigin-RevId=773434a1329c3c4abac61f623dbf390178a96688

PiperOrigin-RevId: 141506225
2016-12-12 16:02:52 -08:00
Aurimas Liutikas
73e50fe61e BottomNavigationView javadoc fix up.
am: e1e8ec0b26

Change-Id: Ib73c34b74e9e6681a4b5b87db0ce462c96e4fd5b

GitOrigin-RevId=417d9281c4a4e35484e0af07ae915e1cac73136d

PiperOrigin-RevId: 141505885
2016-12-12 16:02:48 -08:00
Aurimas Liutikas
17b966635a Add shadow to BottomNavigationView.
am: 7ff7ddcb89

Change-Id: I85aea8320dea1fe8010a6fd5392834a7f53b22a0

GitOrigin-RevId=d484061a5bf1efcc88e349c229e1d1acbb9befae

PiperOrigin-RevId: 141505394
2016-12-12 16:02:43 -08:00
Aurimas Liutikas
d6acdded21 resolve merge conflicts of 9e1bec8 to master
Change-Id: Ia992f6a6995d30961d7a258337102da792561d5f

GitOrigin-RevId=5fa3fd281ab74ca1dbc56550e830fe2ef9682da6

PiperOrigin-RevId: 141505173
2016-12-12 16:02:38 -08:00
Aurimas Liutikas
b6afbc1f91 Start using return value of OnNavigationItemSelectedListener. am: 578015fc3e am: a502cd075f am: ba4b4c48c7
am: 9fdc2c22a0

Change-Id: Ia9b3c0bd39b7c38beade606f7f311a12bfe5bad8

GitOrigin-RevId=5f006fe9d3c4c9b8883f7755c42fdf3833d6b8a7

PiperOrigin-RevId: 141504385
2016-12-12 16:02:30 -08:00
TreeHugger Robot
90a0de4d67 Merge "Annotate support classes with RequiresApi / TargetApi"
GitOrigin-RevId=338f46204a197c6ab6d11d5923dce01346b0e047

PiperOrigin-RevId: 141503856
2016-12-12 16:02:22 -08:00
Yuichi Araki
0fb66fa282 Merge "NavigationView restores state of the headers"
GitOrigin-RevId=ff8c0bdab1c137451bef9ad7a16846ab142f8381

PiperOrigin-RevId: 141503107
2016-12-12 16:02:17 -08:00
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
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
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
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