Chris Banes
ff6063c1db
Fix SDK int check in TextInputLayout
...
am: bdb210a
* commit 'bdb210a52ce1966368f534253822f15a8591a74f':
Fix SDK int check in TextInputLayout
Change-Id: I9a59cb7994f422c838a44ed4311da459d0f75203
GitOrigin-RevId=ebb9b8cfda9e643d77e3bf15ed10efd2ae55227e
PiperOrigin-RevId: 140560726
2016-12-12 15:53:51 -08:00
Ryan Lothian
5148bbcbd0
Merge "Revert "TabLayout + ViewPager improvements"" into nyc-dev
...
GitOrigin-RevId=335da996682889d7eb3ba030dd48eed383726254
PiperOrigin-RevId: 140560722
2016-12-12 15:53:46 -08:00
Chris Banes
982940f4d8
Merge "TabLayout + ViewPager improvements" into nyc-dev
...
GitOrigin-RevId=641460fbf3bc54026e6dc561dc35224e0aa02a4a
PiperOrigin-RevId: 140560715
2016-12-12 15:53:42 -08:00
Chris Banes
3001c3bc54
Merge "Enable automatic FAB show/hide to work without minHeight" into nyc-dev
...
GitOrigin-RevId=efc00e96d5cf3bf42c5b2620284e80c9febc169a
PiperOrigin-RevId: 140560698
2016-12-12 15:53:38 -08:00
Chris Banes
862b4a361d
Merge "Fix TabLayout text size issue" into nyc-dev
...
GitOrigin-RevId=801fc37fd34d31fdb2b0e943f1c6eef5067a827f
PiperOrigin-RevId: 140560665
2016-12-12 15:53:34 -08:00
Chris Banes
ec299a489a
Fix design support lib docs build
...
Change-Id: Ifde9b6a5a01699c802e6d6c541ac827e0a1c5332
GitOrigin-RevId=926cd28257536b1206934d69585a2dab100147d5
PiperOrigin-RevId: 140560632
2016-12-12 15:53:30 -08:00
Chris Banes
a03cca4fb7
Merge "Use StateListAnimator for AppBarLayout elevation changes" into nyc-dev
...
GitOrigin-RevId=cb849a71706ac0660a5383c11629bc8d9c1a9f28
PiperOrigin-RevId: 140560610
2016-12-12 15:53:26 -08:00
Adam Lesinski
ac75324568
Merge "Build support libs with AAPT2" into nyc-dev
...
GitOrigin-RevId=cb461c15a1f928b54db6e3972cfabbf559e8b22d
PiperOrigin-RevId: 140560554
2016-12-12 15:53:22 -08:00
Chris Banes
13bde7fd12
Merge "Fix FAB + Snackbar stacking with hidden FAB" into nyc-dev
...
GitOrigin-RevId=dbe6c3f955b18301236f0aa21c67a1f7ccfb702d
PiperOrigin-RevId: 140560542
2016-12-12 15:53:18 -08:00
Adam Lesinski
893c70e715
Merge "Revert "Build support libs with AAPT2"" into nyc-dev
...
GitOrigin-RevId=bba78041485f18297695b1b4d3f1245453f8b30c
PiperOrigin-RevId: 140560522
2016-12-12 15:53:14 -08:00
Adam Lesinski
9bbeff1507
Merge "Build support libs with AAPT2" into nyc-dev
...
GitOrigin-RevId=920dacfbd0a6d9ca0195439d9baa750aee3230b9
PiperOrigin-RevId: 140560512
2016-12-12 15:53:09 -08:00
Aurimas Liutikas
09e81bd6fe
Merge "Fix multi-pointer behavior for Snackbar." into mnc-ub-dev
...
am: 1315db6
* commit '1315db63b39219f4a3ff87200c2bbc27f27667a2':
Fix multi-pointer behavior for Snackbar.
Change-Id: Ia8ba7ec9a0add689e954ba183a6e183bd88016ce
GitOrigin-RevId=c1e2e3be85de2fecb6ab45f593832d94b47b576e
PiperOrigin-RevId: 140560500
2016-12-12 15:53:04 -08:00
Chris Banes
86cbc614f6
Merge "Add workaround for invalidation bug on API 21-22" into mnc-ub-dev
...
am: 0799afc
* commit '0799afc163bd5d8f9bfd6869e451c4be5640c971':
Add workaround for invalidation bug on API 21-22
Change-Id: Ib1450fdbc7832b158464e6603177faa11720500a
GitOrigin-RevId=b21b5491bcd540843e1d6fe0fdaaddd03d2c5165
PiperOrigin-RevId: 140560484
2016-12-12 15:53:00 -08:00
Chris Banes
e0d66731a8
Merge "Allow AppBarLayout to be taller than CoordinatorLayout" into mnc-ub-dev
...
am: f72a8be
* commit 'f72a8bec72c6ccb0b6e5df45d444e96b0d77c0d9':
Allow AppBarLayout to be taller than CoordinatorLayout
Change-Id: If1cb6d0a41d58411265da510a9e374a7817509ac
GitOrigin-RevId=a2f7210e7a307d65830847cf2179b05e9099ee13
PiperOrigin-RevId: 140560482
2016-12-12 15:52:56 -08:00
Adam Lesinski
dbc997a218
Revert "Build support libs with AAPT2"
...
This reverts commit 0dac8d82e2a249d7c9c42ab259389e11cac15400.
Change-Id: I830fb18162b6eea8dde9e38f9dc39b02449ec846
GitOrigin-RevId=4ac91fa3f14db2f25345595fb921497c11d4e5c0
PiperOrigin-RevId: 140560479
2016-12-12 15:52:52 -08:00
Adam Lesinski
ecc159f2e4
Build support libs with AAPT2
...
Use AAPT2 to build the framework support libraries. Apps built with AAPT2 can more efficiently
link against these libraries by specifying their module name in LOCAL_STATIC_ANDROID_LIBRARIES.
Ex:
LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v7-appcompat android-support-v4
Apps built with AAPT2 do not need to specify --auto-add-overlay or --extra-packages, as these
are automatically added as needed by the build system.
This change will not affect any apps that currently depend on the support libraries.
This is because they import the resources directly.
We use LOCAL_JAR_EXCLUDE_FILES := none only to support javac when building javadoc.
Jack builds are correct because the build system passes in the latest generated R.java
ahead of any previous ones packaged in classes.jack. This means we can dynamically reference
a support lib module, correctly seeing non-final R.java. Then at app package time, we only
include the final R.java generated by the AAPT2 packaging step.
Bug:25958912
Change-Id: I71bff080ff2694aa3df1c8a67d933e2daab0f245
GitOrigin-RevId=0dac8d82e2a249d7c9c42ab259389e11cac15400
PiperOrigin-RevId: 140560475
2016-12-12 15:52:48 -08:00
Yuichi Araki
e89eec227d
Merge "Fix layout when BottomSheet is moving" into nyc-dev
...
GitOrigin-RevId=1d321c85887197738dca2465b679c5258756b9a2
PiperOrigin-RevId: 140560468
2016-12-12 15:52:44 -08:00
Yuichi Araki
dce18cd5dc
Merge "Fix setState with the current state" into mnc-ub-dev
...
am: c5f5f85
* commit 'c5f5f85c1323787b2dc692af2dbd3efc804d5034':
Fix setState with the current state
Change-Id: Ifbbadcb2f888adcfe29b776a3ab363e88fbe6885
GitOrigin-RevId=4f0c8201b8c02def322843f180b86e0ea466e650
PiperOrigin-RevId: 140560466
2016-12-12 15:52:40 -08:00
Chris Banes
d26cc78b39
Merge "Use the EditText\'s gravity for TextInputLayout" into mnc-ub-dev
...
am: 0c098da
* commit '0c098da66d0c9c2566d5353fd4a38cd8a2d9a9d7':
Use the EditText's gravity for TextInputLayout
GitOrigin-RevId=2b84e6781ea06c6139bbeab062f1248d3819fcc7
PiperOrigin-RevId: 140560453
2016-12-12 15:52:36 -08:00
Yuichi Araki
7afa2a32d3
Merge "BottomSheetBehavior#setState before layout" into mnc-ub-dev
...
am: 9203384
* commit '9203384c85914e13350d72a0111d6eab1551aad0':
BottomSheetBehavior#setState before layout
GitOrigin-RevId=a5c4f9fb6b571c6694b2d996ccd89d9c9cf06cf0
PiperOrigin-RevId: 140560447
2016-12-12 15:52:32 -08:00
Taeho Kim
d9eccb5225
Merge "Fix NPE when calling setState() before onLayoutChild()" into mnc-ub-dev
...
am: 93978d0
* commit '93978d066bab7f16175573c1b58c5449284fad6d':
Fix NPE when calling setState() before onLayoutChild()
GitOrigin-RevId=2d72783642304f1397b9740359594d26c11ada3f
PiperOrigin-RevId: 140560442
2016-12-12 15:52:28 -08:00
Chris Banes
d09f67fab2
Fix FloatingActionButton doc build
...
Change-Id: Ia1becbc40d7dfac61fd88ea16da4fbe149fc8c68
GitOrigin-RevId=56f0ad8d4fa234d2801971042ff1d71aba960e37
PiperOrigin-RevId: 140560428
2016-12-12 15:52:24 -08:00
Chris Banes
0dd6fc7b1e
Merge "Fix TextInputLayout clearing the EditText tint" into mnc-ub-dev
...
am: 403e480
* commit '403e4802cae0b5354cac650f26e1a4f5e74b696c':
Fix TextInputLayout clearing the EditText tint
GitOrigin-RevId=5b52850af5eb41669b8b741518d316b40be9d676
PiperOrigin-RevId: 140560422
2016-12-12 15:52:20 -08:00
Chris Banes
638d6ab685
Merge "Don\'t call requestDisallowInterceptTouchEvent(false)" into mnc-ub-dev
...
am: bed7de3
* commit 'bed7de3603499da7577e50ae70c2369dca9d2a55':
Don't call requestDisallowInterceptTouchEvent(false)
GitOrigin-RevId=65a1c00240675067047b3ef23d5c1ecca1a6ab22
PiperOrigin-RevId: 140560416
2016-12-12 15:52:16 -08:00
Chris Banes
78c20c89c0
Merge "Make FAB react to window size" into nyc-dev
...
GitOrigin-RevId=94cdf63dbb45423fdc219835e30ae02d39027409
PiperOrigin-RevId: 140560414
2016-12-12 15:52:12 -08:00
Yuichi Araki
3019804e6f
Merge "BottomSheetBehavior now handles fitsSystemWindows" into mnc-ub-dev
...
am: 29bbfda
* commit '29bbfdab23a202edb76fe87897f6e3b8a7c2d131':
BottomSheetBehavior now handles fitsSystemWindows
GitOrigin-RevId=2d42022740a6d622d6f7d1ccca7b91b90eb63d28
PiperOrigin-RevId: 140560406
2016-12-12 15:52:08 -08:00
Chris Banes
3d94665430
Merge "Fix AppBarLayout enterAlwaysCollapsed with inset window" into mnc-ub-dev
...
am: 6002db9
* commit '6002db956d178d96f755f70826b92f24405de65b':
Fix AppBarLayout enterAlwaysCollapsed with inset window
GitOrigin-RevId=18dee0438f1e5b61da88275e769376a68994d766
PiperOrigin-RevId: 140560263
2016-12-12 15:52:02 -08:00
Chris Banes
14425b5298
Merge "Disable Snackbar animations if necessary" into mnc-ub-dev
...
am: 3b591d5
* commit '3b591d566e2242881b149bc43d60dc4cbd374392':
Disable Snackbar animations if necessary
GitOrigin-RevId=12113fa03c02662190617538e3e11d7aaa705654
PiperOrigin-RevId: 140560260
2016-12-12 15:51:58 -08:00
Kirill Grouchnikov
b614838d8d
mutate() the background of TextInputLayout's editor on changes.
...
Otherwise the currently tinted background will be used for the next
inflated TextInputLayout.
Bug: 27694398
Change-Id: I6772ab9b58e98675f7b9535d54ef30001d8b3df4
GitOrigin-RevId=0f6a807ceaa96930e57e55826ddaae5eab692aa8
PiperOrigin-RevId: 140560259
2016-12-12 15:51:54 -08:00
Kirill Grouchnikov
2d2074372d
Merge "Fix selection state for custom views on TabLayout" into nyc-dev
...
GitOrigin-RevId=5034e5a407b4b7014e1dc9b09accb99f8a5b0a8d
PiperOrigin-RevId: 140560244
2016-12-12 15:51:46 -08:00
Aurimas Liutikas
199bb6c5ed
Check for saved state type in onRestoreInstanceState.
...
am: bb58a82
* commit 'bb58a82daf11bf3c056d1cd5887aa26435d37b69':
Check for saved state type in onRestoreInstanceState.
GitOrigin-RevId=7541e4bfa0c9fff31bcb12fc5a94365565388715
PiperOrigin-RevId: 140560234
2016-12-12 15:51:42 -08:00
Yuichi Araki
582c6d2d0c
Merge "Fix BottomSheetBehavior drag condition" into mnc-ub-dev
...
am: 5eb3e45db9
* commit '5eb3e45db9cb0cdcd20dac450d9408f31ae375c2':
Fix BottomSheetBehavior drag condition
GitOrigin-RevId=c4b238e1a082c985d1354bdb232a657e60bc71f2
PiperOrigin-RevId: 140560219
2016-12-12 15:51:34 -08:00
Chris Banes
85690d34c1
Merge "Add overload for setupWithViewPager()" into nyc-dev
...
GitOrigin-RevId=6da2fc54652547d6bdba7ae1bed46177af2a268d
PiperOrigin-RevId: 140560215
2016-12-12 15:51:30 -08:00
Alan Viverette
5c2ec53dc5
Merge "Lazily create cancelEvent in CoordinatorLayout.performIntercept()" into nyc-dev
...
GitOrigin-RevId=7aaa878e2e8dd85576041f410cedb0e9dd162bfa
PiperOrigin-RevId: 140560198
2016-12-12 15:51:25 -08:00
Alan Viverette
791de068da
Merge "Unparcel TextInputLayout error using CHAR_SEQUENCE_CREATOR" into mnc-ub-dev
...
am: 72fe2e3b25
* commit '72fe2e3b256965c9a784cd91775e03706d9f393e':
Unparcel TextInputLayout error using CHAR_SEQUENCE_CREATOR
GitOrigin-RevId=219002589d8a45a7d034af08335c535228eaea0c
PiperOrigin-RevId: 140560184
2016-12-12 15:51:21 -08:00
Alan Viverette
a52c3beaab
Merge "Verify class of Parcelable in CoordinatorLayout restore state" into mnc-ub-dev
...
am: 742a876bb4
* commit '742a876bb42a13f152cd34987aa5c8b5bddd7ecf':
Verify class of Parcelable in CoordinatorLayout restore state
GitOrigin-RevId=0e80971eca90c8b1d470f3804bfb006803ec50fd
PiperOrigin-RevId: 140560175
2016-12-12 15:51:17 -08:00
Chris Banes
2154ff6d0a
Merge "Fix crash in TextInputLayout\'s counter view" into mnc-ub-dev
...
am: a36552183a
* commit 'a36552183a21899f5a4b09aec03931dae99bdc72':
Fix crash in TextInputLayout's counter view
GitOrigin-RevId=57e22e067f262010469adae2acfa029597c417b1
PiperOrigin-RevId: 140560144
2016-12-12 15:51:09 -08:00
Kirill Grouchnikov
cd37c39b89
Add test for snapping behavior of AppBarLayout
...
Also fix bug for incomplete snapping on older devices.
Bug: 27408006
Change-Id: I47fda88c2d7f1bf5ba230e9f7937b2fd05e72282
GitOrigin-RevId=c530cc115fddab8e1d9645b322424dd45f9ecd0d
PiperOrigin-RevId: 140560121
2016-12-12 15:50:59 -08:00
Yuichi Araki
7ed2147249
Merge "Fix BottomSheetDialog when it is short" into mnc-ub-dev
...
am: 7cf2a13442
* commit '7cf2a134424e8d7a5095f0df1749bfe871dabb8a':
Fix BottomSheetDialog when it is short
GitOrigin-RevId=bec43dcc29fb7a3494139b470b0481106e1973a9
PiperOrigin-RevId: 140560111
2016-12-12 15:50:55 -08:00
Yuichi Araki
733adaaf09
Merge "Reduce talkback for the character counter" into mnc-ub-dev
...
am: ed26bb259a
* commit 'ed26bb259a74cbea495d38ca562ada0723f76551':
Reduce talkback for the character counter
GitOrigin-RevId=37b386a83b3f0ce00d0c734973594ac930466a1b
PiperOrigin-RevId: 140560106
2016-12-12 15:50:51 -08:00
Chris Banes
3c6b9a2fed
Merge "Fix FloatingActionButton.setBackgroundTint* not working" into mnc-ub-dev
...
am: 0960724273
* commit '0960724273891c9f7a9e2f2f6397c0389747b36e':
Fix FloatingActionButton.setBackgroundTint* not working
GitOrigin-RevId=0f268e050ac69084f9e00bfb149735239704c101
PiperOrigin-RevId: 140560089
2016-12-12 15:50:43 -08:00
Chris Banes
19437b21ee
Merge "Revert "Use colorControlActivated for an active item"" into mnc-ub-dev
...
am: d0d6eb2423
* commit 'd0d6eb2423ee219f83738f335ed8be9b9153cc01':
Revert "Use colorControlActivated for an active item"
GitOrigin-RevId=430d86cbc4754c85aca378b0642f14c256e4f933
PiperOrigin-RevId: 140560077
2016-12-12 15:50:34 -08:00
Chris Banes
5129412ff2
Merge "Don\'t always use window insets in AppBarLayout" into mnc-ub-dev
...
am: 1dc40ada0a
* commit '1dc40ada0a0195df70cad1a3f1c8ebd43e75f5d6':
Don't always use window insets in AppBarLayout
GitOrigin-RevId=d16802005fe16fb8290dd514611b1554d0db6682
PiperOrigin-RevId: 140560074
2016-12-12 15:50:30 -08:00
Chris Banes
d0492a847d
Merge "Tidy up TextInputLayout.setError()" into nyc-dev
...
GitOrigin-RevId=a3f9d4d786427afc96bc48bebd9304c56d41a7c3
PiperOrigin-RevId: 140560069
2016-12-12 15:50:26 -08:00
Chris Banes
f0ab6a6c3a
Add add/remove methods for TabLayout's selection listener
...
Allows us to use an internal listener without fear of
an external developer wiping it out. Deprecated the
old set version.
BUG: 27351323
Change-Id: Iac693d1289327047d5529415e6f83f5c472a1499
GitOrigin-RevId=6f9a84a7424c822c628fd0d7ebfaf6abf1656155
PiperOrigin-RevId: 140560060
2016-12-12 15:50:22 -08:00
Chris Banes
6dad4607e8
resolve merge conflicts of c16e4c6eec to nyc-dev
...
Change-Id: Ic309b7bbeb3c89e4e73f09b5806b566d004e0250
GitOrigin-RevId=84549395ed3e2ec0453f7349716a12eab9901703
PiperOrigin-RevId: 140560055
2016-12-12 15:50:18 -08:00
Chris Banes
f79f52fd2a
Merge "Revert "Add add/remove methods for TabLayout's selection listener"" into nyc-dev
...
GitOrigin-RevId=989955e674e6cad59fdcf4c0e3cdf9510b2c49d0
PiperOrigin-RevId: 140560047
2016-12-12 15:50:14 -08:00
Chris Banes
ff66f415e3
Merge "Add add/remove methods for TabLayout's selection listener" into nyc-dev
...
GitOrigin-RevId=005faae5801a9b93a33b5810c001095cc24b983b
PiperOrigin-RevId: 140560040
2016-12-12 15:50:09 -08:00
Chris Banes
06d44377be
Fix FAB and background attrs again
...
am: d95e0bb027
* commit 'd95e0bb0271ae59387dd9d2ca402ad6f39d789d2':
Fix FAB and background attrs again
GitOrigin-RevId=ccfe45bc4d8090bc9283f3d8dcbfc5497da273e8
PiperOrigin-RevId: 140560026
2016-12-12 15:49:58 -08:00
Chris Banes
76f08c75ad
Merge "Revert "Add default style attrs for design components"" into nyc-dev
...
GitOrigin-RevId=67bad837194c39a022050c45379ef14f0ad074ff
PiperOrigin-RevId: 140560016
2016-12-12 15:49:53 -08:00