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
travisc
2db807fc71
Add code of conduct and issue template matching other platform's libraries.
...
PiperOrigin-RevId: 141127597
2016-12-12 16:01:22 -08:00
Chris Banes
072b670190
Fix CoordinatorLayout inset tests
...
Caused by a Rect being re-used when it shouldn't
be. Fixed for now by adding another temporary
rect.
Test: passes on 10-24
BUG: 31528047
Change-Id: I4053127a792799b4b4b4f184e8a296d4a76f0edd
GitOrigin-RevId=f073132a9b840d5bf3137e067d35264d0c4bad92
PiperOrigin-RevId: 140564844
2016-12-12 16:01:17 -08:00
Chris Banes
491b50a659
Possibly fix IllegalArgumentException for dodge insets
...
Using intersect for the check is actually incorrect,
since we want the resulting rect to be within the
view's bounds, therefore contains() is more appropriate.
Also added more debug info to the exception in case this
doesn't fix it.
Test: haven't been able to repro
BUG: 31528047
Change-Id: I4e72e3f8788b98d9234eb2ed4366045e29f1d72e
GitOrigin-RevId=c3e71f0d47d0b80ee0538e595cc9e98538ed380a
PiperOrigin-RevId: 140564840
2016-12-12 16:01:13 -08:00
Aurimas Liutikas
f00553a3e8
Merge "Fix BottomNavigationMenu item selection via Menu object" into nyc-mr1-dev
...
GitOrigin-RevId=c6885cd26f144d3ce2cab889b220bff158b5becb
PiperOrigin-RevId: 140564835
2016-12-12 16:01:08 -08:00
Chris Banes
60952ee9d7
Merge "Stop measure/layout on GONE views in CoordinatorLayout" into nyc-mr1-dev
...
GitOrigin-RevId=a00197715ad65c1afdaf407aaf18e9e550adb1cc
PiperOrigin-RevId: 140564828
2016-12-12 16:01:02 -08:00
TreeHugger Robot
b5d357b847
Merge "Fix TextInputLayout hint not working in extract mode" into nyc-mr1-dev
...
GitOrigin-RevId=b8d98f1a52faedf56f1ee5613689fb6d4f2edd9c
PiperOrigin-RevId: 140564817
2016-12-12 16:00:58 -08:00
Chris Banes
82e6d8ac77
Merge "Preserve left+right compound drawables" into nyc-mr1-dev
...
GitOrigin-RevId=a58ff1dd874d8dddf2385ccdcb98c522ff591b14
PiperOrigin-RevId: 140564806
2016-12-12 16:00:54 -08:00
Aurimas Liutikas
f8ecb8dded
Merge "BottomNavigationView javadoc fix up." into nyc-mr1-dev
...
GitOrigin-RevId=498c267573ddbdef66271e144af6b006c4d74742
PiperOrigin-RevId: 140564800
2016-12-12 16:00:50 -08:00
Aurimas Liutikas
d4461c00eb
Merge "Add shadow to BottomNavigationView." into nyc-mr1-dev
...
GitOrigin-RevId=6738b532d5121ee94896200f37e82b140dd8d357
PiperOrigin-RevId: 140564797
2016-12-12 16:00:46 -08:00
Aurimas Liutikas
31befb564d
Merge "Fix crash when adding items to BottomNavigationView." into nyc-mr1-dev
...
GitOrigin-RevId=9ea1de1d830db6a174e6495665bd0943d1a0f8f4
PiperOrigin-RevId: 140564788
2016-12-12 16:00:42 -08:00
Aurimas Liutikas
7df86b4ca6
Merge changes Id091acf5,Ie27b07ae,I701a2582,I32122d77 into nyc-mr1-dev
...
* changes:
Start using return value of OnNavigationItemSelectedListener.
Clean up BottomBar docs
Force BottomNavigationView item labels to be singleLine.
Clean-up BottomNavigationMenuView#onMeasure and other style fixes.
GitOrigin-RevId=c4037564222e361cb92bbc05a062f8da91be5f5f
PiperOrigin-RevId: 140564780
2016-12-12 16:00:38 -08:00
Alan Viverette
94e2756ddc
Merge "Fix CoordinatorLayout IllegalArgumentException crash" into nyc-mr1-dev
...
GitOrigin-RevId=76f4c18e25fdad211d81463dd9fb4586d7cc66a0
PiperOrigin-RevId: 140564755
2016-12-12 16:00:34 -08:00
TreeHugger Robot
dce3b40813
Merge "Update docs for TextInputLayout and ActivityCompat" into nyc-mr1-dev
...
GitOrigin-RevId=2abeb2e4343fd8deadb943bf5a2c02a764a99345
PiperOrigin-RevId: 140564751
2016-12-12 16:00:30 -08:00
Yuichi Araki
ee19b1c15f
Merge "Fix setWillNotDraw in ScrimInsetsFrameLayout" into nyc-mr1-dev
...
GitOrigin-RevId=0a67f0ce0df8b1e2c60f23c00f6f5da954db144e
PiperOrigin-RevId: 140564742
2016-12-12 16:00:26 -08:00
TreeHugger Robot
963ed8c2d1
Merge "Set background on correct view" into nyc-mr1-dev
...
GitOrigin-RevId=bbbe658ea43455e5530d717dbde38716705075be
PiperOrigin-RevId: 140564738
2016-12-12 16:00:22 -08:00
Chet Haase
d2a1943f2c
Merge "Revert "Set background on correct view"" into nyc-mr1-dev
...
GitOrigin-RevId=0000262ec628f37c6c662af12e4269b5befc5b54
PiperOrigin-RevId: 140564734
2016-12-12 16:00:18 -08:00
Alan Viverette
efd99424f9
Merge "Set background on correct view" into nyc-mr1-dev
...
GitOrigin-RevId=1525e4e3778248830dee5febd7e4eafd8850e79a
PiperOrigin-RevId: 140564729
2016-12-12 16:00:14 -08:00
Yuichi Araki
cb27739272
Merge "BottomSheetDialog is canceled when swiped down" into nyc-mr1-dev
...
GitOrigin-RevId=845f379018d1017a4a34cdf4ecb192e1978d74e9
PiperOrigin-RevId: 140564690
2016-12-12 16:00:09 -08:00
TreeHugger Robot
f212c53ccd
Merge "Fix title not showing when AppBarLayout initially collapsed" into nyc-mr1-dev
...
GitOrigin-RevId=ea650460b67457efe95675d803b1a08c052efe10
PiperOrigin-RevId: 140564677
2016-12-12 16:00:02 -08:00
TreeHugger Robot
fb318a293f
Merge "Make expanded title bounds start from top of Toolbar" into nyc-mr1-dev
...
GitOrigin-RevId=6f828f29f972e4af9e61cc0ae24afc1ef853fa28
PiperOrigin-RevId: 140564672
2016-12-12 15:59:58 -08:00
Alan Viverette
bc848c0149
Merge "Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations" into nyc-mr1-dev
...
GitOrigin-RevId=e79052ab6ad4db70b84c3c5aa0d7ccf94c743e9d
PiperOrigin-RevId: 140564671
2016-12-12 15:59:54 -08:00
Chris Banes
116b088e74
Fix flickering for anchored + inset dodging views
...
am: 6f5e71c633
Change-Id: I84fc0ebe9eb1ed080f44a813d998e0207d35278a
GitOrigin-RevId=dc565e8a7dd1c62201325b98e69642a64b96a4bb
PiperOrigin-RevId: 140564637
2016-12-12 15:59:50 -08:00
Chris Banes
efa90ae177
Fix TextInputLayout regressions
...
am: 46c7710bb8
Change-Id: Id3c713f4aba70527d83b570b055dffd792bd4a21
GitOrigin-RevId=eabc8679777cd73c397f12707bdeb1de41c521c1
PiperOrigin-RevId: 140564629
2016-12-12 15:59:45 -08:00
Yuichi Araki
7a4fc0e548
BottomSheet slideOffset when peekHeight is auto
...
am: e9864e3df0
Change-Id: Ibf467f85431ce82406be0ab4772392f20a1012e3
GitOrigin-RevId=4878d70139b883f55a6be288d7d930c6068c0977
PiperOrigin-RevId: 140564611
2016-12-12 15:59:41 -08:00
Yuichi Araki
3b0e57f023
Remove annoucement on BottomSheetDialog Background
...
am: b8fb1f844f
Change-Id: I8b2d3cb866dd3725ae1b6ea5154887b95b7ac58e
GitOrigin-RevId=4a51d9cb21bf8bf470f9619b5e13c57030cdd370
PiperOrigin-RevId: 140564607
2016-12-12 15:59:37 -08:00
Aurimas Liutikas
879f65f11f
Remove all the extra accessor methods added by javac in support-design.
...
am: 657ea1100f
Change-Id: I762e3378d1c7e82139e9f04c3f750324ffd9851c
GitOrigin-RevId=96a3a5a841741fddc3773f35a22e31cded6bbdd8
PiperOrigin-RevId: 140564573
2016-12-12 15:59:33 -08:00
Aurimas Liutikas
e01d4414d9
Merge "Fix Javadoc method reference in CollapsingToolbarLayout." into nyc-mr1-dev
...
GitOrigin-RevId=0c350f7a61259f7313b44eab8190d05454e05963
PiperOrigin-RevId: 140564563
2016-12-12 15:59:29 -08:00
Aurimas Liutikas
99e5e26453
Merge "Fix BottomNavigationViewTest." into nyc-mr1-dev
...
GitOrigin-RevId=d22aec00a5005d150e1f9015ed1f40d757d47281
PiperOrigin-RevId: 140564555
2016-12-12 15:59:25 -08:00
TreeHugger Robot
66a92d442b
Merge "Adding shifting mode to BottomNavigationView." into nyc-mr1-dev
...
GitOrigin-RevId=91c0da072d942eb0da9b44e0b67eda6a49b38770
PiperOrigin-RevId: 140564547
2016-12-12 15:59:20 -08:00
Chris Banes
ee5bc393c9
Fix CollapsingToolbarLayout not consuming insets
...
am: 40c8b62219
Change-Id: I07ff1bcf166693ba43948fd4281729169be9ff5b
GitOrigin-RevId=cc016a74d8ed4ebd67fe5d231be78777ad4f3bf6
PiperOrigin-RevId: 140564542
2016-12-12 15:59:16 -08:00
Yuichi Araki
41ef4d7e2e
Fix ViewDragHelper usage in BottomSheetBehavior
...
am: 6cb44089e8
Change-Id: I6fa108e94b7bb0130d06cdae27a1ce1d68faa490
GitOrigin-RevId=af80a686f277f5c59c99104a35b5fd3139b6931f
PiperOrigin-RevId: 140564539
2016-12-12 15:59:12 -08:00
Aurimas Liutikas
bad22e0f92
Merge "Improve text scaling animation for BottomNavigationView." into nyc-mr1-dev
...
GitOrigin-RevId=37f393e515bf5a7ab1ecc9d2cad7e2be6eb78742
PiperOrigin-RevId: 140564521
2016-12-12 15:59:08 -08:00
TreeHugger Robot
bc07b96bd9
Merge "Fix usages of deprecated methods in support-design code." into nyc-mr1-dev
...
GitOrigin-RevId=6ff96f58e00664a867b9f9e8e900ca190a82ebf4
PiperOrigin-RevId: 140564517
2016-12-12 15:59:02 -08:00
TreeHugger Robot
168dcc2003
Merge "Fix all usages of deprecated setBackgroundDrawable." into nyc-mr1-dev
...
GitOrigin-RevId=4a4d1cec1a0a072e8b6fa6425949cc2f6fadfbc9
PiperOrigin-RevId: 140564505
2016-12-12 15:58:58 -08:00
Chris Banes
8749086a16
Fix TextInputLayout error being magenta
...
am: f1ad79948d
Change-Id: Iacbbe5a049ef34da5da04ec571852b078f2ba356
GitOrigin-RevId=29156a7f227f814ff0aecb3a2380e4819c4a39c7
PiperOrigin-RevId: 140564494
2016-12-12 15:58:53 -08:00
Chris Banes
19a237dc74
Fix FloatingActionButton with nested anchors
...
am: c010d657a2
Change-Id: I1207b1e5c6cff1716f68aeb83925e3024782172a
GitOrigin-RevId=3c2f33358e275fadb3a8012f71b620233876b4ca
PiperOrigin-RevId: 140564491
2016-12-12 15:58:49 -08:00
TreeHugger Robot
a7b5da56b2
Merge "Fix IOOBE due to internal list being updated from remove" into nyc-mr1-dev
...
GitOrigin-RevId=b8fdfafda9aa5a5d5cdbcce8dcf7e208477e8b2c
PiperOrigin-RevId: 140564475
2016-12-12 15:58:45 -08:00
TreeHugger Robot
2e3edd249e
Merge "Annotate more support lib tests with size annotations." into nyc-mr1-dev
...
GitOrigin-RevId=7fb37f6d8dc8eb41b98811d878181d7c31d78670
PiperOrigin-RevId: 140564469
2016-12-12 15:58:41 -08:00
Aurimas Liutikas
b6027cd01c
Stop sending OnTabSelectedListener calls with null tabs.
...
am: 32ae746bb6
Change-Id: I9ea902716d16c400eed624f8f531e79e0c018dd3
GitOrigin-RevId=0dcaf948ec9b788f47038876c4b8ff799df79dc6
PiperOrigin-RevId: 140564462
2016-12-12 15:58:37 -08:00