• Home
  • History
  • Annotate
  • only in /frameworks/support/design/
History log of /frameworks/support/design/
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
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
ests/res/layout/include_appbar_scrollview.xml
ests/src/android/support/design/widget/AppBarWithToolbarTest.java
ests/src/android/support/design/widget/BaseDynamicCoordinatorLayoutTest.java
13633353237d6506f4c436b459bc8be8c3d7ed68 25-May-2016 Chris Banes <chrisbanes@google.com> Fix enterAlways|enterAlwaysCollapsed with window insets

Currently we take the window inset into account twice.
This CL fixes it by only taking it into account once.

Also updated the relevant test to use a translucent
status, and thus catch this on Lollipop+. It's how
99% of apps will use this anyway.

BUG: 28859045
Change-Id: I37c383b2e496768b42c52cf66f30bfeaf683e0c9
rc/android/support/design/widget/AppBarLayout.java
ests/AndroidManifest.xml
ests/res/layout/design_appbar_toolbar_collapse_scroll.xml
ests/res/values/styles.xml
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
9ee6a3fbb89698ebd7c26d4a86e2892a37a0d87a 19-May-2016 Aurimas Liutikas <aurimas@google.com> Actually change api to use long in CollapsingToolbarLayout.

Bug: 28775495
Change-Id: I25d3ff3007914ac1db0abb8f9b151b9cac4ca0e3
pi/current.txt
rc/android/support/design/widget/CollapsingToolbarLayout.java
e852801f9258e00f89da48918b58a6e933643ab9 17-May-2016 Aurimas Liutikas <aurimas@google.com> Update CollapsingToolbarLayout API to use long instead of int.

Updated getScrimAnimationDuration and setScrimAnimationDuration to
use int instead of long.

Bug: 28775495
Change-Id: I1e44d5712114b5f93b2973e474a585ac6fcf709d
pi/current.txt
ase/android/support/design/widget/ValueAnimatorCompat.java
clair-mr1/android/support/design/widget/ValueAnimatorCompatImplEclairMr1.java
oneycomb-mr1/android/support/design/widget/ValueAnimatorCompatImplHoneycombMr1.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
6d2682fe1a0671bb336c99e0f72a1742b130be99 13-May-2016 Chris Banes <chrisbanes@google.com> Fix for AppBarLayout's scrolling view not laying out WIP

Caused by some logic in it's measure code which makes
it skip the measure if it's header hasn't been laid out.
For the first measure/layout pass this will always be
false so let's just assume that it has been measured.

BUG: 28742676
Change-Id: I72eec136983f9452e02ae6cda85de60918454748
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
3fa74e0b52bb13010ba5f77c5b155fd86ecc2dcd 12-May-2016 Yuichi Araki <yaraki@google.com> Update APIs for behavior_skipCollapsed

Change-Id: I190b5893cebe0676337fdec7c89e1d5c6d6c1e41
pi/current.txt
362585b01e5ca19d1c58e4b152ad0a863b5f6d91 11-May-2016 Yuichi Araki <yaraki@google.com> Add behavior_skipCollapsed for bottom sheet

Bug: 27421374
Change-Id: Ib606974d72e86d8c5baaea505c181b06090a5d14
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/widget/BottomSheetBehavior.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
73e7a06fb66110495fa4e98a91831a47feab2526 11-May-2016 Chris Banes <chrisbanes@google.com> Design lib styleables rename pt.2

- Forgot about ScrollingViewBehavior
- Fix doc @attr references

BUG: 28708856

Change-Id: I86a22252bda4929778719f6e1587c171f454f0bd
es/values/attrs.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/BottomSheetBehavior.java
c6cbbb50a06ec08e6888bd1c3dfd7fdf588d9db5 11-May-2016 Chris Banes <chrisbanes@google.com> Rename design lib layout styleables

They're now in a format which Android Studio and
layoutlib supports.

BUG: 28708856
Change-Id: I8df109e197b56586d19f701b631b6405b08873ea
es/values/attrs.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/BottomSheetBehavior.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
db0eb650fb842982333c66d6ef3e982a0ec9f58d 04-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix TabLayout long click Toast placement" into nyc-dev
00559e360cf4cf7858d4bd5ddb874b85fad6e9cb 27-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "TabLayout + ViewPager improvements" into nyc-dev
3be5f23bbe512ce9c4b073efbdcbac132a737787 27-Apr-2016 Chris Banes <chrisbanes@google.com> Fix TabLayout long click Toast placement

Logic copied over from ActionMenuItemView.

BUG: 28381728
Change-Id: Icd23c6aaf2a65e0704a8cfba6a2e3fb483f8cba7
rc/android/support/design/widget/TabLayout.java
05f5ba020fa6caa658c75b6d77436aa980ca0fcc 22-Apr-2016 Chris Banes <chrisbanes@google.com> Backport AbsSavedState and fixes to v4

Also makes the support library widgets use it
so that they handle multi-class loaders correctly
when restoring state.

BUG: 27790353

Change-Id: I5c7888f119b8fcb79fd7cb67987c304c0c982c8e
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/BottomSheetBehavior.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TextInputLayout.java
ac23e764c991f2e72cd1b4c54a7ffa72024e94d7 25-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Fix TextInputLayout not clearing the error on Lollipop" into mnc-ub-dev
am: 8bab339

* commit '8bab339a3dc95ced7f3b2c9c2b3fe8d5a4444be0':
Fix TextInputLayout not clearing the error on Lollipop

Change-Id: I59f252e66bebd836a8f8b76020f66bd3363393ba
8f27603fc4caa4931c98a97d4482b1b01bf4bd0f 04-Apr-2016 Chris Banes <chrisbanes@google.com> TabLayout + ViewPager improvements

- Add support for arbitrary decor views in ViewPager.
Previously it had a hidden marker interface, but now
we have a public class annotation.
- Made ViewPager's internal adapter change listener public
to enable decor views to receive any changes.
- TabLayout now supports being a decor view by automatically
setting itself if it has a ViewPager parent.

BUG: 27812405
Change-Id: Ia1a369f9401ee0108544a4aacc1461db3639cc80
rc/android/support/design/widget/TabLayout.java
57aa00c058f3278fccc7a23f3cef29142bb14dbb 25-Apr-2016 Chris Banes <chrisbanes@google.com> Tweak AppBarLayout scroll duration

Currently it's calculated based on 300dps per
second, which is bit slow. We now use a similar
calculation as ViewPager, which also has the
benefit of taking any velocity into effect.

BUG: 28367430
Change-Id: Ib752677fc592704798bd537506fab1e6088c1280
rc/android/support/design/widget/AppBarLayout.java
05c8a189672f5d883555e068549c0a84eeeff4aa 22-Apr-2016 Adam Powell <adamp@google.com> Remove dependencies on Activity from common Fragment superclasses

Support lib edition

Allow common Fragments to be used in non-Activity hosts.

Bug 28337394

Change-Id: Ia06b560b2863d995a6b67dafac770a4c25ff4ab9
rc/android/support/design/widget/BottomSheetDialogFragment.java
fc4dd4c733345263247a00684ab078a90db21f32 22-Apr-2016 Chris Banes <chrisbanes@google.com> Fix TextInputLayout not clearing the error on Lollipop

Caused by a platform issue in DrawableContainer on
API 21 + 22. The issue is that DrawableContainer does
not propagate a null ColorFilter to all of it's children.

The fix is to do it manually on those API levels.

BUG: 27557021
Change-Id: I225041d8c482d3a7feb0fb053f54849c6b341fc2
rc/android/support/design/widget/TextInputLayout.java
66955d2dabd46843d3d70ec3864413b8a7e80a8e 22-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "More customization methods for CollapsingToolbarLayout" into nyc-dev
b695a482875ea28cc622e226da4987d395aa1029 21-Apr-2016 Chris Banes <chrisbanes@google.com> Fix fast subsequent TextInputLayout.setError() calls
am: 7d1f61a17d

* commit '7d1f61a17d2f1401fa3e773d262492266830c284':
Fix fast subsequent TextInputLayout.setError() calls

Change-Id: I8e774bcfc896de66e1fa46351640d1900ffd394e
7d1f61a17d2f1401fa3e773d262492266830c284 21-Apr-2016 Chris Banes <chrisbanes@google.com> Fix fast subsequent TextInputLayout.setError() calls

Fixed by cancelling any ongoing animation. Nice one
line fix.

BUG: 28296683
Change-Id: I073cb1da1f96186d5138dd009922983b9021fed3
rc/android/support/design/widget/TextInputLayout.java
6df5bb9903307734ed05a5135c7812fb9b6d43c8 20-Apr-2016 Chris Banes <chrisbanes@google.com> More customization methods for CollapsingToolbarLayout

The scrim trigger and animation values are currently
hard set. This CL adds attributes and setter/getters
for them.

BUG: 28287425

Change-Id: I994146ea82d72d0f6f4399116993f85102d53010
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/CollapsingToolbarLayout.java
ea0bce9137a7d61b710f8fe299e4790e8f7f1540 19-Apr-2016 Chris Banes <chrisbanes@google.com> Expose both Behavior constructors in FloatingActionButton

BUG: 28267924
Change-Id: Iee838536705f29adb26293197311b3eff92409ee
pi/current.txt
rc/android/support/design/widget/FloatingActionButton.java
b9b83cc0804c30479c8a9efdefce9ee5d0b0a92c 19-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Make snap with enterAlways|enterAlwaysCollapsed" into mnc-ub-dev
am: fb2e1f1

* commit 'fb2e1f1b156d6b768a9fff1fada29f9f27607db2':
Make snap with enterAlways|enterAlwaysCollapsed

Change-Id: Ib505e323bbbbcb95e53c44d6a90d8f56b275dff1
fb2e1f1b156d6b768a9fff1fada29f9f27607db2 19-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Make snap with enterAlways|enterAlwaysCollapsed" into mnc-ub-dev
674b11a68aa97f156d3606e110ebceeb1bedf0b4 19-Apr-2016 Yuichi Araki <yaraki@google.com> Merge "Let touch events fall through from bottom sheet" into mnc-ub-dev
am: 3126939

* commit '312693900118cca2f69438a591cc0123a535bc9a':
Let touch events fall through from bottom sheet

Change-Id: Ib125b44d089f1a7a6a4e0d9133f58f72929cd4fb
108a7a812404313b7b9f8daa154e657e49e0aae6 18-Apr-2016 Chris Banes <chrisbanes@google.com> Make snap with enterAlways|enterAlwaysCollapsed

Currently snap only works with exitUntilCollapsed,
this CL fixes it so that it also works with
enterAlways|enterAlwaysCollapsed.

BUG: 28225689

Change-Id: I0bdea0f0cdfebaaedf879937510b8d03f7ea5a3e
rc/android/support/design/widget/AppBarLayout.java
1dbdc6baec537b45e9bd8e5afabcb5c35f1a8004 18-Apr-2016 Yuichi Araki <yaraki@google.com> Let touch events fall through from bottom sheet

BottomSheetBehavior should not consume touch events outside of its view
boundaries.
Bug: 27557583

Change-Id: If2f1f1d94eede28617396f19ed98956f4c352550
rc/android/support/design/widget/BottomSheetBehavior.java
ests/AndroidManifest.xml
ests/res/layout/activity_coordinator_layout.xml
ests/src/android/support/design/widget/BottomSheetBehaviorTouchTest.java
ests/src/android/support/design/widget/CoordinatorLayoutActivity.java
45c142714fea648bc1096e04b940aa85bb552573 13-Apr-2016 Chris Banes <chrisbanes@google.com> Fix build again DO NOT MERGE ANYWHERE

Change-Id: Ie6bec6479268478b00abfa186e0e5a6bd56a0aba
(cherry picked from commit 2dfbb6cd636edb037eefe74fc30fbcf47f508a7c)
pi/current.txt
2dfbb6cd636edb037eefe74fc30fbcf47f508a7c 13-Apr-2016 Chris Banes <chrisbanes@google.com> Fix build again

Change-Id: Ie6bec6479268478b00abfa186e0e5a6bd56a0aba
pi/current.txt
9cf7823a2b044e550dd5c1ba3a7a91d45b4d9673 13-Apr-2016 Chris Banes <chrisbanes@google.com> Fix build for FloatingActionButton

Change-Id: Ie87f7dcd3615b8c72d6a8165c441678b8cb98fcb
rc/android/support/design/widget/FloatingActionButton.java
1de702ffd1244435005aab3c4ce132c54f40fefa 13-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Fix the FAB not returning when animations are disabled" into mnc-ub-dev
am: 5ecac86

* commit '5ecac8623018236e9f15385cade2c7ea59829f2e':
Fix the FAB not returning when animations are disabled

Change-Id: I90e399cbb1becfa3577145535ee5b9048d646efb
ebb9b8cfda9e643d77e3bf15ed10efd2ae55227e 12-Apr-2016 Chris Banes <chrisbanes@google.com> Fix SDK int check in TextInputLayout
am: bdb210a

* commit 'bdb210a52ce1966368f534253822f15a8591a74f':
Fix SDK int check in TextInputLayout

Change-Id: I9a59cb7994f422c838a44ed4311da459d0f75203
335da996682889d7eb3ba030dd48eed383726254 12-Apr-2016 Ryan Lothian <rjlothian@google.com> Merge "Revert "TabLayout + ViewPager improvements"" into nyc-dev
dbc2b633f06747574b77a85ec662895c4ae6ccfc 12-Apr-2016 Ryan Lothian <rjlothian@google.com> Revert "TabLayout + ViewPager improvements"

This reverts commit 7555fd53f72cea589dec80f856dafaba5ecf99e8.

After ag/904114, builds of Android Wear crash loop on startup.

Bug: 28132794
Bug: 27812405
Change-Id: I85026dd8ab57dd268139e24037ad5a8544232935
rc/android/support/design/widget/TabLayout.java
641460fbf3bc54026e6dc561dc35224e0aa02a4a 12-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "TabLayout + ViewPager improvements" into nyc-dev
c036550c2328e8489d79c79e88f5de7f88449be6 12-Apr-2016 Chris Banes <chrisbanes@google.com> Fix the FAB not returning when animations are disabled

BUG: 28110490
Change-Id: If88c45fcd55f07a63edb6a26a3ec62314abf49c3
pi/current.txt
rc/android/support/design/widget/FloatingActionButton.java
b75a16fb6433ab27973d419d23ed1286c073fca8 11-Apr-2016 Chris Banes <chrisbanes@google.com> Enable automatic FAB show/hide to work without minHeight

Currently, the automatic showing/hiding of the FAB does
not work if a minHeight is not set on the ABL or it's last
child. As a fallback, we now hide if 1/3 on the ABL is
visible.

Change-Id: Id05fbf4ade3572fc5adda9ebb0812f311ceb730b
rc/android/support/design/widget/AppBarLayout.java
7555fd53f72cea589dec80f856dafaba5ecf99e8 04-Apr-2016 Chris Banes <chrisbanes@google.com> TabLayout + ViewPager improvements

- Add support for arbitrary decor views in ViewPager.
Previously it had a hidden marker interface, but now
we just treat any view added via inflation as part of
the decor.
- Made ViewPager's internal adapter change listener public
to enable decor views to receive any changes.
- TabLayout now supports being a decor view by automatically
setting itself if it has a ViewPager parent.

BUG: 27812405
Change-Id: I7ebf2cd999b99285ed7367d6bf3436ad9a0f7355
rc/android/support/design/widget/TabLayout.java
bdb210a52ce1966368f534253822f15a8591a74f 08-Apr-2016 Chris Banes <chrisbanes@google.com> Fix SDK int check in TextInputLayout

Small error in the logic means that it will
never actually fire.

Change-Id: I5f563e59ef5dd20bd34a7c12ffed136bb34dcaa0
rc/android/support/design/widget/TextInputLayout.java
801fc37fd34d31fdb2b0e943f1c6eef5067a827f 07-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Fix TabLayout text size issue" into nyc-dev
926cd28257536b1206934d69585a2dab100147d5 06-Apr-2016 Chris Banes <chrisbanes@google.com> Fix design support lib docs build

Change-Id: Ifde9b6a5a01699c802e6d6c541ac827e0a1c5332
rc/android/support/design/widget/AppBarLayout.java
cb849a71706ac0660a5383c11629bc8d9c1a9f28 06-Apr-2016 Chris Banes <chrisbanes@google.com> Merge "Use StateListAnimator for AppBarLayout elevation changes" into nyc-dev
27da60cbce61a72f4731cbe67071cbb87136d207 06-Apr-2016 Chris Banes <chrisbanes@google.com> Fix TabLayout text size issue

Some new measurement code in N seems to have
tickled a recursion exit check in TabLayout's
text size setting code when it's not required.

This CL fixes the check by checking against
the available space for the text, rather than
the existing Layout's width.

BUG: 27923340
Change-Id: I1be8c489488fc96fc3802b45c525b5fa6cae337d
rc/android/support/design/widget/TabLayout.java
cb461c15a1f928b54db6e3972cfabbf559e8b22d 05-Apr-2016 Adam Lesinski <adamlesinski@google.com> Merge "Build support libs with AAPT2" into nyc-dev
6759b1021d8198ad1d239bb30e5a102b99624bce 25-Feb-2016 Adam Lesinski <adamlesinski@google.com> 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: I6577a91e4d428dd29fecaa86a26be43d4da8310c
ndroid.mk
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
rc/android/support/design/widget/ThemeUtils.java
ae0f778788b739d75f704dd4726c22017e30799e 04-Apr-2016 Chris Banes <chrisbanes@google.com> Fix FAB + Snackbar stacking with hidden FAB

When a FAB is hidden, and then shown while a Snackbar
is displayed, the FAB is not translated to support
the automatic stacking. This CL fixes this.

BUG: 27992373
Change-Id: I7366f725df0e239e42a9478da1c6ae3e7841ff48
rc/android/support/design/widget/FloatingActionButton.java
ests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
ests/src/android/support/design/widget/DesignViewActions.java
1a8e4886abbc35e479cddb7b4acd601cede2fd8a 19-May-2015 Chris Banes <chrisbanes@google.com> Use StateListAnimator for AppBarLayout elevation changes

Currently the logic for updating an AppBarLayout's elevation
is baked into the code, and can't be customized. This CL
extracts this into a StateListAnimator which has the added
benefit of now animating the elevation.

BUG: 22008506

Change-Id: I4786a9b56b9f3c18ee0610a16036990939a99101
pi/current.txt
ollipop/android/support/design/widget/ViewUtilsLollipop.java
es/anim-v21/design_appbar_state_list_animator.xml
es/values-v21/styles.xml
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/ViewUtils.java
ests/src/android/support/design/widget/AppBarLayoutBaseTest.java
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
ests/src/android/support/design/widget/AppBarWithToolbarAndTabsTest.java
bba78041485f18297695b1b4d3f1245453f8b30c 02-Apr-2016 Adam Lesinski <adamlesinski@google.com> Merge "Revert "Build support libs with AAPT2"" into nyc-dev
57f39186667b8acef1a0ebeda585c357a751a8b3 02-Apr-2016 Adam Lesinski <adamlesinski@google.com> Revert "Build support libs with AAPT2"

This reverts commit 66b8608151c5923de3c9877bc03218d83f6b3beb.

Change-Id: I2178c0336bef8386e1f36ff3816b6dbf1e6a64d0
ndroid.mk
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
rc/android/support/design/widget/ThemeUtils.java
920dacfbd0a6d9ca0195439d9baa750aee3230b9 01-Apr-2016 Adam Lesinski <adamlesinski@google.com> Merge "Build support libs with AAPT2" into nyc-dev
66b8608151c5923de3c9877bc03218d83f6b3beb 25-Feb-2016 Adam Lesinski <adamlesinski@google.com> 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: I5235b73ac68f2050d089aefc3163901ff80f2d46
ndroid.mk
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
rc/android/support/design/widget/ThemeUtils.java
c1e2e3be85de2fecb6ab45f593832d94b47b576e 31-Mar-2016 Aurimas Liutikas <aurimas@google.com> Merge "Fix multi-pointer behavior for Snackbar." into mnc-ub-dev
am: 1315db6

* commit '1315db63b39219f4a3ff87200c2bbc27f27667a2':
Fix multi-pointer behavior for Snackbar.

Change-Id: Ia8ba7ec9a0add689e954ba183a6e183bd88016ce
1315db63b39219f4a3ff87200c2bbc27f27667a2 31-Mar-2016 Chris Flatt <cflatt@google.com> Merge "Fix multi-pointer behavior for Snackbar." into mnc-ub-dev
b21b5491bcd540843e1d6fe0fdaaddd03d2c5165 31-Mar-2016 Chris Banes <chrisbanes@google.com> 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
0799afc163bd5d8f9bfd6869e451c4be5640c971 31-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Add workaround for invalidation bug on API 21-22" into mnc-ub-dev
318baf84dade07174d71e10322e3b10ab4b0c28c 31-Mar-2016 Chris Banes <chrisbanes@google.com> Add workaround for invalidation bug on API 21-22

If a view is laid out off screen and then offset back
onto screen, the parent does not get invalidated and
thus the view is not drawn.

This CL fixes this by manually invalidating the parent
when a view is detected to be offset onto screen.

BUG: 27805688
Change-Id: I2d6c9b7f67c938638cb149158cb683a2c956b6a5
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/ViewOffsetHelper.java
a2f7210e7a307d65830847cf2179b05e9099ee13 31-Mar-2016 Chris Banes <chrisbanes@google.com> 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
4ac91fa3f14db2f25345595fb921497c11d4e5c0 31-Mar-2016 Adam Lesinski <adamlesinski@google.com> Revert "Build support libs with AAPT2"

This reverts commit 0dac8d82e2a249d7c9c42ab259389e11cac15400.

Change-Id: I830fb18162b6eea8dde9e38f9dc39b02449ec846
ndroid.mk
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
rc/android/support/design/widget/ThemeUtils.java
0dac8d82e2a249d7c9c42ab259389e11cac15400 25-Feb-2016 Adam Lesinski <adamlesinski@google.com> 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
ndroid.mk
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
rc/android/support/design/widget/ThemeUtils.java
bca7a517ce4fb75e2571ce2d9d0263fea8e15dbe 30-Mar-2016 Chris Banes <chrisbanes@google.com> Allow AppBarLayout to be taller than CoordinatorLayout

CoL by default caps child views at it's height. This
CL fixes that by measuring the AppBarLayout with an
unspecified spec.

Change-Id: Iba6acdeddb3ff5064ede3eae50ed800ad514fe6f
BUG: 27912978
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
78d6f4ad1fc1e2d57b138e31f47f2267731ee95e 18-Mar-2016 Aurimas Liutikas <aurimas@google.com> Fix multi-pointer behavior for Snackbar.

A. Fixes CoordinatorLayout to only reset once for multiple
requestDisallowInterceptTouchEvent calls.
B. Fixes SwipeDismissBehavior to only reset on a new active
capture/drag.

Part A fixes the crash for multi finger swipe of snackbar.

Bug: 27675378
Change-Id: I58ffd71c2887ea32e450fdf8b2203eb82b2b55c5
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/SwipeDismissBehavior.java
1d321c85887197738dca2465b679c5258756b9a2 30-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix layout when BottomSheet is moving" into nyc-dev
4f0c8201b8c02def322843f180b86e0ea466e650 30-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix setState with the current state" into mnc-ub-dev
am: c5f5f85

* commit 'c5f5f85c1323787b2dc692af2dbd3efc804d5034':
Fix setState with the current state

Change-Id: Ifbbadcb2f888adcfe29b776a3ab363e88fbe6885
c5f5f85c1323787b2dc692af2dbd3efc804d5034 30-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix setState with the current state" into mnc-ub-dev
6bef5a31fd4bbfc70b21c0f694bcb272e88400a3 25-Mar-2016 Yuichi Araki <yaraki@google.com> Fix layout when BottomSheet is moving

Bug: 27786450
Change-Id: Ia847866cd9b31d21aa7fa25ffd1bbe7457b9770e
rc/android/support/design/widget/BottomSheetBehavior.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
2b84e6781ea06c6139bbeab062f1248d3819fcc7 24-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Use the EditText\'s gravity for TextInputLayout" into mnc-ub-dev
am: 0c098da

* commit '0c098da66d0c9c2566d5353fd4a38cd8a2d9a9d7':
Use the EditText's gravity for TextInputLayout
0c098da66d0c9c2566d5353fd4a38cd8a2d9a9d7 24-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Use the EditText's gravity for TextInputLayout" into mnc-ub-dev
e0573dfb5896eb66e266ea366d8c58437c739c95 24-Mar-2016 Yuichi Araki <yaraki@google.com> Fix setState with the current state

Bug: 27815551
Change-Id: I10322c81aaad80c5f33c338f0fb7f61d1737ed61
rc/android/support/design/widget/BottomSheetBehavior.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
a5c4f9fb6b571c6694b2d996ccd89d9c9cf06cf0 24-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheetBehavior#setState before layout" into mnc-ub-dev
am: 9203384

* commit '9203384c85914e13350d72a0111d6eab1551aad0':
BottomSheetBehavior#setState before layout
2d72783642304f1397b9740359594d26c11ada3f 24-Mar-2016 Taeho Kim <jyte82@gmail.com> Merge "Fix NPE when calling setState() before onLayoutChild()" into mnc-ub-dev
am: 93978d0

* commit '93978d066bab7f16175573c1b58c5449284fad6d':
Fix NPE when calling setState() before onLayoutChild()
9203384c85914e13350d72a0111d6eab1551aad0 24-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheetBehavior#setState before layout" into mnc-ub-dev
93978d066bab7f16175573c1b58c5449284fad6d 24-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix NPE when calling setState() before onLayoutChild()" into mnc-ub-dev
56f0ad8d4fa234d2801971042ff1d71aba960e37 23-Mar-2016 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton doc build

Change-Id: Ia1becbc40d7dfac61fd88ea16da4fbe149fc8c68
rc/android/support/design/widget/FloatingActionButton.java
5b52850af5eb41669b8b741518d316b40be9d676 23-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Fix TextInputLayout clearing the EditText tint" into mnc-ub-dev
am: 403e480

* commit '403e4802cae0b5354cac650f26e1a4f5e74b696c':
Fix TextInputLayout clearing the EditText tint
65a1c00240675067047b3ef23d5c1ecca1a6ab22 23-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Don\'t call requestDisallowInterceptTouchEvent(false)" into mnc-ub-dev
am: bed7de3

* commit 'bed7de3603499da7577e50ae70c2369dca9d2a55':
Don't call requestDisallowInterceptTouchEvent(false)
403e4802cae0b5354cac650f26e1a4f5e74b696c 23-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Fix TextInputLayout clearing the EditText tint" into mnc-ub-dev
94cdf63dbb45423fdc219835e30ae02d39027409 23-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Make FAB react to window size" into nyc-dev
a1de3eef9bb5ef90d00a23c65f13e1fc83254455 01-Mar-2016 Chris Banes <chrisbanes@google.com> Make FAB react to window size

Useful for multi-windows where the size of
the window can change. Also added an API to
set the size programmatically.

The default size is now AUTO, but can be explicitly
set to whatever size the developer wishes.

BUG: 27328132
BUG: 27464447

Change-Id: If617b565a8c242d6ce8b85e56cd9a20df07995ff
pi/current.txt
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/widget/FloatingActionButton.java
ests/res/values/dimens.xml
ests/src/android/support/design/testutils/FloatingActionButtonActions.java
ests/src/android/support/design/testutils/TestUtilsMatchers.java
ests/src/android/support/design/widget/FloatingActionButtonTest.java
bed7de3603499da7577e50ae70c2369dca9d2a55 23-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Don't call requestDisallowInterceptTouchEvent(false)" into mnc-ub-dev
f828412cf077314f63e9d989c889f69275a28b19 23-Mar-2016 Chris Banes <chrisbanes@google.com> Use the EditText's gravity for TextInputLayout

Currently we only use it for the expanded hint, this
CL also uses it's horizontal gravity for the collapsing
hint.

Also fixed an issue where relative gravities are wiped
out and not used (wrong bitmask).

BUG: 27786316
Change-Id: If5ea7c34b5f45e1d959ace41353ff1303ba05732
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/TextInputLayout.java
6deb3a9dc52be7ab61702c430bb327343ef099ac 23-Mar-2016 Yuichi Araki <yaraki@google.com> BottomSheetBehavior#setState before layout

BottomSheetBehavior#setState now works before the layout takes place.

Bug: 27785886
Change-Id: Iccfbaf40caf708bc0d3ac5276d6f72bbfed685fe
rc/android/support/design/widget/BottomSheetBehavior.java
ests/src/android/support/design/widget/BottomSheetBehaviorActivity.java
ests/src/android/support/design/widget/BottomSheetBehaviorInitialStateTest.java
98475d29e771d7b15e4a109b22f410c7c1cf33d7 01-Mar-2016 Taeho Kim <jyte82@gmail.com> Fix NPE when calling setState() before onLayoutChild()

Fixed NPE when setState(int) is called before the layout process
was not done(before onLayoutChild() call) for the view that holds
the BottomSheetsBehavior as a CoordinatorLayout.Behavior.

Change-Id: Ic25c6df846920cb2407e9b3398bbf30a7ce29bfd
Signed-off-by: Taeho Kim <jyte82@gmail.com>
rc/android/support/design/widget/BottomSheetBehavior.java
2d42022740a6d622d6f7d1ccca7b91b90eb63d28 23-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheetBehavior now handles fitsSystemWindows" into mnc-ub-dev
am: 29bbfda

* commit '29bbfdab23a202edb76fe87897f6e3b8a7c2d131':
BottomSheetBehavior now handles fitsSystemWindows
478532d20a937213e3c2e3866567d0a06e53a959 22-Mar-2016 Chris Banes <chrisbanes@google.com> Fix TextInputLayout clearing the EditText tint

When a TIL's error is cleared, it clears the ColorFilter
on the EditText, which should reset it tint back
the original color. On < API 21 this isn't currently
happening since we added a drawable state workaround,
which sets a new background drawable on the EditText.

This then clears out AppCompat's internal tint, and thus
the tint is lost. Fixed by only using the workaround on
the platforms it is needed: API 21 + 22.

BUG: 27611753
Change-Id: Ia91a8bfa1295bd66c926541f98cfe7e148971f62
rc/android/support/design/widget/TextInputLayout.java
a61e9790be0dd792393448810277b25990fcadb8 22-Mar-2016 Yuichi Araki <yaraki@google.com> BottomSheetBehavior now handles fitsSystemWindows

Fixes the bottom sheet lays itself out slightly lower when the
CoordinatorLayout has fitsSystemWindows="true".

Bug: 27610498
Change-Id: I8b70c87bac4d8d33e951a85f6202a8b288d4e65e
rc/android/support/design/widget/BottomSheetBehavior.java
ests/AndroidManifest.xml
ests/res/layout/test_design_bottom_sheet_behavior_with_insets.xml
ests/src/android/support/design/widget/BottomSheetBehaviorWithInsetsActivity.java
ests/src/android/support/design/widget/BottomSheetBehaviorWithInsetsTest.java
18dee0438f1e5b61da88275e769376a68994d766 22-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Fix AppBarLayout enterAlwaysCollapsed with inset window" into mnc-ub-dev
am: 6002db9

* commit '6002db956d178d96f755f70826b92f24405de65b':
Fix AppBarLayout enterAlwaysCollapsed with inset window
090293b68e5aad0af0a0d8ae079ac0df743ff3ec 21-Mar-2016 Chris Banes <chrisbanes@google.com> Fix AppBarLayout enterAlwaysCollapsed with inset window

We take the inset into account twice which meant that
it doesn't scroll down enough.

BUG: 27642900
Change-Id: Ie1c2d8ecc0b41f30767404a8b712a231388c3dca
rc/android/support/design/widget/AppBarLayout.java
12113fa03c02662190617538e3e11d7aaa705654 21-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Disable Snackbar animations if necessary" into mnc-ub-dev
am: 3b591d5

* commit '3b591d566e2242881b149bc43d60dc4cbd374392':
Disable Snackbar animations if necessary
3b591d566e2242881b149bc43d60dc4cbd374392 21-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Disable Snackbar animations if necessary" into mnc-ub-dev
c6cfc5e717bb9c12c6a789a2dcd2badb90c80ed6 21-Mar-2016 Chris Banes <chrisbanes@google.com> Disable Snackbar animations if necessary

Snackbar's animations do not play nicely with
Talkback so this CL disables any animations if
an accessibility manager is enabled.

BUG: 23097365
Change-Id: Id7984784b8a281790e14286af132e51d49ac337e
rc/android/support/design/widget/Snackbar.java
bb9710c86141068b7150e77a3f179cc0ca9e883c 21-Mar-2016 Kirill Grouchnikov <kirillg@google.com> mutate() the background of TextInputLayout's editor on changes. DO NOT MERGE

Otherwise the currently tinted background will be used for the next
inflated TextInputLayout.

Bug: 27694398
Change-Id: I0c90c397dd959bcad849a7bc8bdf377bc5e9c6b6
rc/android/support/design/widget/TextInputLayout.java
0f6a807ceaa96930e57e55826ddaae5eab692aa8 18-Mar-2016 Kirill Grouchnikov <kirillg@google.com> 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
rc/android/support/design/widget/TextInputLayout.java
0ecce9994af76ff339a07aad54df190ead15bffd 21-Mar-2016 Chris Banes <chrisbanes@google.com> Don't call requestDisallowInterceptTouchEvent(false)

BUG: 27675378
Change-Id: I4fac000cbaac75c66776064529c4d7b7e09247e5
rc/android/support/design/widget/SwipeDismissBehavior.java
b893459a2e916cc957e7a638e9afdb4a1aca3c78 18-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Integration tests covering anchoring with margins in CoL." into nyc-dev
5034e5a407b4b7014e1dc9b09accb99f8a5b0a8d 17-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Fix selection state for custom views on TabLayout" into nyc-dev
7541e4bfa0c9fff31bcb12fc5a94365565388715 17-Mar-2016 Aurimas Liutikas <aurimas@google.com> Check for saved state type in onRestoreInstanceState.
am: bb58a82

* commit 'bb58a82daf11bf3c056d1cd5887aa26435d37b69':
Check for saved state type in onRestoreInstanceState.
bb58a82daf11bf3c056d1cd5887aa26435d37b69 16-Mar-2016 Aurimas Liutikas <aurimas@google.com> Check for saved state type in onRestoreInstanceState.

Add instanceof check in onRestoreInstanceState calls throughout
frameworks/support code.

Bug: 27589237
Change-Id: Id9db70de03979379ca9d98bb8599ac9fa2b46218
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TextInputLayout.java
8d082da0c1772e5de19c0a7a5745680640cc7a35 16-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Integration tests covering anchoring with margins in CoL.

Change-Id: I231e940a462b921423eb9a6d71409a367c812b99
ests/res/layout/design_appbar_anchored_fab_margin_bottom.xml
ests/res/layout/design_appbar_anchored_fab_margin_left.xml
ests/res/layout/design_appbar_anchored_fab_margin_right.xml
ests/res/layout/design_appbar_anchored_fab_margin_top.xml
ests/res/layout/design_appbar_toolbar_collapse_pin.xml
ests/res/layout/design_appbar_toolbar_collapse_pin_with_fab.xml
ests/res/layout/design_content_appbar_toolbar_collapse_pin.xml
ests/res/values/dimens.xml
ests/res/values/strings.xml
ests/src/android/support/design/widget/AppBarWithAnchoredFabMarginsTest.java
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
69992cb40e18789f4f406ffc94c4ebbd2bc274f7 16-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Fix selection state for custom views on TabLayout

If Tab.setCustomView is called after TabLayout.addTab, we need
to explicitly propagate the selected state from the TabLayout to
the newly set custom view, mirroring the logic in
TabLayout.addTabView.

Also tweak a few test layouts for consistent attribute ordering
and indentation.

Bug: 27677664
Change-Id: I838092e787f9098e64004ebef3ae84ecbba774b9
rc/android/support/design/widget/TabLayout.java
ests/res/layout/design_tabs.xml
ests/res/layout/design_tabs_items.xml
ests/res/layout/design_tabs_twice.xml
ests/res/layout/design_tabs_viewpager.xml
ests/res/layout/design_tabs_with_non_tabitems.xml
ests/src/android/support/design/widget/TabLayoutTest.java
ests/src/android/support/design/widget/TabLayoutWithLayoutItems.java
a0dc834f6687dd7977c6924116b80c3d94f87666 11-Mar-2016 Alan Viverette <alanv@google.com> Merge "Revert "Revert AppCompat's use of VDC" for v24 preview #2" into nyc-dev
eb648620b291eabbb5523f649baef5abb2e4687b 11-Mar-2016 Alan Viverette <alanv@google.com> Revert "Revert AppCompat's use of VDC" for v24 preview #2

This reverts commit 000c3b61b4f8a8e96060aeef662eb728101b83b9.

Change-Id: I1d60345b68b1ef76a92523865124d85bf29ac654
ndroid.mk
uild.gradle
c4b238e1a082c985d1354bdb232a657e60bc71f2 11-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetBehavior drag condition" into mnc-ub-dev
am: 5eb3e45db9

* commit '5eb3e45db9cb0cdcd20dac450d9408f31ae375c2':
Fix BottomSheetBehavior drag condition
912d40d353f5b6d0a4fa18740ca40aa4b25b0f9c 08-Mar-2016 Yuichi Araki <yaraki@google.com> Fix BottomSheetBehavior drag condition

Bug: 27557583
Change-Id: I5b8bdc46c20c133ebb5e299d5697b07c74b86ecf
rc/android/support/design/widget/BottomSheetBehavior.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
3cbbf6cc4d8124ae40181b5ce38c7a89e749ff0f 09-Mar-2016 Chris Banes <chrisbanes@google.com> Add overload for setupWithViewPager()

Allows disabling of the new auto-refresh from
adapter changes.

BUG: 27477819
Change-Id: I61416c910bead2dd1b1aea50e8c4e63e91d3abca
pi/current.txt
rc/android/support/design/widget/TabLayout.java
ests/src/android/support/design/testutils/TabLayoutActions.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
6962b2cfaa51f2fe5a40af48307832c4b9d65c0a 07-Mar-2016 Alan Viverette <alanv@google.com> Lazily create cancelEvent in CoordinatorLayout.performIntercept()

Previously we would just never create the cancel event, which resulted
in a NullPointerException later down the stack.

Bug: 27456193
Change-Id: Iad12ee96a66c5c70114e9d36a42e819edee700fa
rc/android/support/design/widget/CoordinatorLayout.java
219002589d8a45a7d034af08335c535228eaea0c 04-Mar-2016 Alan Viverette <alanv@google.com> Merge "Unparcel TextInputLayout error using CHAR_SEQUENCE_CREATOR" into mnc-ub-dev
am: 72fe2e3b25

* commit '72fe2e3b256965c9a784cd91775e03706d9f393e':
Unparcel TextInputLayout error using CHAR_SEQUENCE_CREATOR
bf5c0f406c788aa1cb34f25eaed05d17111e734a 03-Mar-2016 Alan Viverette <alanv@google.com> Unparcel TextInputLayout error using CHAR_SEQUENCE_CREATOR

This is symmetric with TextUtils.writeToParcel().

Bug: 27470273
Change-Id: Iedee2d329a50d2e6d8522d141365eec94151a747
rc/android/support/design/widget/TextInputLayout.java
0e80971eca90c8b1d470f3804bfb006803ec50fd 02-Mar-2016 Alan Viverette <alanv@google.com> 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
000c3b61b4f8a8e96060aeef662eb728101b83b9 02-Mar-2016 Chris Banes <chrisbanes@google.com> Revert AppCompat's use of VDC

It causes too many problems from a build perspective
for now. External developers can still use <vector>
drawables through AppCompat, it's just that the library
does not use them itself, and therefore force developers
to update their build config.

BUG: 27453786

Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
ndroid.mk
uild.gradle
742a876bb42a13f152cd34987aa5c8b5bddd7ecf 02-Mar-2016 Alan Viverette <alanv@google.com> Merge "Verify class of Parcelable in CoordinatorLayout restore state" into mnc-ub-dev
04afe03a1e609f3e4e34a13a7eb0f22594cfe18b 02-Mar-2016 Chris Banes <chrisbanes@google.com> Revert AppCompat's use of VDC

It causes too many problems from a build perspective
for now. External developers can still use <vector>
drawables through AppCompat, it's just that the library
does not use them itself, and therefore force developers
to update their build config.

BUG: 27453786

Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
ndroid.mk
uild.gradle
b8af67a0b7896d08b81a803b3880dafaddc7e0bc 02-Mar-2016 Alan Viverette <alanv@google.com> Verify class of Parcelable in CoordinatorLayout restore state

Bug: 27451514
Change-Id: I88a37085fd0b26c032ce75eba430c64a425ccb00
rc/android/support/design/widget/CoordinatorLayout.java
57e22e067f262010469adae2acfa029597c417b1 02-Mar-2016 Chris Banes <chrisbanes@google.com> Merge "Fix crash in TextInputLayout\'s counter view" into mnc-ub-dev
am: a36552183a

* commit 'a36552183a21899f5a4b09aec03931dae99bdc72':
Fix crash in TextInputLayout's counter view
f96b613760dad175dbc8dec8948dacdf39a5733b 01-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Adding test scenario for parallax scrolling in AppBarLayout.

Change-Id: I35e9b95283f24f438f17ad05fe3c9af0d6a7060a
ests/res/drawable-nodpi/photo.jpg
ests/res/layout/design_appbar_toolbar_collapse_with_image.xml
ests/res/values/strings.xml
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
db6d761cb4ed97b2c0c3c0dddfb071abe224983a 01-Mar-2016 Chris Banes <chrisbanes@google.com> Fix crash in TextInputLayout's counter view

The counter text code needed the same fix as
I500e5fe59368e0c06801e5c358f752b436a670f3

BUG: 27427030
Change-Id: I879af8ba9a446d5437be46482eaae1e7aa9ffd82
rc/android/support/design/widget/TextInputLayout.java
c530cc115fddab8e1d9645b322424dd45f9ecd0d 19-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Add test for snapping behavior of AppBarLayout

Also fix bug for incomplete snapping on older devices.

Bug: 27408006
Change-Id: I47fda88c2d7f1bf5ba230e9f7937b2fd05e72282
clair-mr1/android/support/design/widget/ValueAnimatorCompatImplEclairMr1.java
rc/android/support/design/widget/AppBarLayout.java
ests/src/android/support/design/testutils/SnackbarUtils.java
ests/src/android/support/design/testutils/TestUtilsActions.java
ests/src/android/support/design/widget/AppBarLayoutBaseTest.java
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
ests/src/android/support/design/widget/AppBarWithToolbarAndTabsTest.java
ests/src/android/support/design/widget/AppBarWithToolbarTest.java
bec43dcc29fb7a3494139b470b0481106e1973a9 01-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetDialog when it is short" into mnc-ub-dev
am: 7cf2a13442

* commit '7cf2a134424e8d7a5095f0df1749bfe871dabb8a':
Fix BottomSheetDialog when it is short
7cf2a134424e8d7a5095f0df1749bfe871dabb8a 01-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetDialog when it is short" into mnc-ub-dev
37b386a83b3f0ce00d0c734973594ac930466a1b 01-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Reduce talkback for the character counter" into mnc-ub-dev
am: ed26bb259a

* commit 'ed26bb259a74cbea495d38ca562ada0723f76551':
Reduce talkback for the character counter
ed26bb259a74cbea495d38ca562ada0723f76551 01-Mar-2016 Yuichi Araki <yaraki@google.com> Merge "Reduce talkback for the character counter" into mnc-ub-dev
35d2c3f6de240d5f154552dbe5c247d0e5607e61 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Don't always use window insets in AppBarLayout" into nyc-dev
a7f3c20334b5641e5cff45c861d34e9c95f7283d 29-Feb-2016 Chris Banes <chrisbanes@google.com> Don't always use window insets in AppBarLayout

Currently, it does not check if it is set to
fitSystemWindows, so will always use the insets
if it is given them. This can happen if it's parent
is set to fitSystemWindows.

BUG: 27371696

Change-Id: Iaaf344abdebb877676b510847fd98f53226c42bf
ests/res/layout/design_appbar_toolbar_scroll_fitsystemwindows_parent.xml
ests/src/android/support/design/widget/AppBarWithToolbarTest.java
0f268e050ac69084f9e00bfb149735239704c101 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix FloatingActionButton.setBackgroundTint* not working" into mnc-ub-dev
am: 0960724273

* commit '0960724273891c9f7a9e2f2f6397c0389747b36e':
Fix FloatingActionButton.setBackgroundTint* not working
0960724273891c9f7a9e2f2f6397c0389747b36e 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix FloatingActionButton.setBackgroundTint* not working" into mnc-ub-dev
be4665eec16e9158dce5316f9d0a3a9e3cec8f05 29-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix idling resource in swipe test" into mnc-ub-dev
am: 1f09d40c1f

* commit '1f09d40c1f3acf471986affd6117857c719ec07a':
Fix idling resource in swipe test
430d86cbc4754c85aca378b0642f14c256e4f933 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Revert "Use colorControlActivated for an active item"" into mnc-ub-dev
am: d0d6eb2423

* commit 'd0d6eb2423ee219f83738f335ed8be9b9153cc01':
Revert "Use colorControlActivated for an active item"
d16802005fe16fb8290dd514611b1554d0db6682 29-Feb-2016 Chris Banes <chrisbanes@google.com> 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
1f09d40c1f3acf471986affd6117857c719ec07a 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix idling resource in swipe test" into mnc-ub-dev
d0d6eb2423ee219f83738f335ed8be9b9153cc01 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Revert "Use colorControlActivated for an active item"" into mnc-ub-dev
8818e8e12682e5df1535cd9b2d792494bd3e059d 29-Feb-2016 Chris Banes <chrisbanes@google.com> Don't always use window insets in AppBarLayout

Currently, it does not check if it is set to
fitSystemWindows, so will always use the insets
if it is given them. This can happen if it's parent
is set to fitSystemWindows.

BUG: 27371696

Change-Id: Iaaf344abdebb877676b510847fd98f53226c42bf
rc/android/support/design/widget/AppBarLayout.java
a3f9d4d786427afc96bc48bebd9304c56d41a7c3 29-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Tidy up TextInputLayout.setError()" into nyc-dev
0eda28cff720158c50d0b455663b599830f78992 29-Feb-2016 Chris Banes <chrisbanes@google.com> Revert "Use colorControlActivated for an active item"

This reverts commit 3625a846d7bf9d93d40a870955c619702c922546.

Change-Id: I444a1cf64875af31256fd451749fdb51e4904560
BUG: 27378626
rc/android/support/design/widget/NavigationView.java
d7e25b5cfb70b867b7467acb613a984310a0c40d 29-Feb-2016 Yuichi Araki <yaraki@google.com> Fix idling resource in swipe test

This will hopefull fix the failure on the server.

Change-Id: Id61262d59a66bcc788e145b83f40b83a531e2b47
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
463c10e3515f73cf096f8872c7b665410ef65147 29-Feb-2016 Yuichi Araki <yaraki@google.com> Reduce talkback for the character counter

This removes ACCESSIBILITY_LIVE_REGION_POLITE from the character counter
view. Unlike the error view, the character counter is updated for every
change on the EditText. Marking it with LIVE_REGION_POLITE can cause
Talkback to announce the counter when the content of the EditText is
restored.

Bug: 27153318
Change-Id: Ie1be0891e931c6fd17482126f232d005fd2baa69
rc/android/support/design/widget/TextInputLayout.java
3bd9d18c5855600254e907d6668f2ec4d7fd1c51 26-Feb-2016 Yuichi Araki <yaraki@google.com> Fix BottomSheetDialog when it is short

The bottom sheet is now properly laid out when the content is shorter
than the specified peek height.

This also fixes unwanted canceling when pulling up a short modal bottom
sheet.

Bug: 27350772
Change-Id: I8f44eabbd96c322fa3039683b05c123d3cce9749
es/layout/design_bottom_sheet_dialog.xml
rc/android/support/design/widget/BottomSheetBehavior.java
rc/android/support/design/widget/BottomSheetDialog.java
rc/android/support/design/widget/BottomSheetDialogFragment.java
ests/AndroidManifest.xml
ests/res/layout/frame_layout.xml
ests/src/android/support/design/widget/BottomSheetDialogActivity.java
ests/src/android/support/design/widget/BottomSheetDialogTest.java
9ba4dbeb02db9c222f39f77b9a335d9deabde98f 25-Feb-2016 Chris Banes <chrisbanes@google.com> Tidy up TextInputLayout.setError()

Turns out that there is an issue if you call
setErrorEnabled() with a previously set non-null
error. This CL fixes this.

Also added tests to test it works.

Change-Id: I24db8724d1e76ef3d05a8cc297a972ec814e62d0
rc/android/support/design/widget/TextInputLayout.java
ests/AndroidManifest.xml
ests/res/layout/design_text_input.xml
ests/res/values/strings.xml
ests/src/android/support/design/testutils/TextInputLayoutActions.java
ests/src/android/support/design/widget/TextInputLayoutActivity.java
ests/src/android/support/design/widget/TextInputLayoutTest.java
1711e8729c1b901b73f530e87b7c9cc9370f33be 26-Feb-2016 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton.setBackgroundTint* not working

Caused by the move to AppCompatImageButton. Happens due
to AppCompat's own background tinting overriding things.
Fixed by moving back to our own tinting. Had to add
support to use AppCompat's ImageHelper to enable vector
icon support.

BUG: 27372244
Change-Id: Ia06bea72796e7154bae50c65ef6dfe91158e3bf6
pi/current.txt
ase/android/support/design/widget/VisibilityAwareImageButton.java
rc/android/support/design/widget/FloatingActionButton.java
ests/res/drawable/vector_icon.xml
ests/src/android/support/design/testutils/FloatingActionButtonActions.java
ests/src/android/support/design/widget/FloatingActionButtonTest.java
6f9a84a7424c822c628fd0d7ebfaf6abf1656155 25-Feb-2016 Chris Banes <chrisbanes@google.com> 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
pi/current.txt
rc/android/support/design/widget/TabLayout.java
84549395ed3e2ec0453f7349716a12eab9901703 26-Feb-2016 Chris Banes <chrisbanes@google.com> resolve merge conflicts of c16e4c6eec to nyc-dev

Change-Id: Ic309b7bbeb3c89e4e73f09b5806b566d004e0250
989955e674e6cad59fdcf4c0e3cdf9510b2c49d0 25-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Revert "Add add/remove methods for TabLayout's selection listener"" into nyc-dev
44a089034f93de72e5e3e65c90ae4494c37771ab 25-Feb-2016 Chris Banes <chrisbanes@google.com> Revert "Add add/remove methods for TabLayout's selection listener"

This reverts commit ee41c207d5acc4fbfa271afe0b32c6785997c66f.

Change-Id: Iadd7730e3eae714620f6f27e9ab157f5221323aa
pi/current.txt
rc/android/support/design/widget/TabLayout.java
005faae5801a9b93a33b5810c001095cc24b983b 25-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Add add/remove methods for TabLayout's selection listener" into nyc-dev
ee41c207d5acc4fbfa271afe0b32c6785997c66f 25-Feb-2016 Chris Banes <chrisbanes@google.com> 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: Ibebddbbc3494b5c9bf8468b92b3fa470957a5554
pi/current.txt
rc/android/support/design/widget/TabLayout.java
50f777a07774d0f24529e2888fcba95744cb0be1 25-Feb-2016 Chris Banes <chrisbanes@google.com> Fix TabLayout's Tab pooling to actually work

Currently we do not reset the parent which mean that
a different TabLayout trying to use a pooled Tab
instance will blow up.

BUG: 27356169
Change-Id: I332ffaf06bce456b31a29d806df34354ab60d09f
rc/android/support/design/widget/TabLayout.java
ests/AndroidManifest.xml
ests/res/layout/design_tabs_twice.xml
ests/src/android/support/design/widget/TabLayoutPoolingActivity.java
ests/src/android/support/design/widget/TabLayoutPoolingTest.java
e1cd5a1f80010eece43cb4608505fd39f4832c00 25-Feb-2016 Neil Fuller <nfuller@google.com> Pin support libraries to Java 1.7 so they can be used with dx

The .jar artifacts must contain v51 class files to prevent them
being rejected by dx.

Bug: 26753820
Bug: 27353172
Bug: 27338966
Change-Id: I03a881a86bb6e3fcaa4ccb33e6c0615157ee363f
ndroid.mk
ccfe45bc4d8090bc9283f3d8dcbfc5497da273e8 24-Feb-2016 Chris Banes <chrisbanes@google.com> Fix FAB and background attrs again
am: d95e0bb027

* commit 'd95e0bb0271ae59387dd9d2ca402ad6f39d789d2':
Fix FAB and background attrs again
d95e0bb0271ae59387dd9d2ca402ad6f39d789d2 24-Feb-2016 Chris Banes <chrisbanes@google.com> Fix FAB and background attrs again

Seems that I didn't actually test with a backgroundTint
set.

Now with added tests to check the background colors.

BUG: 27270707
Change-Id: I92139e9466f33469949d68290def06bf24bbb5ea
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
rc/android/support/design/widget/FloatingActionButton.java
ests/AndroidManifest.xml
ests/res/drawable-xxhdpi/ic_add.png
ests/res/layout/design_fab.xml
ests/src/android/support/design/testutils/TestUtils.java
ests/src/android/support/design/testutils/TestUtilsMatchers.java
ests/src/android/support/design/widget/FloatingActionButtonActivity.java
ests/src/android/support/design/widget/FloatingActionButtonTest.java
b3ba94bf8b5cdae24e5a09a83813d72f2e2d8c1a 23-Feb-2016 Chris Banes <chrisbanes@google.com> Revert "Add default style attrs for design components"

This reverts commit 7e268c7de8bb10fc24ddda5d237d5cc5ce3b591b.

Change-Id: I5ba53003569cb7918fdaa550d36a697c86b2c282
es-public/values/public_attrs.xml
es/values/attrs.xml
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
7e268c7de8bb10fc24ddda5d237d5cc5ce3b591b 22-Feb-2016 Chris Banes <chrisbanes@google.com> Add default style attrs for design components

BUG: 27285523
Change-Id: Id19144f3fe58fe61ea132c2ca4fbf2cda5595277
es-public/values/public_attrs.xml
es/values/attrs.xml
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
b878a92b54fd2c0c05bbf2a7fe45592bfaaf02de 22-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Make TabLayout scroll to the current ViewPager page" into nyc-dev
f5b7c33391e9c8191bb4db7091be1c076a2fa7ea 22-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Nested scroll over clickable items on BottomSheet" into mnc-ub-dev
am: 8feab4189f

* commit '8feab4189ff169a7d954ceb77ca901760134a8fc':
Nested scroll over clickable items on BottomSheet
2e86d9dc7740c92362068d1e029bdb5ccbfa500e 22-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Update AppCompat + Design public declarations" into mnc-ub-dev
am: f2597e6bbd

* commit 'f2597e6bbd17bb3c0c44f4ef9aaffda66cb6d80f':
Update AppCompat + Design public declarations
df23c413315751774dd83a1d930ae6e83bc21d55 22-Feb-2016 Chris Banes <chrisbanes@google.com> resolve merge conflicts of b928ccefb6 to nyc-dev

Change-Id: I966ee45aaa2f8150421d57d8464f03eca47c3c4c
8feab4189ff169a7d954ceb77ca901760134a8fc 22-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Nested scroll over clickable items on BottomSheet" into mnc-ub-dev
f2597e6bbd17bb3c0c44f4ef9aaffda66cb6d80f 22-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Update AppCompat + Design public declarations" into mnc-ub-dev
617471b5d3c1465056c542de6343812cc6d6cd06 22-Feb-2016 Chris Banes <chrisbanes@google.com> Make TabLayout scroll to the current ViewPager page

Previously we were not reading scrolling to the
current page when setup.

BUG: 27258295
Change-Id: Id8a262feea2993973ae323e82cd86979e6b6a0f3
rc/android/support/design/widget/TabLayout.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
b1eb1357ec33343b7271a6d3876ac4af84e15510 22-Feb-2016 Yuichi Araki <yaraki@google.com> Nested scroll over clickable items on BottomSheet

Prevent ViewDragHelper from stealing nested scrolling events.

Bug: 27260612
Change-Id: I96c4f717995ca0f96a93867dc07cd29e882d0851
rc/android/support/design/widget/BottomSheetBehavior.java
ests/res/values/dimens.xml
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
556d0960fd0f731a659f68258b01bc9d89b9ec73 22-Feb-2016 Chris Banes <chrisbanes@google.com> Update AppCompat + Design public declarations

BUG: 27266127
Change-Id: I0abf0dee80d22f52bac0e62ce7a653edc1838546
es-public/values/public_attrs.xml
es-public/values/public_styles.xml
cdc736866534c604c4015c78371ade52bb6d52df 21-Feb-2016 Chris Banes <chrisbanes@google.com> Fix backgroundTint attrs on FAB

Caused by us moving to AppCompatImageButton
which reads the attrs itself and calls the appropriate
methods. Fixed by making sure that FAB's impl is
created before the super constructor is called.

BUG: 27270707
Change-Id: Id16d777bac5892662dbc99f752f81952166acec2
rc/android/support/design/widget/FloatingActionButton.java
0137c5c3b6a97a48403c3a8eb76919bdb47d27ee 21-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix crash on L+ when using TextInputLayout" into mnc-ub-dev
am: b786d9a334

* commit 'b786d9a33450b42bf937ca193041e35a11be7ca2':
Fix crash on L+ when using TextInputLayout
9a46fb0215d14a50b6026578e60f53baf70d8fda 19-Feb-2016 Chris Banes <chrisbanes@google.com> Fix crash on L+ when using TextInputLayout

Seems that we change the exception which is thrown
on L+ when a resource can't be inflated. Sigh.

Change-Id: I500e5fe59368e0c06801e5c358f752b436a670f3
rc/android/support/design/widget/TextInputLayout.java
ecad73bf7dfd67a3a78b9610d76719b794926010 19-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Adding CoordinatorLayout tests for scrolling / pinning tabs." into nyc-dev
d5d3213d80be767482a89bea6d073006582e2bcc 19-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "fix clickable area of FAB on pre-Lollipop devices"
rc/android/support/design/widget/FloatingActionButton.java
123544eaa855a7734be92dd35901233a222f64a8 19-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Adding CoordinatorLayout tests for scrolling / pinning tabs.

Change-Id: If08fd53f5a975957cd17bd19000ccd32bcb558ba
ests/res/layout/design_appbar_toolbar_scroll_tabs_pinned.xml
ests/res/layout/design_appbar_toolbar_scroll_tabs_scroll.xml
ests/res/layout/design_appbar_toolbar_scroll_tabs_scroll_snap.xml
ests/res/values/strings.xml
ests/src/android/support/design/testutils/Cheeses.java
ests/src/android/support/design/testutils/TestUtilsActions.java
ests/src/android/support/design/widget/AppBarLayoutBaseTest.java
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
ests/src/android/support/design/widget/AppBarWithToolbarAndTabsTest.java
9ed5a4831b5396af50687a5935c65cf0e7322577 18-Feb-2016 Chris Banes <chrisbanes@google.com> Fix some rough edges in AppCompat + VDC
am: b0f719227b

* commit 'b0f719227b3fa5d5bb7683bd835f7df504fcc733':
Fix some rough edges in AppCompat + VDC
65029163d2263348e4d8db5f371d7de7b621f6d8 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Testing FAB anchoring with AppBarLayout" into nyc-dev
fa0b2ad17dd14b1676457c6bc0a1add13c898744 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Additional tests for configuring Behavior in CoordinatorLayout." into nyc-dev
b0f719227b3fa5d5bb7683bd835f7df504fcc733 18-Feb-2016 Chris Banes <chrisbanes@google.com> Fix some rough edges in AppCompat + VDC

- Make the Resources in AppCompatActivity, more
efficient and allows all calls to
getResources().getDrawable() to work for vectors.
- Make FloatingActionButton extend from AppCompat's
ImageButton. This allows it to support vector assets.

BUG: 27238402
Change-Id: Id39c6d7a8c431ed811bd552e14eba583311c5693
pi/current.txt
ase/android/support/design/widget/VisibilityAwareImageButton.java
1005c226fdfddf30e6ad1ec2bb4c57942918dd8f 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Testing FAB anchoring with AppBarLayout

Also fix a few typos in FloatingActionButton comments.

Change-Id: Ic42a6f228a189d618b35e5c64ee9e961a58a3e9e
rc/android/support/design/widget/FloatingActionButton.java
ests/res/layout/design_appbar_toolbar_collapse_pin.xml
ests/res/layout/design_appbar_toolbar_collapse_pin_with_fab.xml
ests/res/layout/design_appbar_toolbar_collapse_scroll.xml
ests/res/values/strings.xml
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
909009864c27baf78efb766990e507a16a1cf359 17-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Tests for CoordinatorLayout scrolling / pinning.

Change-Id: I9a28726bc73cdb97d68c10af379535933bab1a7c
ests/res/layout/design_appbar_toolbar_collapse_pin.xml
ests/res/layout/design_appbar_toolbar_collapse_scroll.xml
ests/res/layout/include_appbar_scrollview.xml
ests/res/values/dimens.xml
ests/res/values/strings.xml
ests/src/android/support/design/testutils/Shakespeare.java
ests/src/android/support/design/testutils/TestUtilsActions.java
ests/src/android/support/design/widget/AppBarLayoutBaseTest.java
ests/src/android/support/design/widget/AppBarWithCollapsingToolbarTest.java
37847549af8a990fec26accc45b771141ff9ddb5 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Additional tests for configuring Behavior in CoordinatorLayout.

In addition to configuring Behavior via XML attribute, test
configuring behavior via annotation on custom view class and via
LayoutParams.setBehavior API

Change-Id: I94d01a9d4a738a75f87d97ed516162b8f58033fc
ests/res/layout/design_snackbar_behavior_annotation.xml
ests/res/layout/design_snackbar_behavior_layout_attr.xml
ests/res/layout/design_snackbar_behavior_runtime.xml
ests/res/layout/design_snackbar_with_textview.xml
ests/src/android/support/design/custom/CustomTextView.java
ests/src/android/support/design/custom/TestFloatingBehavior.java
ests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
ests/src/android/support/design/widget/TestFloatingBehavior.java
0488adbfe4a04e985675ee9f2c92dc680ea9a9d0 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Merge "More predictable Snackbar tests." into nyc-dev
5a81ee1ca18fbf1200c8326b36e9b38959af73f8 17-Feb-2016 Aurimas Liutikas <aurimas@google.com> Fix a description of a ViewPagerAction for tests.

Change-Id: Ia00553a0a41713d3c2b51a07bf637520d97c1f8c
ests/src/android/support/design/testutils/ViewPagerActions.java
34be0a1b8b8807ee2e4b53e42f3123332d8b4c55 17-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix testInflateTabLayoutWithNonTabItem on M+" into mnc-ub-dev
am: ac8501d7a3

* commit 'ac8501d7a3a3312bd9484396c238524c9a117cfa':
Fix testInflateTabLayoutWithNonTabItem on M+
ac8501d7a3a3312bd9484396c238524c9a117cfa 17-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix testInflateTabLayoutWithNonTabItem on M+" into mnc-ub-dev
85f34b0b8b76b93209ea3ac15aec70d27d649d37 17-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetBehavior for non-last child" into mnc-ub-dev
am: b294cc743d

* commit 'b294cc743dc9d0c5401f5f1d73dae7e40abfaf9d':
Fix BottomSheetBehavior for non-last child
b294cc743dc9d0c5401f5f1d73dae7e40abfaf9d 17-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetBehavior for non-last child" into mnc-ub-dev
3a8340d4a090bc8ab7ad3a774fb6d999e7384301 16-Feb-2016 Kirill Grouchnikov <kirillg@google.com> More predictable Snackbar tests.

Use Espresso's IdlingResources to wait until Snackbar's sliding
animation has been completed and the callback has been notified
in show() / dismiss().

Change-Id: I4ef3a8dc2241223423cfefe31130db339cd46b22
ests/src/android/support/design/testutils/SnackbarUtils.java
ests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
ests/src/android/support/design/widget/SnackbarTest.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
ests/AndroidManifest.xml
ests/res/drawable-xxhdpi/ic_add.png
ests/res/layout/design_snackbar_with_fab.xml
ests/res/layout/design_snackbar_with_textview.xml
ests/res/layout/dynamic_coordinator_layout.xml
ests/res/values/strings.xml
ests/src/android/support/design/testutils/SnackbarUtils.java
ests/src/android/support/design/widget/BaseDynamicCoordinatorLayoutTest.java
ests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
ests/src/android/support/design/widget/DynamicCoordinatorLayoutActivity.java
ests/src/android/support/design/widget/TestFloatingBehavior.java
c25d3eaf57813ae6573c0ad75584cecb710b910c 16-Feb-2016 Chris Banes <chrisbanes@google.com> Fix testInflateTabLayoutWithNonTabItem on M+

BUG: 27138533
Change-Id: I1497fc3abf93a18b76c472e45d74d99575526137
ests/src/android/support/design/widget/TabLayoutWithLayoutItems.java
c554016bf7e7e057479cf005770dd5e127500329 11-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Expanding test coverage for Snackbar

* Various combinations of message and action text sources
* Dismissing via API call to dismiss()
* Auto-dismissal after timeout
* Auto-dismissal after another snackbar is shown

Change-Id: Iabc57b0e77a7657a7889071d1ae9cfc194f10278
ests/AndroidManifest.xml
ests/res/values/strings.xml
ests/src/android/support/design/testutils/TestUtilsActions.java
ests/src/android/support/design/widget/SnackbarTest.java
7b7e3bfd940aa1b41497ac4c6710a97b54c3e551 11-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Align Snackbar test with current guidelines

* Naming of activity and test classes
* Using Mockito for listener-related logic

Change-Id: Icf21f4c43437f0db66cd31e3e0c347715987669a
ests/AndroidManifest.xml
ests/src/android/support/design/widget/SnackbarActivity.java
ests/src/android/support/design/widget/SnackbarBucketTests.java
ests/src/android/support/design/widget/SnackbarBucketTestsActivity.java
ests/src/android/support/design/widget/SnackbarTest.java
320463c1cf5f8e50cce340df195b60835fe23002 11-Feb-2016 Aurimas Liutikas <aurimas@google.com> Set activity enter and exit transitions to be no animation.

This should speed up our tests as we spend a significant amount of
time opening and closing activities.

Bug: 27116907
Change-Id: I1bdb0530100abe8c4e8ae217e873b35e4332e79d
ests/src/android/support/design/widget/BaseTestActivity.java
325ee6357c68ff444db3a9f8f0cbc3cf6ecdee82 10-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix error colours in design lib" into mnc-ub-dev am: c37d0d5de3
am: ef445d0c1b

* commit 'ef445d0c1bed0992dcabfada1f96fea1b131b5bf':
Fix error colours in design lib
c37d0d5de3d7dffe2bc9f1d8a08caa389f5ffea1 10-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix error colours in design lib" into mnc-ub-dev
4eb453c75e552a2e0231a93468d9597a4069286e 05-Feb-2016 Yuichi Araki <yaraki@google.com> Fix BottomSheetBehavior for non-last child

The bottom sheet does not need to be the last child of CoordinatorLayout
any more.

Bug: 26552452
Change-Id: I180a18ed4f5fcf7b4d026955cae6391a2a2bc19b
rc/android/support/design/widget/BottomSheetBehavior.java
402219e772bc6c4ce242d8eb5f0628f117a6af32 09-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix settling behavior of BottomSheetBehavior" into mnc-ub-dev am: 84f34d245f
am: 82c62c1d47

* commit '82c62c1d47aadb9a716c095a0f6619134e29864c':
Fix settling behavior of BottomSheetBehavior
0cfebf096d09aa7bbdd4cf959c6b42c7c601ff95 09-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar not showing after a dismissal" into mnc-ub-dev am: eb102d7146
am: 0b48018c02

* commit '0b48018c02db2cb76ba45c91aa7e8082cf73fab0':
Fix Snackbar not showing after a dismissal
84f34d245f8664c4b58d763672c77bbc6b2310bd 09-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix settling behavior of BottomSheetBehavior" into mnc-ub-dev
819bbaf04bba63abc7b329a14c92af52515aae0a 08-Feb-2016 Chris Banes <chrisbanes@google.com> Fix Snackbar not showing after a dismissal

Caused by us only dipatching a layout change callback
if 'changed' == true. That won't always be true though
if the layout's contents have changed.

The functionality is ambigiuous in that we have
never documented it, but it's simple enough to support.

BUG: 27064954
Change-Id: I517ebde0ed89a2bddf04aef15535baf1e70b1aa4
rc/android/support/design/widget/Snackbar.java
49a5904a773a7cfac127c5938671ed078d8ec8f3 05-Feb-2016 Yuichi Araki <yaraki@google.com> Fix settling behavior of BottomSheetBehavior

The bottom sheet now properly expands or collapses when user release
their finger with zero velocity.

Bug: 26988403
Change-Id: I271b305d7c0aa7d67e39be6b89bdb00eb4faf166
rc/android/support/design/widget/BottomSheetBehavior.java
072816f56235ab4e8bc91032b339e6a7df9d2ea6 05-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheet supports nested scrolling" into mnc-ub-dev am: 8a57aeeeb8
am: 57d3a3e228

* commit '57d3a3e2283c7381b0d6c3083457aae26d007767':
BottomSheet supports nested scrolling
8a57aeeeb8bb80cb13fdaab2e74a5a4febf10428 05-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheet supports nested scrolling" into mnc-ub-dev
31b690241124e22631b9e9f485bc4dbf88254db1 04-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix window insets for AppBarLayouts in ViewPager" into mnc-ub-dev am: 75fd07ac98
am: edc47e19cd

* commit 'edc47e19cddd681bffd02103661b7c03db87c2ce':
Fix window insets for AppBarLayouts in ViewPager
77eb6a5e7d1b1462bb4f811724cb42d22f189a2f 04-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Set a callback on CoL\'s status bar background" into mnc-ub-dev am: 9079ab7c6b
am: b876a299cc

* commit 'b876a299cc3fb4decf1ecf3a5a0d34b342d4b32a':
Set a callback on CoL's status bar background
75fd07ac981ba1f3e02ea4e67029b6c95088ff5f 04-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Fix window insets for AppBarLayouts in ViewPager" into mnc-ub-dev
9079ab7c6b5ada9d6d667fc97755c96d296e2cee 04-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "Set a callback on CoL's status bar background" into mnc-ub-dev
ac02ad7cf1f18084b44aab98655d3ffc7b100563 04-Feb-2016 Adam Powell <adamp@google.com> Make CoordinatorLayout Behavior scrim methods non-final am: 4d4b8a2a5b
am: f198c999a6

* commit 'f198c999a62f836ef6408342924c77dbfad41e04':
Make CoordinatorLayout Behavior scrim methods non-final
4d4b8a2a5b5907383e7ca168dd01c76dc75ab930 03-Feb-2016 Adam Powell <adamp@google.com> Make CoordinatorLayout Behavior scrim methods non-final

Because they aren't much use this way.

Change-Id: I4dcfe174a9a8eeec8a15ddcda0a68e72a5b32bc2
pi/current.txt
rc/android/support/design/widget/CoordinatorLayout.java
f0e712e395122c911804c746c90f9b40f7562d21 03-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Switch to dexmaker 1.2 am: a9f4a788b6
am: 6fa90b48b6

* commit '6fa90b48b6c47022b0266c8bd095f8b56f75dd26':
Switch to dexmaker 1.2
a9f4a788b64a16537eb214eaac90f8f3cc831670 03-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Switch to dexmaker 1.2

Play better with ART

Bug: 26940619
Change-Id: I6acd29f73b37d11a25f9a68221a7aa538e6a40c2
uild.gradle
8f7c75e11bb75653e8c58930f66981f766dc2c06 03-Feb-2016 Chris Banes <chrisbanes@google.com> Fix error colours in design lib

We now have themes in Design lib which apps should be using.
Since we can't break apps which are not using the themes,
we also support themes which are not descendent of Theme.Design.

BUG: 26933361

Change-Id: I8b62ef8e263ba93d5e9943360967ec8939688744
es/values/attrs.xml
es/values/colors.xml
es/values/styles.xml
es/values/themes.xml
rc/android/support/design/widget/TextInputLayout.java
bcb330de0c625b371010bada2a51363fc37b52cc 02-Feb-2016 Chris Banes <chrisbanes@google.com> Set a callback on CoL's status bar background

While there I also tidied up CoordinatorLayout's
various drawables, and add annotations.

BUG: 26920362
Change-Id: I32c03f3b647b89a5354c8a46fe3565fc7d45167c
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
e3e7063749d095bba8743cad0aeb7164a567890d 29-Jan-2016 Yuichi Araki <yaraki@google.com> BottomSheet supports nested scrolling

The bottom sheet can be expanded or collapsed continuously from
scrolling its content.

Bug: 26816091
Change-Id: I1f2b55e6f7ebcaf3365aae29219d324fa12d9c83
rc/android/support/design/widget/BottomSheetBehavior.java
2896f85fe75a12fdde76ac8f325d10d2329e0ff3 03-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetBehaviorTest on Gingerbread" into mnc-ub-dev am: 07b044cb62
am: 89b671f9b7

* commit '89b671f9b7306f77351970f53a913404fc678282':
Fix BottomSheetBehaviorTest on Gingerbread
07b044cb62b70680f3ff7a816afbed738e10bc10 03-Feb-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetBehaviorTest on Gingerbread" into mnc-ub-dev
717d43b1075f2a83f23325d0f74f1c5e1a85c468 02-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "AppBarLayout overlap layout fix" into mnc-ub-dev am: dbc6d32136
am: 7d6fdbdb5b

* commit '7d6fdbdb5b7012cc8ee8764e1d8509aeeea9142c':
AppBarLayout overlap layout fix
dbc6d321361f76aba42389960cd397e0d6d0f31d 02-Feb-2016 Chris Banes <chrisbanes@google.com> Merge "AppBarLayout overlap layout fix" into mnc-ub-dev
f9956872843d264ee5055fa07168effb83ccf154 02-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Use Mockito for verifying that a listener has been called. am: 8cf1dce2d2
am: 7aec4ef1bf

* commit '7aec4ef1bfc34dad7863b33301fecd58df908693':
Use Mockito for verifying that a listener has been called.
8cf1dce2d2266ea5b1d42e95af81490d4d201802 02-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Use Mockito for verifying that a listener has been called.

Instead of class-level "tracker" field, use Mockito to verify that
a specific listener has been called.

Bug: 26926971
Change-Id: I61fcab198f09a48b150fc0bb69bea870510674a8
uild.gradle
ests/src/android/support/design/widget/NavigationViewTest.java
b2f568c9c71763ed823b1f9c274077825b5d0c9e 18-Jan-2016 Chris Banes <chrisbanes@google.com> AppBarLayout overlap layout fix

The overlap was not being initially applied in the
new layout code path.

BUG: 26899722

Change-Id: Ifda4b05b58dac5f8936d38d2f664fbeda530ce13
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
8609a20bfe8d61704facb9c18836db5b3a754105 02-Feb-2016 Yuichi Araki <yaraki@google.com> Fix BottomSheetBehaviorTest on Gingerbread

Bug: 26767893
Change-Id: I6ad2de5a47a64b7f69f0550b199db6294fe2c9f8
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
17ed3263761329f6aa6796941358c41001fff325 29-Jan-2016 Chris Banes <chrisbanes@google.com> Fix window insets for AppBarLayouts in ViewPager

Caused by the standard dispatchApplyWindowInsets()
not being appropriate for a horizontally scrolling
widget with full-height children. This is because
if child 0 consumes the insets, the rest of the children
will not receive the dispatch. To workaround this
we manually dispatch the original insets, not allowing
children to consume them from each other.

Also tidied up the window insets dispatching in CoL,
AppBarLayout and CollapsingToolbarLayout.

BUG: 22869860

Change-Id: I26544267f672b3b4d041d4ef8b29dd0d5f706455
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
90675c97d475c1092ecc00d29a131d22f0c34574 29-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Modal bottom sheet matches screen width by default" into mnc-ub-dev am: bd8ba2fe8d
am: 7757039856

* commit '7757039856d1c1bf85f1232a41fcc3bd329ddf34':
Modal bottom sheet matches screen width by default
bd8ba2fe8dbd73fb8c437a6a39b2ceaa10f42532 29-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Modal bottom sheet matches screen width by default" into mnc-ub-dev
681f964d3315b6aa7af4cc43064dd570bf7dd02c 28-Jan-2016 Chris Banes <chrisbanes@google.com> resolve merge conflicts of 7b0d039842 to master.

Change-Id: I6068e0312018955a1bc73129f0b289991a385ea0
6e1afc8f262ff2f1494e07051a058a8427d67952 28-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Update support lib to use correct current SDK"
60c2e837072c2a7d668e936e6ef6faed05e02990 28-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar swipe to dismiss not working pre-v11" into mnc-ub-dev
761b2d9272e65ba7d828c2b5934c25fe5ed5e0b5 28-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Update support lib to use correct current SDK DO NOT MERGE" into mnc-ub-dev
812ed4bf49511db1aa065f635786c1550e5597e3 28-Jan-2016 Yuichi Araki <yaraki@google.com> Modal bottom sheet matches screen width by default

Specifying android:minWidth on bottom sheet prevents its child from
matching the parent's width. If I simply remove it, the modal bottom
sheet is always as wide as its content, and there's no way for the
client app to make the bottom sheet match the screen width. Instead,
this makes the modal bottom sheet match the screen width. The client app
can still make the bottom sheet narrower by specifying
layout_marginLeft/Right.

Bug: 26761954
Change-Id: Ic0cb1f39dcf3c2e3119eef0c369397a483691f49
es/layout/design_bottom_sheet_dialog.xml
es/values/styles.xml
9e3135ecc2ee7036a9a10ff6b179ec4427f830c0 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Test coverage for NavigationView action layouts." into mnc-ub-dev am: c10de2da0b
am: d2828e9df6

* commit 'd2828e9df6d96c3ae3a4181d2b393cef3ab7a941':
Test coverage for NavigationView action layouts.
c9e20a7549692123f33c6b4e62d1057cb8f79237 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Switch to more reliable icon sources for tinting tests." into mnc-ub-dev am: 5e628496bf
am: ab4a92a859

* commit 'ab4a92a859df9587126ef5e84fce85ab3e65f1ba':
Switch to more reliable icon sources for tinting tests.
c10de2da0b007e920d0be0502f0db3c8fbb3609d 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Test coverage for NavigationView action layouts." into mnc-ub-dev
5e628496bf0d1881e99eb17762a2afbbf7c85ce9 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Switch to more reliable icon sources for tinting tests." into mnc-ub-dev
1ba555a31dcff069a4b9beb4d552203fab2d2691 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Test coverage for NavigationView action layouts.

Change-Id: I77e15338689a60dd350b7c7f2125edaf49ecc124
ests/res/layout/action_layout.xml
ests/res/menu/navigation_view_content.xml
ests/src/android/support/design/widget/NavigationViewTest.java
c0fce14d09ef55160c3e1fba8fbbe87f6abb58a7 27-Jan-2016 Yigit Boyar <yboyar@google.com> Merge "Support library gradle improvements" into mnc-ub-dev am: 04292f146c
am: f09f1e1a1c

* commit 'f09f1e1a1c932d2d0ed446dc7167c016a2d2df93':
Support library gradle improvements
04292f146ce6148cd87f54267bec127a91fbb626 27-Jan-2016 Yigit Boyar <yboyar@google.com> Merge "Support library gradle improvements" into mnc-ub-dev
88f685bc75d52b18f45f22c99ef8d4910708a3e3 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Switch to more reliable icon sources for tinting tests.

ColorDrawable is not tinted on KK-
BitmapDrawable is by a few units off in G/B channels on GB-
ShapeDrawable is not drawn on GB-

Use extension of GradientDrawable for now.

Change-Id: I89eb67227eb855fbc314fcca56b19eb579785bd9
ests/res/drawable-mdpi/test_drawable_blue.png
ests/res/drawable-mdpi/test_drawable_green.png
ests/res/drawable-mdpi/test_drawable_red.png
ests/res/drawable/test_drawable_blue.xml
ests/res/drawable/test_drawable_green.xml
ests/res/drawable/test_drawable_red.xml
ests/src/android/support/design/testutils/NavigationViewActions.java
ests/src/android/support/design/testutils/TestUtilsMatchers.java
ests/src/android/support/design/widget/NavigationViewTest.java
02a9e8cbd0ac6c273f384b63f75c1e1fa31b61ff 27-Jan-2016 Yigit Boyar <yboyar@google.com> Support library gradle improvements

* Define java source compatibility on all build files to avoid
issues that might be caused by compiling with Java8
* Apply the library plugin using the cannonical name
* Define a currentSdkVersion variable instead of embedded string.
We can later load this from a file so that you can checkout
an older branch of support lib and compile it on master and
it won't use master's API by mistake.
This also helps with Android Studio integration.

Bug: 26714403

Change-Id: I0e9f2770b397b761155ac8d4a40fa5fb001264e1
uild.gradle
cb278d4914b2a65395ad29fdeab7345a4f72519e 27-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Update TabItem attr docs" into mnc-ub-dev am: f92dff916c
am: 3240977802

* commit '3240977802f3e074ba4ee31e8420292c0c68736c':
Update TabItem attr docs
f92dff916c9b801446d882f8a69d9b65256a15d0 27-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Update TabItem attr docs" into mnc-ub-dev
00a5da9ff7cb74900362a85c567a3795afbc5586 27-Jan-2016 Chris Banes <chrisbanes@google.com> Update TabItem attr docs

BUG: 26773458
Change-Id: I4d7b83eb8a5b88da2acbf1221aab9b06d15c01c0
es/values/attrs.xml
d554827274618b9812620b96b8bab6750f53b96b 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "More tests for NavigationView" into mnc-ub-dev am: 0e6979b1ea
am: cb30b29c7a

* commit 'cb30b29c7ac17524d111192d4781e3b44209572e':
More tests for NavigationView
a3c0da0361aa877077aeb21df876226def2f98ca 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> More tests for NavigationView

* Testing APIs related to header views
* Testing the inflated Menu object
* Testing navigation selection listener
* Testing functionality related to checked items

Change-Id: I9e2655c87f3745070ac79e47c26d7b7fbbc69991
ests/res/color/color_state_list_sand.xml
ests/res/drawable/test_drawable_state_list.xml
ests/res/layout/design_navigation_view_header1.xml
ests/res/layout/design_navigation_view_header2.xml
ests/res/layout/design_navigation_view_header3.xml
ests/res/menu/navigation_view_content.xml
ests/res/values/colors.xml
ests/src/android/support/design/testutils/NavigationViewActions.java
ests/src/android/support/design/testutils/TestUtilsMatchers.java
ests/src/android/support/design/widget/NavigationViewTest.java
9ae5a4609b36b200f1b9580dc0c2050186a5a94d 27-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Testing appearance-related APIs on NavigationView. am: 8ea47e618b
am: 36a3b04bea

* commit '36a3b04bea73084d2f5d4e9e69acc492b2c86f18':
Testing appearance-related APIs on NavigationView.
8ea47e618ba5dad21c7b023aa998979eebcf2103 26-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Testing appearance-related APIs on NavigationView.

Also fix a bug where setting item background wouldn't update
the navigation view content. In addition, mark a few method
signatures with @Nullable where appropriate.

Bug: 26793013
Change-Id: Ie91c376d73beb7acb317510ac8322771ca17b66a
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
ests/res/color/color_state_list_lilac.xml
ests/res/color/color_state_list_red_translucent.xml
ests/res/drawable/test_background_blue.xml
ests/res/drawable/test_background_green.xml
ests/res/drawable/test_drawable_blue.xml
ests/res/drawable/test_drawable_green.xml
ests/res/drawable/test_drawable_red.xml
ests/res/layout/design_navigation_view.xml
ests/res/menu/navigation_view_content.xml
ests/res/values/colors.xml
ests/res/values/dimens.xml
ests/res/values/styles.xml
ests/src/android/support/design/testutils/NavigationViewActions.java
ests/src/android/support/design/testutils/TestUtils.java
ests/src/android/support/design/testutils/TestUtilsMatchers.java
ests/src/android/support/design/widget/NavigationViewTest.java
a89b7a8e4840e52dfda1442bcb885686680556f6 26-Jan-2016 Chris Banes <chrisbanes@google.com> Fix Snackbar swipe to dismiss not working pre-v11

Multiple issues:
- offsetTopAndBottom doesn't invalidate pre-v11, so
ViewDragHelper now uses the ViewCompat version.
- ViewCompat's offset method needs to invalidate the parent
instead, since the view has moved and thus the dirty rect
is larger than the view's bounds.
- Fixed issue in Snackbar which meant that the view would
not be removed after a swipe settle.

BUG: 26768803
Change-Id: Ia9abc4884f8ffd05408135d3fc4dd1b073392a7b
rc/android/support/design/widget/Snackbar.java
2674c749a3746fae75481aeb42ef47cd1b8955c5 26-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Optimize text drawing in CollapsingTextHelper" into mnc-ub-dev am: f6a760abe9
am: a6d4cdcf15

* commit 'a6d4cdcf156161b054702db44c88d023054b2f59':
Optimize text drawing in CollapsingTextHelper
f6a760abe93829683415adbb5fa59a30f1c732a0 26-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Optimize text drawing in CollapsingTextHelper" into mnc-ub-dev
81b6818302d4237a577a886a6e431414e72d79a3 26-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Initial setup and basic test for NavigationView" into mnc-ub-dev am: c841e91fb5
am: 4d3e8a1b07

* commit '4d3e8a1b0784ac4e8de97b8e8ccea7fd9c05e501':
Initial setup and basic test for NavigationView
192d7088cf88241a1e61fee3b76cb06aa5c6e1e8 26-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Switch Design tests to activity rules." into mnc-ub-dev am: 3de1aed87d
am: ddf334c8c3

* commit 'ddf334c8c30c2cac6aafd5bff49b320d6053620d':
Switch Design tests to activity rules.
973218c60005eb672a27b027403c9231d5d21303 26-Jan-2016 Chris Banes <chrisbanes@google.com> Optimize text drawing in CollapsingTextHelper

Use subpixel measurement, which is handy for custom typefaces,
and linear text scaling when we're scaling text.

Change-Id: Idf6373add6ccc939c57f7e8833ffd2712b4f7347
rc/android/support/design/widget/CollapsingTextHelper.java
c10ba2544591704e7c4adbe98da6a485a8b19230 25-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Initial setup and basic test for NavigationView

Change-Id: Ibffb3a0727598e35c3f9b91e473cd92cea1026dd
ests/AndroidManifest.xml
ests/res/layout/design_navigation_view.xml
ests/res/menu/navigation_view_content.xml
ests/res/values/colors.xml
ests/res/values/dimens.xml
ests/res/values/strings.xml
ests/res/values/styles.xml
ests/src/android/support/design/testutils/DrawerLayoutActions.java
ests/src/android/support/design/widget/NavigationViewActivity.java
ests/src/android/support/design/widget/NavigationViewTest.java
ee3e8053ef6b55e31fa0be004061318ec394eb64 25-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Switch Design tests to activity rules.

Also wrap one state mutator call in BottomSheet test to run on UI thread
and add missing copyright header.

Change-Id: I88ead90e61e6fd24e80fe97373bbef98be25fec6
ests/src/android/support/design/widget/BaseInstrumentationTestCase.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
ests/src/android/support/design/widget/SnackbarBucketTests.java
ests/src/android/support/design/widget/TabLayoutWithLayoutItems.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerActivity.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
bc90647d8b4897b7530b31942bb9b6e3695bf0f7 25-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Bottom sheets ignore touch events when invisible" into mnc-ub-dev am: 7061f1c4b9
am: 3be6bbdb46

* commit '3be6bbdb46deaf0708eb4de5002c8e77fa9ab756':
Bottom sheets ignore touch events when invisible
c12dc3d83c1ef7be0f4d4fd7a5a1dbce68138820 22-Jan-2016 Chris Banes <chrisbanes@google.com> Update support lib to use correct current SDK DO NOT MERGE

BUG: 26714403
Change-Id: I2153dbda365f4552a14df1f432239bddfbbbef00
ndroid.mk
82b55491586ac50a0f95b60e39a3c18d068941cf 22-Jan-2016 Chris Banes <chrisbanes@google.com> Update support lib to use correct current SDK

BUG: 26714403
Change-Id: I2153dbda365f4552a14df1f432239bddfbbbef00
ndroid.mk
17fc77f5ca7c91daeab2e110669d9baf9d1a8090 22-Jan-2016 Yuichi Araki <yaraki@google.com> Bottom sheets ignore touch events when invisible

Bug: 26703483
Change-Id: Idc69f43b6019e9ca782c6a5d330fba7d27ffecba
rc/android/support/design/widget/BottomSheetBehavior.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
6027352a976254c5fa31ce0501f7444cc9055dc6 22-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheetBehaviorTest" into mnc-ub-dev am: aeac66ab70
am: 4d2348182e

* commit '4d2348182e578284fcfd35c43bcb8852f45967c9':
Fix BottomSheetBehaviorTest
e1b07825c14a3dee006a0489fd8e2c3060d9884f 18-Jan-2016 Yuichi Araki <yaraki@google.com> Fix BottomSheetBehaviorTest

Bug: 26244950
Change-Id: I66da29a0d46ebc41b9224da94740883e223a5e22
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
ecba4ce7908e34fdf6657de086525b7fd5dd3f67 21-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheetBehavior passes View to callbacks" into mnc-ub-dev am: b4a1c82a4a
am: 98f6659182

* commit '98f6659182932abc6b058a2cbea12ed4432e45a4':
BottomSheetBehavior passes View to callbacks
b4a1c82a4abd8f8749a7154090cfaebe266694b8 21-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "BottomSheetBehavior passes View to callbacks" into mnc-ub-dev
669e3afeade265e0411d8eb10483410556677a5d 20-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Accessibility fix for Snackbar announcements" into mnc-ub-dev am: 804aa1e7d8
am: 61e07fb8e6

* commit '61e07fb8e6843e7d7d293eb2ca674333f0a3e600':
Accessibility fix for Snackbar announcements
ed149aee7e5d78a9b5714e7b7b1cc394ca9e4af3 18-Jan-2016 Chris Banes <chrisbanes@google.com> Accessibility fix for Snackbar announcements

Allows it to properly announce itself when shown/hidden.
Was broken by a fade animation on the Snackbar's child
views, making Talkback think they were not visible.

Also made Snackbar important for accessibility, for devices
running pre-v19.

BUG: 23097365

Change-Id: I57c6c7ecb70661c7c04e0923ad9df2eaa3a360af
rc/android/support/design/widget/Snackbar.java
d910e8fb9d1412764450a5b4e7908ae5804396ef 15-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Allow TabLayout items to be added in a layout" into mnc-ub-dev am: d54168f673
am: b9fb26837f

* commit 'b9fb26837fabff91b40b710f956fe9ce67b126bc':
Allow TabLayout items to be added in a layout
4cc50ca6952dcc35f1babd918742dbd09e3c01c7 05-Jan-2016 Chris Banes <chrisbanes@google.com> Allow TabLayout items to be added in a layout

Adds a new dummy view called TabItem which is just a
vehicle for reading attributes.

Also tidied up TabLayout's attribute javadoc

BUG: 19634570

Change-Id: Ia3a5e518bcf8266fb9fa800f062dd1dc6fe7214c
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/TabItem.java
rc/android/support/design/widget/TabLayout.java
ests/AndroidManifest.xml
ests/res/layout/design_tab_item_custom.xml
ests/res/layout/design_tabs_items.xml
ests/res/layout/design_tabs_with_non_tabitems.xml
ests/res/values/strings.xml
ests/src/android/support/design/widget/TabLayoutWithLayoutItems.java
070c7139ee671e10e2197d9cad4015b797cd0e9a 15-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix CollapsingToolbarLayout not drawing a title" into mnc-ub-dev am: af862ffe2a
am: b66d81e110

* commit 'b66d81e110b9056c448a094e3a21734333d665f1':
Fix CollapsingToolbarLayout not drawing a title
af862ffe2aa8bc3740072a991f0ac1d82b86607d 15-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix CollapsingToolbarLayout not drawing a title" into mnc-ub-dev
424d9b914f459ad48631d7762c4e133f11f45c34 14-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar tests when animations are enabled" into mnc-ub-dev am: 5b5ab38cdf
am: 120b623fd2

* commit '120b623fd24e5ebb94b7059d514d4ae8bb0a7600':
Fix Snackbar tests when animations are enabled
5b5ab38cdf3122c980260c177178512242a752a2 14-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar tests when animations are enabled" into mnc-ub-dev
6b0726e90aa7c4657f5bf7459fadbaf58905c3c8 14-Jan-2016 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout not drawing a title

Happens when used in a parent which is initially GONE. An example
is a fragment which is used as a drawer in a DrawerLayout.

CollapsingToolbarLayout uses isShown() to work out if it has
enough space to draw a title. isShown() doesn't work in this
situation since it crawls up the view hierarchy to check that
all ancestors are visible. This doesn't matter to us, so
we now just check if the dummy view is attached and visible.

BUG: 26554039
Change-Id: I77541023d2079cfb7d4f16602b30db3ba707ba67
rc/android/support/design/widget/CollapsingToolbarLayout.java
dffd8d4be91b2e5e0ce66ad96867182db0c02fd0 14-Jan-2016 Yuichi Araki <yaraki@google.com> BottomSheetBehavior passes View to callbacks

Bug: 26509449
Change-Id: Ie82cc63d9ce75ec92bbb6cd444abd20faffbb7b5
pi/current.txt
rc/android/support/design/widget/BottomSheetBehavior.java
rc/android/support/design/widget/BottomSheetDialog.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
25d185365d320250122658b94df2aab882965689 14-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Add tests for BottomSheet" into mnc-ub-dev am: ad80081fb5
am: 6f2b0eea31

* commit '6f2b0eea314dfe152a58d8ebfb0ec899d40f151a':
Add tests for BottomSheet
ad80081fb5504c8bc9a0f92b36c4482762b933dd 14-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Add tests for BottomSheet" into mnc-ub-dev
52aa1ed4e3fb95efd29d8006a6dac1740aa79abe 13-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Add TextInputEditText to accompany TextInputLayout" into mnc-ub-dev am: 180941a683
am: af72dfa539

* commit 'af72dfa53964090135feb55d5d53d4eecb6bb0a8':
Add TextInputEditText to accompany TextInputLayout
a5faff7522a0fd91ea11d77f6a063d6323ba9e7b 13-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Update test dependencies in AppCompat + design" into mnc-ub-dev am: 3872d0b805
am: bf7aa00c7a

* commit 'bf7aa00c7a06c17f8474a85a2806970356944cc8':
Update test dependencies in AppCompat + design
180941a683745674b86fce0d63f19b010d4d433e 13-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Add TextInputEditText to accompany TextInputLayout" into mnc-ub-dev
f6c82b6950bc7004e43d197ab44a94695b7dac72 13-Jan-2016 Chris Banes <chrisbanes@google.com> Update test dependencies in AppCompat + design

Seems to fix certain flaky failures

BUG: 26509367
BUG: 26462798
BUG: 26461642

Change-Id: I253e259975d26201a1b8b8f1fec7a1fc93eb133b
uild.gradle
ests/AndroidManifest.xml
df00f11c8c90db7b26672267fd1b74250c0d6cef 13-Jan-2016 Chris Banes <chrisbanes@google.com> Fix Snackbar tests when animations are enabled

Change-Id: If75f17ab09fe4b1a72b3bcc9ba29d90a8eb85972
rc/android/support/design/widget/Snackbar.java
ests/src/android/support/design/widget/SnackbarBucketTests.java
fc03cb44932f21e89d08d6117158e2c9131e9959 13-Jan-2016 Chris Banes <chrisbanes@google.com> Add TextInputEditText to accompany TextInputLayout

Allows us to update the IMEs hint to match the TIL.

BUG: 26421088
Change-Id: I283b73ff29406e927823f1803c654b367c390aef
pi/current.txt
rc/android/support/design/widget/TextInputEditText.java
rc/android/support/design/widget/TextInputLayout.java
48cd60a8daad661611618f52a0dce00d5b2c64b9 12-Jan-2016 Yuichi Araki <yaraki@google.com> Add tests for BottomSheet

Bug: 26244950
Change-Id: Ia51772a32a542e7adc594e8fd749a02c74a14431
ests/AndroidManifest.xml
ests/res/layout/test_design_bottom_sheet_behavior.xml
ests/res/values/dimens.xml
ests/src/android/support/design/widget/BottomSheetBehaviorActivity.java
ests/src/android/support/design/widget/BottomSheetBehaviorTest.java
ests/src/android/support/design/widget/DesignViewActions.java
ce3a9441d6f0817e469b32fe0e8067002a78f5c6 11-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Guard against NPE in TabLayout" into mnc-ub-dev am: 3649bdf5a5
am: a20b22fef6

* commit 'a20b22fef65f9f0d3d799311ec5f2e87f037c162':
Guard against NPE in TabLayout
3649bdf5a567756b1348b7385abc7fc8edd66325 11-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Guard against NPE in TabLayout" into mnc-ub-dev
9c2232ee41f2db73648348e84cba637b892de617 11-Jan-2016 Chris Banes <chrisbanes@google.com> Guard against NPE in TabLayout

I can't recreate but it's a simple check and worth
doing anyway.

BUG: 26482513
Change-Id: Iaaaee0ff077152b4c859d51e44c7ec69d476e8fd
rc/android/support/design/widget/TabLayout.java
c2315a7e9644fdd5b5350976be53c66160b844f7 11-Jan-2016 Chris Banes <chrisbanes@google.com> Fix support test build am: 1b30ef67a5
am: cc6802586e

* commit 'cc6802586e04685595eadc3dcc43dcfc82ec161e':
Fix support test build
1b30ef67a596d51606aaad1d2dc96a9d63141e5d 11-Jan-2016 Chris Banes <chrisbanes@google.com> Fix support test build

Also adds a NO_DOCS to GridLayout's test

Change-Id: I9bc7a1412656297bf63ab17052564dbe0d59a3cb
uild.gradle
7dfefd41cc64cc46d41d9906526e013d92ef745f 08-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheet over ScrollView" into mnc-ub-dev am: 129ef23221
am: 23848059a9

* commit '23848059a9a6265fe9c6db056e7e0d9b5f193f45':
Fix BottomSheet over ScrollView
129ef23221fb1639caca62de279f1437e657cd07 08-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheet over ScrollView" into mnc-ub-dev
5624edeb9d5b8f471c82f6b824613d0c0907c072 07-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Suppress Javadocs generation in design/tests am: 40b6e9cdd8
am: 93e2d21a17

* commit '93e2d21a172bfba09d08e875b45e20bc24d56f86':
Suppress Javadocs generation in design/tests
40b6e9cdd82a9a0adc0ddeec432da76d0d09b46d 07-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Suppress Javadocs generation in design/tests

Change-Id: I4b406be052ebb4430e8dd2a2ad5d9ec21305064c
ests/NO_DOCS
0595eabfc590375a245f4622716290d3dac8fa01 07-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar callback being called twice on API 14/15" into mnc-ub-dev am: 9264b12f53
am: 32aeb4fbee

* commit '32aeb4fbee8e7dc0cd5424d9e64e068e897e5281':
Fix Snackbar callback being called twice on API 14/15
9264b12f53288d593e200ff61c75ab0517a32a36 07-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar callback being called twice on API 14/15" into mnc-ub-dev
85c657a5ae5913b30cd146750b269ee172fac4ba 07-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Rename design-lib Theme styleable" into mnc-ub-dev am: 8212a06916
am: 8712385fd7

* commit '8712385fd779a65e6ea2d3bff6e0a1c63834cd9f':
Rename design-lib Theme styleable
d2a4484c16a10860505536a6697d9aa310731242 07-Jan-2016 Chris Banes <chrisbanes@google.com> Rename design-lib Theme styleable

Causes conflicts with certain build systems.

BUG: 26432331

Change-Id: I5dae0086da19e60ca1995dfe027e8e347c1fe82d
es/values/attrs.xml
bfd48d0521963754e04e407499ee9e278fe06c0f 06-Jan-2016 Chris Banes <chrisbanes@google.com> Fix Snackbar callback being called twice on API 14/15

BUG: 25072545
Change-Id: I589af3896c4c13f1cb2768e3fea95cd2f7a72365
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SnackbarManager.java
ests/AndroidManifest.xml
ests/res/layout/test_design_snackbar.xml
ests/src/android/support/design/widget/SnackbarBucketTests.java
ests/src/android/support/design/widget/SnackbarBucketTestsActivity.java
010eff40dbd547fa9ef6834ba9ac81ce03d6c8df 07-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix SwipeDismissBehavior not request disallow intercepts" into mnc-ub-dev am: 96104282e1
am: 36540931a6

* commit '36540931a60a72b23cb3af68c3d91391a300bbe5':
Fix SwipeDismissBehavior not request disallow intercepts
96104282e1a636764957180985d4292243cc589d 07-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix SwipeDismissBehavior not request disallow intercepts" into mnc-ub-dev
9aec720809a123c6193304730acf8b55d6ce5a7a 17-Dec-2015 Yuichi Araki <yaraki@google.com> Fix BottomSheet over ScrollView

The event handling in BottomSheetBehavior is much simplified by
delegating most of its work to ViewDragHelper.

This also fixes ViewGroupUtils.offsetDescendantRect on Gingerbread so
that it disregards the scroll offsets of the content of the target
child. This was necessary to fix the behavior of
CoordinatorLayout.isPointInChildBounds.

Bug: 26237244
Bug: 26435997
Change-Id: I63de59fb859c2071186eb202a037b048a71ea8f2
es/layout/design_bottom_sheet_dialog.xml
rc/android/support/design/widget/BottomSheetBehavior.java
rc/android/support/design/widget/BottomSheetDialog.java
rc/android/support/design/widget/BottomSheetDialogFragment.java
rc/android/support/design/widget/ViewGroupUtils.java
fbedfdc066feeec46764b43034a56fbb91454593 06-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Disable delay child pressed state propogation for Tabs" into mnc-ub-dev am: ab8e873944
am: 3f73140f9a

* commit '3f73140f9a0eabc2a0b804cf76aa26d062456b4e':
Disable delay child pressed state propogation for Tabs
ab8e873944ac1a11ee2c0a85a9ae2d3e9b1e7f92 06-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Disable delay child pressed state propogation for Tabs" into mnc-ub-dev
090d6780d4a901b258f33bcaa53014ca06744857 06-Jan-2016 Chris Banes <chrisbanes@google.com> Disable delay child pressed state propogation for Tabs

If the tabs can't scroll then we don't need to delay.

Change-Id: I452def4a572cb731b54a7f24d6ea2f3360c18956
rc/android/support/design/widget/TabLayout.java
0ab16dda7d0006ace468e4138a526e18249ae6ef 06-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Add missing test for min/max tab width limitation in TabLayout" into mnc-ub-dev am: bf5c215e80
am: e196deddcc

* commit 'e196deddccbf73fae53ffe63ec101aa4ff06996c':
Add missing test for min/max tab width limitation in TabLayout
3f5b018c7f76dc299aa3819c37ba3deba2905add 05-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Add missing test for min/max tab width limitation in TabLayout

And refactor the existing two tests to use a common configurable
method.

Change-Id: I834915378f925b3843479df0191da5881477c2f3
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
b6583d431d89eecd4b53e069590f38ab42211c53 05-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Third pass for testing TabLayout with ViewPager" into mnc-ub-dev am: 751d0361f1
am: 6b09720a5e

* commit '6b09720a5ee0ab11d22a973e5d7d981e482cd77f':
Third pass for testing TabLayout with ViewPager
303128e6b3f0a05a6ec5592a727408b20d250066 05-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Fix AppBarLayout layout issues" into mnc-ub-dev am: 25ce9fa091
am: 81f53d75b5

* commit '81f53d75b5b6efb2b19cc8df881b470aef0d41e9':
Fix AppBarLayout layout issues
751d0361f1e91c157dc365512c3099624b99c65f 05-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Merge "Third pass for testing TabLayout with ViewPager" into mnc-ub-dev
c7f2aad754af4373c32fcab613de0ba164ada2a2 22-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Third pass for testing TabLayout with ViewPager

Testing min and max tab title width under scrollable mode

Change-Id: I70abd29082a9f7ec3f1ee401eafeaa1cd7d83d2a
rc/android/support/design/widget/TabLayout.java
ests/res/layout/design_tabs_viewpager.xml
ests/res/layout/tab_layout_bound_max.xml
ests/res/layout/tab_layout_bound_min.xml
ests/res/layout/tab_layout_bound_minmax.xml
ests/res/layout/tab_layout_unbound.xml
ests/res/values/dimens.xml
ests/src/android/support/design/testutils/TabLayoutActions.java
ests/src/android/support/design/testutils/TestUtilsActions.java
ests/src/android/support/design/testutils/TestUtilsMatchers.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
90dfc0aa3215c247825ea1001478ed17a767c45d 05-Jan-2016 Chris Banes <chrisbanes@google.com> Fix SwipeDismissBehavior not request disallow intercepts

BUG: 26395872
Change-Id: I0a15130d465abacbff1f60b8ecd0cfcda9564e85
rc/android/support/design/widget/SwipeDismissBehavior.java
5e7673e0dbd89512b525d1bde5c912eb07885550 05-Jan-2016 Chris Banes <chrisbanes@google.com> Fix AppBarLayout layout issues

Cropped up after we moved to laying out the scrolling view
in the offset position. The problem occurs when the
AppBarLayout is scrolled off screen by any amount, and
then a layout occurs. The scrolling view is then laid out
attached to the bottom of it.

The old scrolling logic didn't account for this and expects
the scrolling view to be laid out in the same base position
every time.

Since we now lay the scrolling view correctly in the
first place, there is now no need to use ViewOffsetHelper
and can just use offsetTopAndBottom to offset while scrolling.

Change-Id: If9b4cb9ebae49235ffbc152a5f7af87843b459e7
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
af22fe4d022d6bdf39e595909206811df98eadad 04-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Use correct max width for NavigationView" into mnc-ub-dev am: 777691195d
am: 9868418ca9

* commit '9868418ca933b8e99bb09fce3f521a05d76589c9':
Use correct max width for NavigationView
777691195da9da35a3bba8d62154c2766d94f7f6 04-Jan-2016 Chris Banes <chrisbanes@google.com> Merge "Use correct max width for NavigationView" into mnc-ub-dev
a941708a9ff23f6f26de914f4b1ef870e8871e52 30-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Merge "Second pass for TabLayout / ViewPager tests" into mnc-ub-dev am: f7079ca5a0
am: 48177b5d92

* commit '48177b5d929f132bb865d5cc865970323593a118':
Second pass for TabLayout / ViewPager tests
50e02b9aeae54e15e9278116863688a6623dde27 30-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Merge "Initial test setup and simple TabLayout test in design lib" into mnc-ub-dev am: 6f15897288
am: 4d810ce4e3

* commit '4d810ce4e33047ec8f602f10134e673c2ff70736':
Initial test setup and simple TabLayout test in design lib
e2f344dcf51e299fce191eee0712cd45a30cc931 22-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Second pass for TabLayout / ViewPager tests

Change-Id: I129248f0f3cdff9a37a05a592029f20874cf532c
ests/src/android/support/design/testutils/TabLayoutActions.java
ests/src/android/support/design/testutils/ViewPagerActions.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
394c4272d0e220cf7af236665eecaf99dfed25b1 21-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Initial test setup and simple TabLayout test in design lib

Change-Id: Iee550dc9f08e8b3449aa5c1749333efca224635f
ndroid.mk
uild.gradle
ests/AndroidManifest.xml
ests/res/layout/design_tabs_viewpager.xml
ests/res/values/ids.xml
ests/src/android/support/design/testutils/TabLayoutActions.java
ests/src/android/support/design/testutils/ViewPagerActions.java
ests/src/android/support/design/widget/BaseInstrumentationTestCase.java
ests/src/android/support/design/widget/BaseTestActivity.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerActivity.java
ests/src/android/support/design/widget/TabLayoutWithViewPagerTest.java
809f48ca81c790ed0419e70320b5d6d6b28f145b 29-Dec-2015 Chris Banes <chrisbanes@google.com> Use correct max width for NavigationView

BUG: 26027590
Change-Id: I6137d0397ed35186501b2a54be3583546c96779a
es/values-sw600dp/dimens.xml
es/values/dimens.xml
6a256c6b11d9a174bd77c3501b2c379721544f6f 17-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Rename BottomSheetListener to BottomSheetCallback" into mnc-ub-dev am: c24de94c68
am: 48616551ac

* commit '48616551ac03689de6a2f92f3df131137d357997':
Rename BottomSheetListener to BottomSheetCallback
4df3c15e330c2f9730d3aa712f57befec8536dff 16-Dec-2015 Yuichi Araki <yaraki@google.com> Rename BottomSheetListener to BottomSheetCallback

Bug: 26181788
Change-Id: I28f79120d65814e9cd92238f726b8ca51b4122cd
pi/current.txt
rc/android/support/design/widget/BottomSheetBehavior.java
rc/android/support/design/widget/BottomSheetDialog.java
7e1cd0b84ec4f183be9cc5025960724092f2cae4 16-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "BottomSheetDialog and BottomSheetDialogFragment" into mnc-ub-dev am: 623321eab7
am: 911b8ca625

* commit '911b8ca625d9be4f532837ebf8a4e144f339514c':
BottomSheetDialog and BottomSheetDialogFragment
623321eab762c7aca78f08251f89a4e833c914b7 16-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "BottomSheetDialog and BottomSheetDialogFragment" into mnc-ub-dev
67a01cd12b57cb8813116b3b76e3e476849c5d02 15-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Rename FAB elevation methods" into mnc-ub-dev am: e00394c1f1
am: c51508b44a

* commit 'c51508b44adf1c297ff7e7b82f21dfcbc3f543e0':
Rename FAB elevation methods
874a5968599b8c53212ff49af5c047b1211b547a 15-Dec-2015 Chris Banes <chrisbanes@google.com> resolve merge conflicts of fc349fd483 to master.

Change-Id: I94a731888f74c6b0e9d9af60fe752d2086cb0f77
1e220ff878c4b9c22aff3a6afc20aa89449c1833 15-Dec-2015 Chris Banes <chrisbanes@google.com> Rename FAB elevation methods

BUG: 26181792
Change-Id: I722f6c004a00f7f9fde05b90b969786bf1e65f99
pi/current.txt
rc/android/support/design/widget/FloatingActionButton.java
c6e687cb413fbf0c9c39ca2614b825b1fb2779aa 15-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Allow Toolbar's to be nested in CTL" into mnc-ub-dev
bf987613e4a9043e263346047494ba3e977ff0f8 09-Dec-2015 Yuichi Araki <yaraki@google.com> BottomSheetDialog and BottomSheetDialogFragment

These are referred to as "modal" bottom sheets in the Material Design
guideline.

BottomSheetDialogFragment can be used like DialogFragment, but it shows
the content using BottomSheetBehavior. BottomSheetDialog is an
implementation of Dialog styled to show a bottom sheet.

Bug: 23989269
Change-Id: I6aefb221539f18cef580f5fa8bc8c377198b359c
pi/current.txt
es-public/values/public_attrs.xml
es-public/values/public_strings.xml
es-public/values/public_styles.xml
es/anim-v21/design_bottom_sheet_slide_in.xml
es/anim-v21/design_bottom_sheet_slide_out.xml
es/anim/design_bottom_sheet_slide_in.xml
es/anim/design_bottom_sheet_slide_out.xml
es/layout/design_bottom_sheet_dialog.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/integers.xml
es/values/strings.xml
es/values/styles.xml
es/values/themes.xml
rc/android/support/design/widget/BottomSheetDialog.java
rc/android/support/design/widget/BottomSheetDialogFragment.java
59fe91f51a482a8f183c3c57f04f5b56c8f26989 14-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Fix transparent color" into mnc-ub-dev am: dec26e796a
am: a475e9ce9c

* commit 'a475e9ce9c330a5589b305d9d5e0eefae5f6240a':
Fix transparent color
795682dbbd48cff248dfa101c86d4d70359f497e 14-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Use colorControlActivated for an active item" into mnc-ub-dev am: 68c36ca06a
am: d2c57d085b

* commit 'd2c57d085bc699ddb6c1f5a25adfdbe274fd4060':
Use colorControlActivated for an active item
dec26e796a9917adcdda77deda811b0545e37a26 14-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Fix transparent color" into mnc-ub-dev
68c36ca06a766166e7614c1b771594322bd32f96 14-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Use colorControlActivated for an active item" into mnc-ub-dev
83836dc0bdaa2a0e9d33596ae48e0681710fc868 11-Dec-2015 Chris Banes <chrisbanes@google.com> Fix scrolling view overlapping AppBarLayout am: e04ed82f45
am: fcac85f0c6

* commit 'fcac85f0c65e3b7deabe34713bb555131bb6d3a4':
Fix scrolling view overlapping AppBarLayout
e04ed82f4562103baed27d81ff172418ab3ca41a 11-Dec-2015 Chris Banes <chrisbanes@google.com> Fix scrolling view overlapping AppBarLayout

Happens when the CoL has fitSystemWindows=true,
but the children don't. This means that simply using
the ABL's height isn't enough, and we need to use
its bottom instead. Which makes more sense anyway
since we're pinned to its bottom.

BUG: 26150580
Change-Id: If8907f784e45cc0815a9c3fb17255ca2c993011c
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
489be7987d92babb4197809b6b49a123ff7b5ef3 11-Dec-2015 Chris Banes <chrisbanes@google.com> Fix CoL doc bug am: c6d62e6d5c
am: 42d746a736

* commit '42d746a7363ddb4629135e8dd4c383802aea31fe':
Fix CoL doc bug
c6d62e6d5ca277d4649c686e76edd63176c7c4e3 11-Dec-2015 Chris Banes <chrisbanes@google.com> Fix CoL doc bug

BUG: 26127110
Change-Id: I4335a66f52d900b23e4b58cdaa029f4c906e140b
rc/android/support/design/widget/CoordinatorLayout.java
bf4dc598c43b8c9430e2356306a00d2173fb869d 10-Dec-2015 Yuichi Araki <yaraki@google.com> Fix transparent color

Bug: 26125673
Change-Id: I6caae98f64f5dc5e6487abbbe4f6a94e3d1a1565
rc/android/support/design/internal/NavigationMenuPresenter.java
3625a846d7bf9d93d40a870955c619702c922546 10-Dec-2015 Yuichi Araki <yaraki@google.com> Use colorControlActivated for an active item

Bug: 26145707
Change-Id: I1f1d34560e759e4e33f92e2fdf72aaeb163a24a0
rc/android/support/design/widget/NavigationView.java
311b4f74c6c69fcc9a7d653f813d63834d3d4110 10-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Revert "Tweak design proguard config"" into mnc-ub-dev am: 981309e1e7
am: 27ae5a70d1

* commit '27ae5a70d1c0dd5f8ebe53cd52729e9e4dd1ab20':
Revert "Tweak design proguard config"
d32a2387f62c4bfb7a5b52549956bc1c727affa9 10-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Fix NPE in setCustomView() before addTab()" into mnc-ub-dev am: cb1edc393e
am: 8cabaaec46

* commit '8cabaaec466113988b186f6c83be362a49b8110d':
Fix NPE in setCustomView() before addTab()
981309e1e7de30b97d12cb000a15a802e3339342 10-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Revert "Tweak design proguard config"" into mnc-ub-dev
a9074db32d260cdec781aa5d12e013fce124c815 10-Dec-2015 Chris Banes <chrisbanes@google.com> Revert "Tweak design proguard config"

This reverts commit aa3d85517e44cd89d6cf42b5bd4bdb07f4330ae2.

Change-Id: I2b714319fed3f5e517db8b15400df557e832c51e
roguard-rules.pro
4837e2d38e11a8e85a2718e4620f73d32dcde184 07-Dec-2015 Chris Banes <chrisbanes@google.com> Allow Toolbar's to be nested in CTL

Also documented the dummy view functionality.

BUG: 25680977
BUG: 25927941

Change-Id: I8af68d18b4d06cc44e2076b7ff456e80ecd0009a
es/values/attrs.xml
rc/android/support/design/widget/CollapsingToolbarLayout.java
cb1edc393e08f9554684fc8d409779007639cb9c 10-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Fix NPE in setCustomView() before addTab()" into mnc-ub-dev
188832c047354602ef050302b9a04439f5e7e41c 09-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Tweak design proguard config" into mnc-ub-dev am: e3b0d9e131
am: 66bee7ad8d

* commit '66bee7ad8d27042c6bf276feb746bcef290a408e':
Tweak design proguard config
e3b0d9e1319d458fc3bf8ea889c881e9505d7525 09-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Tweak design proguard config" into mnc-ub-dev
aa3d85517e44cd89d6cf42b5bd4bdb07f4330ae2 09-Dec-2015 Chris Banes <chrisbanes@google.com> Tweak design proguard config

Only keeps the Annotation we need, rather than all
annotations.

Change-Id: I5624d738224a1591947e321dd704ab07fd0f0d60
roguard-rules.pro
85c2483c9e04e185b328bcb16e21a6a26a1e27be 09-Dec-2015 Chris Banes <chrisbanes@google.com> Add 23.1.1 support library API files am: 8868c3d91a
am: 4b9aa834b8

* commit '4b9aa834b8cc5954335af50aff11a1df9ff12522':
Add 23.1.1 support library API files
8868c3d91a573248f3679e8da08b201ffcabf334 08-Dec-2015 Chris Banes <chrisbanes@google.com> Add 23.1.1 support library API files

Change-Id: Ibf7beecbb899b7480dec373a969afab751febb75
pi/23.1.1.txt
4d3d15fe0c07bfdb12c9f575f48a273f9955a6e1 08-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Don\'t update hint color when error is shown" into mnc-ub-dev am: 78714f9ddc
am: 8fbdbc71af

* commit '8fbdbc71af44387ffb51dd224e8e0ba1c0c943e2':
Don't update hint color when error is shown
b6c65667344b001113a92d5319846d9905bca52a 08-Dec-2015 Chris Banes <chrisbanes@google.com> Make Snackbar align text to start am: ae479519bd
am: e90b6234a0

* commit 'e90b6234a0027d4b5aa581f84dafbd6880a90513':
Make Snackbar align text to start
3a1aa2f92d0d07fac2364078b6c603a650ebbe0e 25-Nov-2015 Chris Banes <chrisbanes@google.com> Fix NPE in setCustomView() before addTab()

Fixed by moving the Tab's view creation to
within newTab(), ensuring that there is a View
and Context available for setCustomView().

Also fixed a memory leak due to our new view
pooling and a shared OnClickListener. Fixed by
moving our click handling to be within TabView.

BUG: 25855779

Change-Id: Iba104840933d88d7482fb758684286aa7922ea92
rc/android/support/design/widget/TabLayout.java
78714f9ddc8321546cda648bc7b7ed5eced8ca0f 07-Dec-2015 Chris Banes <chrisbanes@google.com> Merge "Don't update hint color when error is shown" into mnc-ub-dev
ae479519bd986c68e360003c4bb0fbe2cac92a85 07-Dec-2015 Chris Banes <chrisbanes@google.com> Make Snackbar align text to start

BUG: 26023830
Change-Id: Ic83491b1090455eccf9c36754358209f557692d6
es/layout/design_layout_snackbar_include.xml
7cf044ca36c51500cd1f81fc0a8713c887d4d827 06-Dec-2015 Chris Banes <chrisbanes@google.com> Don't update hint color when error is shown

BUG: 26020600
Change-Id: I4d9e8aa7284a4dcb62676605174fc4535b5b1172
rc/android/support/design/widget/TextInputLayout.java
69129b50a95ce5d4dea7cec80a6596e5fdfcd738 04-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Support for use outside of DrawerLayout" into mnc-ub-dev am: 573ba55e84
am: bf7e4c6ef6

* commit 'bf7e4c6ef66ee97e2d495b5d80b12c1ef4f82f36':
Support for use outside of DrawerLayout
3162aeefe11bc17699ca3f8f9e2eb1b475bae5c0 04-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Add hide feature to BottomSheetBehavior" into mnc-ub-dev am: 9a2aa38cb2
am: a58bff0a44

* commit 'a58bff0a44a425e9ae5156458aa30eb66572dd42':
Add hide feature to BottomSheetBehavior
573ba55e84fb3ea2d9c8ba82cdf1f62c9f4e0163 04-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Support for use outside of DrawerLayout" into mnc-ub-dev
9a2aa38cb250aa98a5137acd653546518f022ca7 04-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Add hide feature to BottomSheetBehavior" into mnc-ub-dev
dcebbc1143a1be00a09aa6aa5fb798487cb67d34 03-Dec-2015 Chris Banes <chrisbanes@google.com> Update FAB\'s tX even if it\'s not shown am: e33473d0e3
am: 84c1501ab5

* commit '84c1501ab5d85a8f499e8b1cba6f5176f1703bfd':
Update FAB's tX even if it's not shown
e33473d0e35315c02243363a7479a2c361765751 03-Dec-2015 Chris Banes <chrisbanes@google.com> Update FAB's tX even if it's not shown

Fixes the case where a FAB is hidden while
a Snackbar is displayed, and then shown after
the Snackbar has been removed.

BUG: 25887293
Change-Id: I9c705273e58a00941f0104e4377df4530b7b351e
rc/android/support/design/widget/FloatingActionButton.java
30d42dc19655e637644adc3846025027240bf0af 01-Dec-2015 Yuichi Araki <yaraki@google.com> Support for use outside of DrawerLayout

NavigationView can now be used outside of DrawerLayout.

Bug: 22727030
Change-Id: I94fb1094592b416da5d5fe6907ae35d1318cd391
es/layout/design_navigation_menu.xml
es/values-v21/dimens.xml
es/values/dimens.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/ScrimInsetsFrameLayout.java
rc/android/support/design/widget/NavigationView.java
f28a0f76c7a46d61785ef7cbc407c19942ecab46 06-Oct-2015 Yuichi Araki <yaraki@google.com> Add hide feature to BottomSheetBehavior

Bottom sheets can now be hidden by swiping it further downward. This
also adds BottomSheetListener so that the state of the bottom sheet can
be monitored.

Bug: 23989269
Change-Id: Iadaca8cfd342ad6521874c728c069b2abd297e23
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/BottomSheetBehavior.java
3f04083a4d5d62025500b4c3cdaa7eb22df33e5d 25-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Support animateLayoutChanges with ABL" into mnc-ub-dev am: 7af42d99bf
am: 9102ca3884

* commit '9102ca3884188d59fcbc3b4611cf667c7148686b':
Support animateLayoutChanges with ABL
c682e2c8129f6c2b6596b0ce4a8c4803629b432d 16-Nov-2015 Chris Banes <chrisbanes@google.com> Support animateLayoutChanges with ABL

Caused by LayoutTransition doing all of it's
calculating in layout. ABL then offsets the top
meaning that the animation is in the wrong position.
Fixed by laying out in the correct position in the
first place.

BUG: 25414177

Change-Id: I68a6478a950a7556107badade01c369a0e77f057
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
rc/android/support/design/widget/ViewOffsetBehavior.java
f6cdf83fe0bd923c6f022af62bdf8509764bf722 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Fix build.
am: c9ed7bac26

* commit 'c9ed7bac26bd935635e1f76292183833e4a02afa':
Fix build.
085f30f971b173fe61d0051f0cdfd99204e6ac0d 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Merge "Revert "Fix build.""
aa6614b33c529b5eee189c0c61e22a795f278553 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Revert "Fix build."

Landing a proper fix instead: https://googleplex-android-review.git.corp.google.com/#/c/818427/2
This reverts commit 35e628bed4884c70e63d3d963812999090539000.

Change-Id: I308e1b842942bdb10c33db138a66680efa814ca2
rc/android/support/design/widget/TextInputLayout.java
c9ed7bac26bd935635e1f76292183833e4a02afa 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Fix build.

Bug: 22868762

Change-Id: I851e17f04b5abc6a42f8d80abe1c222bae775396
pi/current.txt
88626418f023a5239a3d6a22f38d24fefe0c32bc 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Merge "Remove unused private method in TextInputLayout." into mnc-ub-dev
am: e880f08818

* commit 'e880f0881830661ad651452661800f0a10da4795':
Remove unused private method in TextInputLayout.
e880f0881830661ad651452661800f0a10da4795 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Merge "Remove unused private method in TextInputLayout." into mnc-ub-dev
35e628bed4884c70e63d3d963812999090539000 21-Nov-2015 Rakesh Iyer <rni@google.com> Fix build.

Change-Id: I851e17f04b5abc6a42f8d80abe1c222bae775396
rc/android/support/design/widget/TextInputLayout.java
87ca85917a1cf62af4bf66acff58bc185a7efd5f 21-Nov-2015 Aurimas Liutikas <aurimas@google.com> Remove unused private method in TextInputLayout.

Bug: None
Change-Id: I1113fdf8b7c4419f969d763f5dd20b096af5c938
rc/android/support/design/widget/TextInputLayout.java
9c4f6f75ddfefb1f739834172dea5f16b162b6a2 19-Nov-2015 Aurimas Liutikas <aurimas@google.com> Start saving TextInputLayout error state.

Bug: 22868762
Change-Id: Iaa139f685332ddf32ffe6adb2b5eb2ac1336888a
rc/android/support/design/widget/TextInputLayout.java
bf7f85aebe2b1d2c4adb0039493c467baccf9e15 19-Nov-2015 Aurimas Liutikas <aurimas@google.com> Start saving TextInputLayout error state.

Bug: 22868762
Change-Id: Iaa139f685332ddf32ffe6adb2b5eb2ac1336888a
rc/android/support/design/widget/TextInputLayout.java
85f9fd6866aa5503d7919e709b4230ef13a7ff61 20-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Refactor the error state" into mnc-ub-dev
am: ae72ad4680

* commit 'ae72ad46806851173c83faf1d053d508b84a6370':
Refactor the error state
a8371f1c37333ef4c09c654d664026bdd9139045 20-Nov-2015 Chris Banes <chrisbanes@google.com> Refactor the error state

Currently calling getError() will return whatever
is in the TextView, even if it is animating out,
which doesn't quite match developer expectation.

This CL updates the state so that it always returns
whatever the last call to setError() was.

BUG: 25781427
Change-Id: I359c271f31a7c3f26ed71b673f9797ce9d769e2e
rc/android/support/design/widget/TextInputLayout.java
a454cd7eeb61bf0584823aaa626cb091a5bac32e 20-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Don\'t animate TIL error if we\'ve been given the same error" into mnc-ub-dev am: 23746a567d
am: ba8b9946e9

* commit 'ba8b9946e9f9973575adae7e8eb601ccbce5850d':
Don't animate TIL error if we've been given the same error
e2832f4ffd0a63f15a6976c5d798aa2973cc93b8 20-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure we keep Annotations in design\'s proguard" into mnc-ub-dev am: fe8757b995
am: a3eb13b2fd

* commit 'a3eb13b2fdacd22cb8bc5cc27aee8cec0a802304':
Make sure we keep Annotations in design's proguard
e6e38bf971ff4bc457695e68b32d0e24a143cffa 20-Nov-2015 Yuichi Araki <yaraki@google.com> Fix a constructor of ForegroundLinearLayout am: 36459054e2
am: 86436eb6bf

* commit '86436eb6bf59e98b37cafc7696cd90d7ad55c69b':
Fix a constructor of ForegroundLinearLayout
23746a567d194a64bd91ef04fb31609c13b105d9 19-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Don't animate TIL error if we've been given the same error" into mnc-ub-dev
9ad8054d7552b6061f4d5b6bb5c1c639cc87bdd7 19-Nov-2015 Chris Banes <chrisbanes@google.com> Don't animate TIL error if we've been given the same error

BUG: 25781224
Change-Id: I6b507dd0ec993280cfc7aa19741cc51129f13acd
rc/android/support/design/widget/TextInputLayout.java
fe8757b9957264c4bfde40a2067252e9a33e2ada 18-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure we keep Annotations in design's proguard" into mnc-ub-dev
ed517aef171d2b5327b45f9b74ccf616d56ad40a 18-Nov-2015 Chris Banes <chrisbanes@google.com> Make sure we keep Annotations in design's proguard

BUG: 24861467

Change-Id: I8ea08f16d3f2422c3b61fab93357806864b2d23e
roguard-rules.pro
36459054e2064f283ae1f80b8d315e1428ba61de 18-Nov-2015 Yuichi Araki <yaraki@google.com> Fix a constructor of ForegroundLinearLayout

This view is not externally visible, and this constructor is not
currently used, but it is better to get it right.

Change-Id: Ia06a021286f34a25f8af1b7dc667e3078f1f06a4
rc/android/support/design/internal/ForegroundLinearLayout.java
e53cf2d43709ec60f59460d8860188c671e642da 17-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "AppBarLayout fixes" into mnc-ub-dev
am: 70500b1abd

* commit '70500b1abd50112e8380e4f330b6103b34486894':
AppBarLayout fixes
47543aa43aacb8defbbf90682fcb2b63ce1b00b5 16-Nov-2015 Chris Banes <chrisbanes@google.com> AppBarLayout fixes

- Make sure we honor snap after a manual drag
(rather than a nested scroll).
- Support exitUntilCollapsed|enterAlways correctly
- Ensure the offset is constrained on size change

BUG: 25707376
BUG: 25680933
BUG: 25681811

Change-Id: Idfa3ed32e42890725e4ee59236fa84a705d433d4
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/HeaderBehavior.java
dce94a73f4492051683faa1416d7dd78c636af99 15-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure that the indicator area is set to GONE" into mnc-ub-dev
am: 2d8ab49700

* commit '2d8ab49700e81b075f7e1a421aad9f2380549675':
Ensure that the indicator area is set to GONE
2d8ab49700e81b075f7e1a421aad9f2380549675 15-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure that the indicator area is set to GONE" into mnc-ub-dev
669b23b4f7f8ccea07719d6556c745c38f955f78 13-Nov-2015 Chris Banes <chrisbanes@google.com> Ensure that the indicator area is set to GONE

We're currently checking for 0 children, which
will never happen since we're using an internal
Space widget which is never removed. This means
the indicator view is still there, with its
associated padding.

BUG: 25680579
Change-Id: Ie41929ad9f67fdf84ed06a47437650611b08cbd1
rc/android/support/design/widget/TextInputLayout.java
04c7dd6e5f6b811d50d25ac12314a660eca48d46 12-Nov-2015 Chris Banes <chrisbanes@google.com> Fix wiping out a view\'s translationY am: 1888ec357f
am: d695f8043a

* commit 'd695f8043a5c93f586b69601310368fff3c795d5':
Fix wiping out a view's translationY
1888ec357f25aa2b9e9a0d139ab40371da5858a6 12-Nov-2015 Chris Banes <chrisbanes@google.com> Fix wiping out a view's translationY

BUG: 25654805
Change-Id: Ib227a2cf8658e39b35f7195fbdfd9d0254d160ad
rc/android/support/design/widget/ViewOffsetHelper.java
962f72d4691edb762f658a92fb971bc559ba18e6 11-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Workaround TextInputLayout state changes becoming permanent" into mnc-ub-dev am: 459155dd30
am: 810efa6b4f

* commit '810efa6b4ffc687db1cfe717f690afe0612920d1':
Workaround TextInputLayout state changes becoming permanent
459155dd30e6fde2e98d5590454d5f0a0ccef3e0 11-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Workaround TextInputLayout state changes becoming permanent" into mnc-ub-dev
371b91f5d62dd4ef6d65f60d2661f680b07402f8 11-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Add dynamic tab support to TabLayout" into mnc-ub-dev am: d1639084df
am: e85a49ff5a

* commit 'e85a49ff5a58d26b90a8060046c3a86607d80bc5':
Add dynamic tab support to TabLayout
d1639084dff2180f39f75deaf9faec34ae6541fe 11-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Add dynamic tab support to TabLayout" into mnc-ub-dev
a48c9861216d92fc353507fad974de1e5dfcf762 09-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Fix crash in CTL on pre-v18 devices with no title" into mnc-ub-dev am: df83d90f2a
am: d8599b955d

* commit 'd8599b955de3cbb843b8a8080e35a577174164e0':
Fix crash in CTL on pre-v18 devices with no title
df83d90f2aed3e0b39193b5ea25014cea1d8c19e 09-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Fix crash in CTL on pre-v18 devices with no title" into mnc-ub-dev
ea0020c36daad1ea3f247ef07723927dead46939 06-Nov-2015 Chris Banes <chrisbanes@google.com> Fix doc build am: 2b1d1d93a9
am: c9fb40d6a4

* commit 'c9fb40d6a45f9aee03dcef1a4933ec2726d125b1':
Fix doc build
2b1d1d93a93070601d3894f523d6421c64544246 06-Nov-2015 Chris Banes <chrisbanes@google.com> Fix doc build

Change-Id: Id6826ffb3e0fd68d7bbe536dfde8868856fdd308
rc/android/support/design/widget/FloatingActionButton.java
6fa3c92dcaf584ac56bff4c0b52b7b1ac379592e 06-Nov-2015 Chris Banes <chrisbanes@google.com> Fix crash in CTL on pre-v18 devices with no title

BUG: 25543889
Change-Id: Iae8e3e6a354273dd2628d63bdc96d147bd31ec98
rc/android/support/design/widget/CollapsingTextHelper.java
38cc44cffde90f6fe689b0df6b82f49481a981f7 03-Nov-2015 Chris Banes <chrisbanes@google.com> Add dynamic tab support to TabLayout

TabLayout will now automatically invalidate
and re-populate itself when the linked PagerAdapter
has it's data set changed.

Two objects Pools are used to minimize churn when the
adapter is updated.

A small change had to be made to ViewPager + PagerAdapter's
observing functionality. Observable will always dispatch
changed events in reverse added order, which means that
ViewPager is the last to know. This means that any later
added Observer can't update the ViewPager (since it
doesn't know about the data set change yet). This is fixed
by moving ViewPager's observer out of the Observable and
always calling it first.

BUG: 20908355

Change-Id: I631620ff186047ae57e928db78f5ca77a0b80306
pi/current.txt
rc/android/support/design/widget/TabLayout.java
7d1cf521d4f62da85bc6abc59ec116b41f86ba53 06-Nov-2015 Chris Banes <chrisbanes@google.com> Add compat padding to FloatingActionButton ala CardView am: 6d7a9a0276
am: eb06ff6cee

* commit 'eb06ff6cee70f60989ef4aa8f41b72b5a47be62d':
Add compat padding to FloatingActionButton ala CardView
fe1cbed21122206b7a4af97790ade439d49421d8 02-Nov-2015 Chris Banes <chrisbanes@google.com> Workaround TextInputLayout state changes becoming permanent

Also moved the 'tinting' functionality to use color filter.
This seems to work much better on L+ because we're not
wiping out the internal tint, just overriding it with
the filter.

BUG: 25413545

Change-Id: I1d74a8ff817b0b20fcca6d3a1dd2ab2c60539cd1
rc/android/support/design/widget/DrawableUtils.java
rc/android/support/design/widget/TextInputLayout.java
6d7a9a02765e4cb497081e66dafb5d9fa76f4312 19-Oct-2015 Chris Banes <chrisbanes@google.com> Add compat padding to FloatingActionButton ala CardView

Defaults to disabled, but when enabled, FloatingActionButton
will have the same metrics on both Lollipop+, and older
platforms where the compat shadow is used.

BUG: 25274672

Change-Id: Ide28651124ab31472c588e7d65a32999ec674445
pi/current.txt
ase/android/support/design/widget/FloatingActionButtonImpl.java
ase/android/support/design/widget/ShadowViewDelegate.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
es/values/attrs.xml
rc/android/support/design/widget/FloatingActionButton.java
8c32bb6c5e95cb6bf4ccd98c7872ea7b87f805e3 06-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Add setHintEnabled to TextInputLayout" into mnc-ub-dev am: f6b1b744cf
am: 9e5374f5c6

* commit '9e5374f5c6f1761f0b52f5031d9ebdd89ebc53db':
Add setHintEnabled to TextInputLayout
f6b1b744cfa13f1df45fcda94dd104264d4d6dde 06-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Add setHintEnabled to TextInputLayout" into mnc-ub-dev
ec6958fca1fe6369b0694ef862e33e79eb04413c 04-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Add getter for FAB content background" into mnc-ub-dev am: e678582981
am: 5a5172a97f

* commit '5a5172a97f69fac40fd3c0fd224de6950c233c52':
Add getter for FAB content background
3d81c900316412b4130bf40e0dd8b0d3d3a93e78 04-Nov-2015 Chris Banes <chrisbanes@google.com> Add getter for FAB content background

BUG: 25450451
Change-Id: I513e5fe2f9e0fb7013f03f6d1f8edd957d5ab8dd
pi/current.txt
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
rc/android/support/design/widget/FloatingActionButton.java
5829654ae299811962991dcafdd75bbbd37d0bb0 03-Nov-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Tab indicator animation glitch" into mnc-ub-dev am: 00e31b4549
am: 691750cc2e

* commit '691750cc2e2d01d7612297f1d6dc94d5361646b1':
Fix Tab indicator animation glitch
380cfd776b247427779d26958249d5da85e6a59b 28-Oct-2015 Chris Banes <chrisbanes@google.com> Add setHintEnabled to TextInputLayout

BUG: 24800082

Change-Id: Idc8713a8e4516a8d93a08f151d9efbd083f29bc9
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/TextInputLayout.java
3fbbd54cd1abc2a5471437949f907f2ecf99e946 02-Nov-2015 Chris Banes <chrisbanes@google.com> Fix Tab indicator animation glitch

Caused by a small timing issue where the ViewPager
is travelling over a large amount of items, therefore
the animation duration is longer then TabLayout's.

Fixed by tightening up TabLayout's handling of ViewPager's
states.

BUG: 25414410
Change-Id: I8192085ea33164983796b84f8c02c8a1e78f9690
rc/android/support/design/widget/TabLayout.java
f09e04b6f9e764921375dd08ecf941f9d3319ad9 29-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Tabs not filling correctly in FIXED mode" into mnc-ub-dev am: e532c5a043
am: fad462e034

* commit 'fad462e0348351ffa13413208cdc4dba0d7c8343':
Fix Tabs not filling correctly in FIXED mode
e532c5a043f4b5f3530e4427c300244adcf7e2fd 29-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Tabs not filling correctly in FIXED mode" into mnc-ub-dev
4172f25e47c484612b50143da44878003db238d1 27-Oct-2015 Chris Banes <chrisbanes@google.com> Fix Tabs not filling correctly in FIXED mode

Caused by using the wrong measure spec mode.

BUG: 25296491
Change-Id: I0cc508feb159abe1659072f27d3b4f53565f68b9
rc/android/support/design/widget/TabLayout.java
e4c7edb212d8c98924971e555ce5162e8947e8c2 27-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add getContentRect() API to FloatingActionButton" into mnc-ub-dev am: c17e2d21b9
am: ec79e7b839

* commit 'ec79e7b83925b523e2b808acee21d49685562db3':
Add getContentRect() API to FloatingActionButton
d9cbe69a6661315238d856abc22578d03666f63b 26-Oct-2015 Chris Banes <chrisbanes@google.com> Add getContentRect() API to FloatingActionButton

BUG: 25250136
Change-Id: I6bb69346853e3b08140622b6f50c265295314051
pi/current.txt
es/values/dimens.xml
rc/android/support/design/widget/FloatingActionButton.java
e9bcba2efeaa19e73a8549f104360ef29d3488c2 27-Oct-2015 Chris Banes <chrisbanes@google.com> Fix build am: 62aa0b277c
am: 7ba6475bf9

* commit '7ba6475bf943c90f2086a7db6a20929c9dbf37bb':
Fix build
84921ceb7940a7ce40affb58f22b4a11b35a3e60 27-Oct-2015 Chris Banes <chrisbanes@google.com> Fix crash in FAB background tint am: 9d42ab847a
am: 3b28559aa3

* commit '3b28559aa396a40992b1c9e7e1e8af215340cd05':
Fix crash in FAB background tint
62aa0b277c083d311a474e40c4b461167edd9c78 27-Oct-2015 Chris Banes <chrisbanes@google.com> Fix build

BUG: 25302006

Change-Id: Ida51797affe65ce2597c03f8e4688ca31b8aff09
pi/current.txt
9d42ab847a9187fe54c53553a0593fad0aea9263 27-Oct-2015 Chris Banes <chrisbanes@google.com> Fix crash in FAB background tint

Caused by moving the base class to AppCompatImageButton.
That class's functionality interferes with FAB.

BUG: 25302006
Change-Id: I283508caa8ddf5664a5b15209cfff06c464ec187
ase/android/support/design/widget/VisibilityAwareImageButton.java
85124975351edf106f8c9320af338ca14e28e192 27-Oct-2015 Chris Banes <chrisbanes@google.com> resolve merge conflicts of fcd014d478 to master.

Change-Id: I58e8f555a0fa0374b11705417f8f325eb1b245a4
66698bb15ba0f873aa1c2290cc50d6bb839a474a 26-Oct-2015 Chris Banes <chrisbanes@google.com> Flatten AppCompat class hierarchy

This allows us to do two things:

1) Move away from using public @hidden classes
everywhere.
2) Workaround silly OEM bugs.

BUG: 18218511

Change-Id: I7582e242c7564c32feeb044fc9eff6bfb5c56536
rc/android/support/design/internal/NavigationMenu.java
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
rc/android/support/design/internal/NavigationSubMenu.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
ae8119e4d4d6afe1ec07819715f31c0a57a71e4a 26-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fixes for TextInputLayout" into mnc-ub-dev am: 5db2eb25a6
am: 1111ad31e6

* commit '1111ad31e6cefffd8a14d7fa4724a14d47112a92':
Fixes for TextInputLayout
5db2eb25a6941b50f95bc4e90c626e969226473a 26-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fixes for TextInputLayout" into mnc-ub-dev
4452ce91a49bbf820282a90601becfe61d64fcfb 21-Oct-2015 Chris Banes <chrisbanes@google.com> Fixes for TextInputLayout

- Ensure that the error is shown after a call to
setErrorEnabled(false)
- Make sure that the counter is on the right/end
- Make sure that the hint text color is updated
when the counter max is reached or error is shown
- Fix default counter text color + string

BUG: 25105208
BUG: 25134183

Change-Id: Ib51950f3df80de3a333e1d5acc87f0e58652a43e
es/values/strings.xml
es/values/styles.xml
rc/android/support/design/widget/TextInputLayout.java
e93b67d84d6390d9ed1e718ec65f1d05f1a00c0a 23-Oct-2015 Yuichi Araki <yaraki@google.com> Merge "Add isCounterEnabled to TextInputLayout" into mnc-ub-dev am: f521aa09cc
am: cbcc10866a

* commit 'cbcc10866a22e70d6ea4f6b46fa1fb0bd1badd77':
Add isCounterEnabled to TextInputLayout
f521aa09cc474e823cfdb2113e723c33c5595ad0 23-Oct-2015 Yuichi Araki <yaraki@google.com> Merge "Add isCounterEnabled to TextInputLayout" into mnc-ub-dev
e56ec96cc2ef5e1c26f8cd49e6ffdc48ea20ce7c 22-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar + FloatingActionButton showing simultaneously" into mnc-ub-dev am: 2e659d2367
am: 437ddfb2fb

* commit '437ddfb2fb32992b157ebd4a88725d78a7a23654':
Fix Snackbar + FloatingActionButton showing simultaneously
2e659d2367fc800cad5075c380d13df65ff36254 22-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar + FloatingActionButton showing simultaneously" into mnc-ub-dev
34d85782e2d10e229919e2a73fe838c84d776551 22-Oct-2015 Yuichi Araki <yaraki@google.com> Propagate changes on sub menu items am: 21690cc69e
am: 03d85e077e

* commit '03d85e077e0fdf89678302d40dff870ac963e1c5':
Propagate changes on sub menu items
e948c13b87d93495ffe88f2ac36a820bf1bcb256 22-Oct-2015 Yuichi Araki <yaraki@google.com> Add isCounterEnabled to TextInputLayout

Bug: 25173829
Change-Id: I9e7e358b0bf8220ab9cfe7d818c192a14db7e082
pi/current.txt
rc/android/support/design/widget/TextInputLayout.java
21690cc69e3978e9125c1e401eb2bf319de282c4 22-Oct-2015 Yuichi Araki <yaraki@google.com> Propagate changes on sub menu items

Bug: 25173031
Change-Id: I4d373d5f72015486bbe00a0abd02dc335507b341
rc/android/support/design/internal/NavigationSubMenu.java
cb1dff548d640cc7414fd41e9bf0c8302d5e001e 22-Oct-2015 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout.setCollapsedTitleGravity() am: cd7313d4cd
am: 75eb50cfbb

* commit '75eb50cfbbbc70f9ca9c860db7ae515c9c140cd5':
Fix CollapsingToolbarLayout.setCollapsedTitleGravity()
cd7313d4cdb81d0abaf9dc7aefc6ebadea899ab5 22-Oct-2015 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout.setCollapsedTitleGravity()

BUG: 25172783
Change-Id: Ib95050bc1647598bfd4961207bb2a5e30161c37f
rc/android/support/design/widget/CollapsingToolbarLayout.java
09beea53a52130f13d90cca02c2e16290dde7f14 22-Oct-2015 Yuichi Araki <yaraki@google.com> Merge "Fix proguard error of NavigationView" into mnc-ub-dev am: e01e2e8998
am: 27b7bd566a

* commit '27b7bd566ab4ece580edf3dca02c34e933888b47':
Fix proguard error of NavigationView
a419ee1ef9aef8b567f1ccd8c29d01ec7bff4cc9 21-Oct-2015 Chris Banes <chrisbanes@google.com> Fix Snackbar + FloatingActionButton showing simultaneously

Caused by both things triggering an ViewPropertyAnimator
on the FloatingActionButton. The CLs fixes it by
moving one of them to use a seperate ValueAnimator.

BUG: 25138785
Change-Id: Ia4e3f8f2e6d0d2da3e35cb82297220a6c71fabef
rc/android/support/design/widget/FloatingActionButton.java
3b2f56ed53c4c63d7179db814c11a0960ff7ab09 22-Oct-2015 Yuichi Araki <yaraki@google.com> Fix proguard error of NavigationView

Also remove layout attributes no longer useful with RecyclerView.

Bug: 25171286
Change-Id: Ic965dcfb885c37cc4e960ca8bcc79fcf5a243c77
es/layout/design_navigation_menu.xml
rc/android/support/design/internal/NavigationMenuView.java
a8bdd9bcf04d98c85f69b642f1f939b5a0b18bd2 21-Oct-2015 Yuichi Araki <yaraki@google.com> Fix control with dpad for NavigationView am: 23ef6d92a0
am: b3b6254d9d

* commit 'b3b6254d9d7c74734f5790368c4ff9913eda6829':
Fix control with dpad for NavigationView
23ef6d92a03cb113f974a01f02ca61904d1becad 21-Oct-2015 Yuichi Araki <yaraki@google.com> Fix control with dpad for NavigationView

Bug: 25102735
Change-Id: Icea27044241ed5e6f444e82f924159da4c7f8bbe
es/layout/design_navigation_item.xml
b4ae176110a0c68f26c6f250317f9ba746da1929 21-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure we inflate custom Tab views correctly" into mnc-ub-dev am: 10fa4c8905
am: df3cff4899

* commit 'df3cff4899fd889650323685d1f75aee240333a4':
Make sure we inflate custom Tab views correctly
10fa4c890572823a050834deddf72a4363f7ca47 21-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure we inflate custom Tab views correctly" into mnc-ub-dev
b8459a8c30dbaf3c8b82eb3b5d5eaed5526daded 20-Oct-2015 Chris Banes <chrisbanes@google.com> Make sure we inflate custom Tab views correctly

We were previously not inflating against the parent
view, resulting in the layout's LayoutParams being
dropped.

BUG: 25103360
Change-Id: Ieae0b254399ce26183ccce856030c4e9d301e7ed
rc/android/support/design/widget/TabLayout.java
59524958be863e7405a23322ab15c7dee31410a9 21-Oct-2015 Yuichi Araki <yaraki@google.com> Merge "Add a way to get header views from NavigationView" into mnc-ub-dev am: 6abcfc67ea
am: f0c199c79e

* commit 'f0c199c79e699203e0b4d305bd43faea0b68934b':
Add a way to get header views from NavigationView
cdccc4c6d5f1e40610ce4df4afeb1f99cbdb63e8 21-Oct-2015 Yuichi Araki <yaraki@google.com> Add a way to get header views from NavigationView

Bug: 25129671
Change-Id: Ie7170fd038f8c7e01b1ef6dadef7dca11f03fe8e
pi/current.txt
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
e873d37c6195448497fd3aaf1a88100f03866d0b 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Make AppBarLayout\'s snap behavior honor collapsing" into mnc-ub-dev am: f501c8462b
am: ecae0885a6

* commit 'ecae0885a6271fbfd06d88d413cf040e93559baa':
Make AppBarLayout's snap behavior honor collapsing
ca36356115db162e0cbf145c774fc9e22b24c53d 20-Oct-2015 Chris Banes <chrisbanes@google.com> Respect a FloatingActionButton\'s visibility when anchored am: fc780bab91
am: fc3aa3564a

* commit 'fc3aa3564a14be1e730840d9efaa284d50881f8a':
Respect a FloatingActionButton's visibility when anchored
905a69d74072bec5916afb51f1571288188bad3a 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar dismisal generating two callbacks" into mnc-ub-dev am: f39b7e593c
am: 28c10e8f9b

* commit '28c10e8f9b80424f148dd43e2ebea4182f780300':
Fix Snackbar dismisal generating two callbacks
861378f014dd8701d01703ab734f4716ece6bd86 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Don\'t let a View anchor itself to it\'s parent CoordinatorLayout" into mnc-ub-dev am: ebf2d44b5e
am: fad122aa2b

* commit 'fad122aa2bff2bea654369a12523a2b1119b0349':
Don't let a View anchor itself to it's parent CoordinatorLayout
6b2dec972c8e40773bdfa4dee4b038d94852962e 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix multi source folder API checking" into mnc-ub-dev am: 4daf2f0ac0
am: 89d70ae8d8

* commit '89d70ae8d8e1238d0bb575be8391752f3c98fb77':
Fix multi source folder API checking
9a46d7ba426a465715b09e87fdd2f315b2822537 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix invisible FloatingActionButton pre-ICS" into mnc-ub-dev am: df852a68b1
am: 6ba8595153

* commit '6ba859515380ab25df28c08870351afb5e26cbcc':
Fix invisible FloatingActionButton pre-ICS
f501c8462bd4d5c16e677c8c88b7e7da147bd766 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Make AppBarLayout's snap behavior honor collapsing" into mnc-ub-dev
dcde7bf0c79a12f30d3853a82f4fbf54ce5161c8 19-Oct-2015 Chris Banes <chrisbanes@google.com> Make AppBarLayout's snap behavior honor collapsing

Also made the animate use a speed-based duration
for the animation.

BUG: 25070159
Change-Id: Ib0d83cddf596f8a8974feba71dd96b52bec92238
rc/android/support/design/widget/AppBarLayout.java
fc780bab91bd4275ae2c3b75c3dfb327e008e4db 15-Oct-2015 Chris Banes <chrisbanes@google.com> Respect a FloatingActionButton's visibility when anchored

Currently when a FAB is anchored to an AppBarLayout, it
controls the FAB's visibility (for the automatic seam
functionality). This meant that any user defined visibility
was ignored since we had no way of distinguishing what was
user defined or not.

This CL fixes that by recording what the user defined visibility
is, and only updates the FAB's visibility from the ABL if the user
has set it to be visible.

BUG: 24973851

Change-Id: Iee9e95a6eac551934844fbfdbd9ca8fe68bcb28b
pi/current.txt
ase/android/support/design/widget/FloatingActionButtonImpl.java
ase/android/support/design/widget/VisibilityAwareImageButton.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
cs/android/support/design/widget/FloatingActionButtonIcs.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
rc/android/support/design/widget/FloatingActionButton.java
f39b7e593c40d54e4d8e7688ee315467157d086b 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar dismisal generating two callbacks" into mnc-ub-dev
ebf2d44b5ef136271b6e17d91df7f8ac36a8f453 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Don't let a View anchor itself to it's parent CoordinatorLayout" into mnc-ub-dev
4daf2f0ac0fbc992c384a39cef2b05f159420710 20-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix multi source folder API checking" into mnc-ub-dev
eeea73a484fe384e6a8059e45db369cea7c247f6 19-Oct-2015 Chris Banes <chrisbanes@google.com> Fix Snackbar dismisal generating two callbacks

Caused by a call ordering issue when the
SnackbarLayout is removed from it's parent.

BUG: 25072545
Change-Id: I0c264f570e8a010574aa0fe7690bd58c51967f5e
rc/android/support/design/widget/Snackbar.java
375995f4dc8aecb335bb262190d2cd39fdb136d6 19-Oct-2015 Chris Banes <chrisbanes@google.com> Don't let a View anchor itself to it's parent CoordinatorLayout

CoordinatorLayout isn't design to handle it, and
there's no point in doing it anyway (since any
children are already in the CoL's view coordinates.

Change-Id: I5cb682b47f7b0bc3c08b92f0de86459cac357998
rc/android/support/design/widget/CoordinatorLayout.java
95ad49b720f4990d39d05f7e46a5c7bc83afc9d6 19-Oct-2015 Chris Banes <chrisbanes@google.com> Fix multi source folder API checking

For libraries which have seperate source folders
per API level, the API generation doesn't currently
work correctly. When generating the stubs, we need to
input all source files, not just the final module.

This has uncovered some file in support-v4 which should
not be public API.

BUG: 20822048

Change-Id: I6216b9688e745db212959a07fcdc21bdd0aa5ab2
ndroid.mk
893cdffb7a013529dd9fde8dcb74b8df1d1fe9f6 19-Oct-2015 Chris Banes <chrisbanes@google.com> am 5a3a72a9: am 9ec922c2: Fix FAB using ICS APIs on Honeycomb

* commit '5a3a72a99b5d87b3f4d4530ca8d2b0d108eee719':
Fix FAB using ICS APIs on Honeycomb
b90504c55ff806e9e91a509d002e499dbc2a6c10 19-Oct-2015 Chris Banes <chrisbanes@google.com> am ecf69e45: am 5409a152: Merge "Fix FloatingActionButton show() animation" into mnc-ub-dev

* commit 'ecf69e458802257e634b5265c2230a05739cbf02':
Fix FloatingActionButton show() animation
c0d908fa15305aa1efe58738c74d54933772186c 19-Oct-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for d687245e to master

Change-Id: I245e42a399585bd1788db6ba09486ef1c1a6b691
9d6eb9beafef317f0f1bc5596ab47114c161f41a 19-Oct-2015 Chris Banes <chrisbanes@google.com> am e274607c: am cae51694: Merge "Ensure that SwipeDismissBehavior affects the correct view" into mnc-ub-dev

* commit 'e274607cdee3deb8f2f15a6bbdaf6051dd6fa6bc':
Ensure that SwipeDismissBehavior affects the correct view
097e80a3c5518c6bf2e9f3f9b55ed9f4b5cc37e8 16-Oct-2015 Chris Banes <chrisbanes@google.com> Fix invisible FloatingActionButton pre-ICS

The mutate workaround doesn't work all of the time.
This CL fixes it by always creating our own
GradientDrawable for the background

BUG: 23373046

Change-Id: I4b478a23b89d6721ebead62c5bb67505a5737611
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
es/values/attrs.xml
rc/android/support/design/widget/FloatingActionButton.java
9ec922c215ed95a4bbd8bd7940e81dcfe6926893 19-Oct-2015 Chris Banes <chrisbanes@google.com> Fix FAB using ICS APIs on Honeycomb

Change-Id: I185c1a44bba205834345a8aa32158ece7855f223
ndroid.mk
uild.gradle
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
cs/android/support/design/widget/FloatingActionButtonIcs.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
rc/android/support/design/widget/FloatingActionButton.java
5409a1527f6882801255c5c6ff86e0e1039ea4e6 19-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix FloatingActionButton show() animation" into mnc-ub-dev
2ca24fee9fd3cdba544eb5d55b2b0e37377034fa 19-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add accessor methods for Toolbar title margins"
d9d77f45d593a7056d7e29ca39a6ed6ece6d491f 19-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add getters/setters for CollapsingToolbarLayout title margins" into mnc-ub-dev
cae51694390de12207c0b3104c524cbbbd387052 19-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure that SwipeDismissBehavior affects the correct view" into mnc-ub-dev
371a3b29ae50c2fb66e12e7888ee96221c0e68e2 16-Oct-2015 Chris Banes <chrisbanes@google.com> am 1e777e0d: am d08f5716: Merge "Fix Tab width with using icon + centered tabs" into mnc-ub-dev

* commit '1e777e0d0462762c83c89bf58bda2c777aaddc23':
Fix Tab width with using icon + centered tabs
f5fbe0a00d33b2fd1239b00fa4e690b9b4884c44 16-Oct-2015 Chris Banes <chrisbanes@google.com> am d86d82fc: am dce72ecc: Merge "Add @attr links to TextInputLayout" into mnc-ub-dev

* commit 'd86d82fc05cbb3ade2fa77e2640fe2c64ef5cb61':
Add @attr links to TextInputLayout
89585c84126bbcaf9f8b67ad58d231496e0a3020 16-Oct-2015 Chris Banes <chrisbanes@google.com> am 6fcae31d: am b6897193: Merge "Make sure that FAB\'s border respects tint updates" into mnc-ub-dev

* commit '6fcae31d4ac752e5d81faa0d24d639eadaffe034':
Make sure that FAB's border respects tint updates
76fc679eb0d8f1d92ade726550f59a7781de42a0 16-Oct-2015 Yuichi Araki <yaraki@google.com> am 121c9e90: am 4e9e5d59: Merge "Initial implementation of BottomSheet" into mnc-ub-dev

* commit '121c9e90d5c41a74341a77d18c94f810b73e43f7':
Initial implementation of BottomSheet
d08f5716b42c5c409ea9774066f8321cdf345200 16-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Tab width with using icon + centered tabs" into mnc-ub-dev
cdf5fd0194b094c36cfe2a1fcac80648952714e6 16-Oct-2015 Chris Banes <chrisbanes@google.com> Fix Tab width with using icon + centered tabs

BUG: 25001848
Change-Id: Ia8d4b508b8f7c36d99434292a941734df49f46c5
es/layout/design_layout_tab_text.xml
fd7a95b00a2b856b30f557d72c2286b0b846c82c 16-Oct-2015 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton show() animation

If show() is called while the hide() animation is
currently happening then the show() call is ignored.
This CL fixes that by making sure that we cancel
any on-going animation and ensure we honor the show().

BUG: 22813854
Change-Id: I4ed758dfc9e1203a97e32ccf0f07f64a0c2a2a71
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
dce72eccfb3fa3a7c5282095ef236249bdf30349 16-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add @attr links to TextInputLayout" into mnc-ub-dev
b68971930c8d001be462125a70038f9e5ba7c37a 16-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure that FAB's border respects tint updates" into mnc-ub-dev
17b65202f5e30392c5a525f62347b56027157620 16-Oct-2015 Chris Banes <chrisbanes@google.com> Add @attr links to TextInputLayout

Change-Id: I64ec96261c7aafd14e417caf37fecb164e6ffb4c
rc/android/support/design/widget/TextInputLayout.java
4e9e5d597581356dea913eda1e2e26e4728f7e41 16-Oct-2015 Yuichi Araki <yaraki@google.com> Merge "Initial implementation of BottomSheet" into mnc-ub-dev
b1d11409409e0d166360397adfd1e765bef49591 15-Oct-2015 Chris Banes <chrisbanes@google.com> Add accessor methods for Toolbar title margins

Also adds missing attrs to public.xml so they can be
documented.

We can now use those margins in CollapsingToolbarLayout
to make it's title have similar positioning to Toolbar's
title.

BUG: 23720183

Change-Id: I09eeef65141d4af77c8813e8fac5f89bead47597
rc/android/support/design/widget/CollapsingToolbarLayout.java
8603357c9433b9aef1805413a3bfc4a4f8decc50 15-Oct-2015 Chris Banes <chrisbanes@google.com> Make sure that FAB's border respects tint updates

BUG: 24699109
Change-Id: I15469769242abfe9edf8b87b2f88f46dac7aa3de
ase/android/support/design/widget/CircularBorderDrawable.java
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/CircularBorderDrawableLollipop.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
34550bb9e60e8935f2007ffea069c5bacd971e36 15-Oct-2015 Chris Banes <chrisbanes@google.com> Add getters/setters for CollapsingToolbarLayout title margins

Change-Id: I9b97757066d4f7cfb34f443648fb8e965caa3bb6
pi/current.txt
rc/android/support/design/widget/CollapsingToolbarLayout.java
b69b2623e94d82f3073379e3e4d5cd2968b68970 15-Oct-2015 Chris Banes <chrisbanes@google.com> am f1f9e992: am 08ce6ecd: Merge "Add AppCompatDrawableManager" into mnc-ub-dev

* commit 'f1f9e992e3d6c330d12b6b1afa13e87f8b5728d5':
Add AppCompatDrawableManager
eda4412df4b985c54913b1ba9dff1ce4d4883cf5 15-Oct-2015 Chris Banes <chrisbanes@google.com> am c6fccd68: am e667a567: Merge "Use the correct interpolators in the design lib" into mnc-ub-dev

* commit 'c6fccd6842d28bdedea425ab1e0c947e2e1a41bc':
Use the correct interpolators in the design lib
fc9ffcbb6b9ca19ef90877ddbf01b132e24e058a 15-Oct-2015 Chris Banes <chrisbanes@google.com> am f2aa1f53: am 1cd777d1: Merge "Add support for rotating a FAB pre-L" into mnc-ub-dev

* commit 'f2aa1f53175844f08308f982897a561cfacb2abc':
Add support for rotating a FAB pre-L
02751b16719af2e3f8212f93c001da1b0566b1b5 15-Oct-2015 Chris Banes <chrisbanes@google.com> Ensure that SwipeDismissBehavior affects the correct view

Can cause weirdness if there are views in the same location
as the Snackbar when it's being dragged. We now have a
callback in SwipeDismissBehavior to allow behaviors
to control which views can be dragged.

BUG: 24956960
BUG: 23756487
Change-Id: Idf82de127597eba3a543f99ffc2a088fbc9d3af0
pi/current.txt
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SwipeDismissBehavior.java
08ce6ecd43989a53e5378b2744cb3c579759457c 15-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add AppCompatDrawableManager" into mnc-ub-dev
e667a56703ca0c7cdf1b9890435cace86f224ed7 15-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Use the correct interpolators in the design lib" into mnc-ub-dev
1cd777d1e3effedb5f06296ea42dfce59b52d1d9 15-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add support for rotating a FAB pre-L" into mnc-ub-dev
7e4e8b664820f773bc96e37ee1d2bbf500d64e69 12-Oct-2015 Chris Banes <chrisbanes@google.com> Add AppCompatDrawableManager

Refactored from TintManager, AppCompatDrawableManager
is now architectured differently. It is now a singleton
which keeps multi-map of cached tints.

This is to enable the new InflateDelegate extension point,
which will allows libraries (and eventually apps) to hook
into the compat drawable inflation.

While this CL looks large, it's mostly just updating method
calls to match the new parameters.

BUG: 24852773

Change-Id: Ic9f5ecc6fd0208d2f7a8a686f077f16588020516
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
359567c110b35d51ed8ecaa4b2b163a5452ef43b 12-Oct-2015 Chris Flatt <cflatt@google.com> am 92fc6f44: am 457e4792: Merge "Doc fixes" into mnc-ub-dev

* commit '92fc6f44df37510b65b2fe5d84d11cdbd7a5af04':
Doc fixes
8c05e5f52fbc790b745e768398d9e69d6b9d9ee1 12-Oct-2015 Chris Banes <chrisbanes@google.com> Doc fixes

BUG: 24807678
BUG: 24808206
BUG: 24807678
Change-Id: Id963e857072961f6360bb828cc304e67db360227
rc/android/support/design/widget/FloatingActionButton.java
3a30d0eaba58dd961cf2ae9be3a7d0b9754a031e 09-Oct-2015 Chris Banes <chrisbanes@google.com> Use the correct interpolators in the design lib

We're using 'fast out, slow in' for most things, whereas
we should be using the linear variants for things which
are showing/hiding.

BUG: 24796452

Change-Id: I8fa7a69d7eb1f3fcf3db6f495ab4f3173fa48aa7
ase/android/support/design/widget/AnimationUtils.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/TextInputLayout.java
3f787b7f9a4d67e423445fbcbbf983a5042737a4 08-Oct-2015 Chris Banes <chrisbanes@google.com> am 0fcf19cd: am 7021cb02: Merge "Allow CoordinatorLayout to handle root level pkg" into mnc-ub-dev

* commit '0fcf19cdbaabb79ed13568f3267cc6d827f94805':
Allow CoordinatorLayout to handle root level pkg
7021cb0288c6442aea34a2a0b895d43c555826bf 08-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Allow CoordinatorLayout to handle root level pkg" into mnc-ub-dev
18eaa13c75a6227165c02dc5d4ad94aeef1294bb 07-Oct-2015 Chris Banes <chrisbanes@google.com> am 28d092e1: am b1d35575: Add 23.1.0 API files

* commit '28d092e14ecd458653ccc4d3a3f53a155f6241ef':
Add 23.1.0 API files
b1d3557501182e6335b1a25f778e27f7e6bfd689 07-Oct-2015 Chris Banes <chrisbanes@google.com> Add 23.1.0 API files

Also renamed the 23.0.0 files to match the
naming scheme.

Change-Id: I48aca5ff1c024186ff8f2f768ff078420aa6cf16
pi/23.0.0.txt
pi/23.1.0.txt
pi/23.txt
25ef4026b72ff670ee07c81897124732d3f5f443 07-Oct-2015 Chris Banes <chrisbanes@google.com> Allow CoordinatorLayout to handle root level pkg

Currently CoordinatorLayout assumes that it will have a
parent package. This might not happen though with
Proguard involved. This CL makes CoL more defensive
over the package name.

BUG: 24701447

Change-Id: I391466b2e3b8f6d3d332a76dde6125b1eddd4156
rc/android/support/design/widget/CoordinatorLayout.java
452f94d1c58e2a7476019b98c3bf0e4b322d1525 15-Sep-2015 Yuichi Araki <yaraki@google.com> Initial implementation of BottomSheet

This adds persistent bottom sheets as a CoordinatorLayout.Behavior.

Bug: 23989269
Change-Id: Iaff739523ba68ee2b9d8214264a6118e0f8c1ad1
pi/current.txt
es-public/values/public_attrs.xml
es/values/attrs.xml
rc/android/support/design/widget/BottomSheetBehavior.java
447767d261382dce84853b67a02c5e13e3d0eda2 06-Oct-2015 Chris Banes <chrisbanes@google.com> am cf5c5110: am 93219e8b: Merge "Ensure that CoL\'s sorted children is invalidated" into mnc-ub-dev

* commit 'cf5c511054fec2ae00f1b7803bbfb9d023bdee90':
Ensure that CoL's sorted children is invalidated
93219e8b82c64dc73be81b564a13611958b56527 06-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure that CoL's sorted children is invalidated" into mnc-ub-dev
2d8e160f6ded2cd22ae7353a11689a1628c6cb5e 06-Oct-2015 Chris Banes <chrisbanes@google.com> am 482d1544: am 7b2f754b: Merge "Disable NavigationView nested header scrolling" into mnc-ub-dev

* commit '482d154489e8760ed9b1472dd7062c1925f32816':
Disable NavigationView nested header scrolling
7b2f754bf2c5dd129faf8cee740aa5a0b2211fde 06-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Disable NavigationView nested header scrolling" into mnc-ub-dev
7c89489dcb1e7cc454da4375c387caf20201acb7 06-Oct-2015 Chris Banes <chrisbanes@google.com> Disable NavigationView nested header scrolling

We'll bring it back in a later release.
Partially reverts Ic72c86f165e26c493b965dedf4c65f2853409144

BUG: 24692916
Change-Id: I4e85d7067c36e170d47afc0f54d33d55835fbadc
es/layout/design_navigation_menu.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationHeaderBehavior.java
rc/android/support/design/widget/NavigationView.java
b08f57a0066fb49514bd2a42b23beeb58465b1b8 05-Oct-2015 Chris Banes <chrisbanes@google.com> am 8a877bc0: am 463b8e4c: Merge "Use ParcelableCompat for CREATOR creation" into mnc-ub-dev

* commit '8a877bc08254d1f76868c6c44cbe7d707aceadfa':
Use ParcelableCompat for CREATOR creation
798b47e2eb8b6697b9009568a948f86fe86f6582 05-Oct-2015 Chris Banes <chrisbanes@google.com> am 8905c69f: am e317b30a: Merge "Fix TabLayout crashing due to using getMaxLines()" into mnc-ub-dev

* commit '8905c69f64b6402616f5bf8f0b3c3dc9d27bd640':
Fix TabLayout crashing due to using getMaxLines()
463b8e4c805cd93c82347d5f7951365e52c02d42 05-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Use ParcelableCompat for CREATOR creation" into mnc-ub-dev
092bd179f5a24c29a63717ce69c6d4065e33abe6 05-Oct-2015 Chris Banes <chrisbanes@google.com> Fix TabLayout crashing due to using getMaxLines()

Added a compatible shim to TextViewCompat

BUG: 24663522
Change-Id: I6ba367338a6c42ecad175c5ebe0163c3dc5a9cd2
rc/android/support/design/widget/TabLayout.java
62ab25d71ccfa775a8bd2add7b41277bc4e14bbc 05-Oct-2015 Chris Banes <chrisbanes@google.com> Use ParcelableCompat for CREATOR creation

Should fix BadParcelableException issues due to
using the wrong available class loader.

BUG: 24253575
Change-Id: Ia259559f15500203eff99c6eb6928339bd940278
pi/current.txt
rc/android/support/design/internal/ParcelableSparseArray.java
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/NavigationView.java
98efa25e8978587f0ea69393542ab850cd95cf6a 01-Oct-2015 Chris Banes <chrisbanes@google.com> am df12592e: am b105c27f: Merge "Ship sources JAR with the design lib" into mnc-ub-dev

* commit 'df12592e581fb0e889fe623405293673706d4cd2':
Ship sources JAR with the design lib
3f175dad7fba5d155d8ad3eb6d843cd29afcb57e 01-Oct-2015 Chris Banes <chrisbanes@google.com> Ship sources JAR with the design lib

Change-Id: Ide707523ad5244ce7e0664a056143a02cb623b26
uild.gradle
d9770e12c8ff2d4417700492c6616572be897e93 29-Sep-2015 Chris Banes <chrisbanes@google.com> Add support for rotating a FAB pre-L

As the shadow is baked into the view pre-L, the shadow
is also rotated when the view is rotated. This CLs
fixes that by offsetting any view property rotation
in both the shadow and border drawables.

BUG: 24464887

Change-Id: I8c39fbe90a2251a5a79b3f31328d47e55f74f931
ase/android/support/design/widget/CircularBorderDrawable.java
ase/android/support/design/widget/FloatingActionButtonImpl.java
ase/android/support/design/widget/ShadowDrawableWrapper.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
rc/android/support/design/widget/FloatingActionButton.java
cf7e3541b9630ceeedaa2daa6c21bdac9710c781 29-Sep-2015 Yuichi Araki <yaraki@google.com> am 8c00ba9d: am e7c47b46: Fix NPE in setIcon

* commit '8c00ba9df6c268ab339d46272b05a94e74afb575':
Fix NPE in setIcon
e7c47b46298c70ab4eb7945e27904adf9fd99ea9 29-Sep-2015 Yuichi Araki <yaraki@google.com> Fix NPE in setIcon

This can happen for some implementation of Drawable that returns null
for getConstantState().
Bug: 24485410

Change-Id: I182a9d9a1fd20a8afe860f567757ea9746aaa4af
rc/android/support/design/internal/NavigationMenuItemView.java
347536e8c751179028aa926e48e3e55d038fd37d 25-Sep-2015 Chris Banes <chrisbanes@google.com> am 7e8afaf9: am e25a0992: Merge "Accessibility improvements for design lib" into mnc-ub-dev

* commit '7e8afaf9471d2ae988ae82b0d4093a4f82abf4ea':
Accessibility improvements for design lib
e25a099295aa6fe93a2744ba99c5f6edb1b5898f 25-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Accessibility improvements for design lib" into mnc-ub-dev
3224093af46bac6f2fd5b372d5fbd56429b811c1 23-Sep-2015 Chris Banes <chrisbanes@google.com> Accessibility improvements for design lib

Set live regions on Snackbar, TextInputLayout's error
and counter views.

BUG: 22988138
Change-Id: Iaf4ddd80b70b2467ee024562ba0dbf9a6ca9a5c0
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/TextInputLayout.java
f6cb6956bc3f8af302d222a6534c906f7c67efde 24-Sep-2015 Chris Banes <chrisbanes@google.com> am c25d71b7: am 756b701d: Merge "Fix CollapsingToolbarLayout when used with SearchView" into mnc-ub-dev

* commit 'c25d71b7961bb54676a9989b77d9ac4834d5698c':
Fix CollapsingToolbarLayout when used with SearchView
756b701d234fdc391857a82221647e40e81dbcb8 24-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Fix CollapsingToolbarLayout when used with SearchView" into mnc-ub-dev
82ae76be36072fc55cd96764cf1c5fc8e61acfdf 24-Sep-2015 Chris Banes <chrisbanes@google.com> am 009ff4b8: am 6f800ea6: Merge "FloatingActionButton fixes" into mnc-ub-dev

* commit '009ff4b8c04a1fbec9617e9499983ea9d4c4a468':
FloatingActionButton fixes
19551f09a5ebc02a0a4ce16984ec9e8023954bc1 24-Sep-2015 Chris Banes <chrisbanes@google.com> am d2fe3395: am 3480b31f: Merge "Fix Snackbar#show() not working after rotation" into mnc-ub-dev

* commit 'd2fe3395d5e2dc86f394ae244ff2566a8629e91c':
Fix Snackbar#show() not working after rotation
6f800ea6be4954897981c6c5e45579bba524573e 24-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "FloatingActionButton fixes" into mnc-ub-dev
3480b31f3e597e0b5918379bb2703a7ccb786688 24-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar#show() not working after rotation" into mnc-ub-dev
766ba6e073b1a118c8ab5e8ed3ed4c8756866b2c 24-Sep-2015 Mark Wei <markwei@google.com> am e3adcee0: am 26b8f02d: Merge "Add a listener to FloatingActionButton show() and hide()." into mnc-ub-dev

* commit 'e3adcee09778da7b24941994a34731db4f998ebc':
Add a listener to FloatingActionButton show() and hide().
26b8f02dce30c6d1cc27b87c6efb971c33e67671 24-Sep-2015 Mark Wei <markwei@google.com> Merge "Add a listener to FloatingActionButton show() and hide()." into mnc-ub-dev
0ad7ef59b28d8ffafd551d2756b5a8ec47c90682 18-Sep-2015 Mark Wei <markwei@google.com> Add a listener to FloatingActionButton show() and hide().

Bug: 24053775
Change-Id: I36495bd56c48afc3249d3e09761c823a9b6c377a
pi/current.txt
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
rc/android/support/design/widget/FloatingActionButton.java
c06ea511ab9d97ed62ec10f10262f1c34b1905f0 23-Sep-2015 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout when used with SearchView

CTL currently relies on the dummy views bounds
being 0-width to signify invisibility. This is
a bit crude so we now use isShown() as well.

BUG: 22165213
Change-Id: I59ef7273b56a7820cdd21ad5f39961b56fd8100a
rc/android/support/design/widget/CollapsingToolbarLayout.java
38bce2dcd0812fa91b32ae30402659916c770315 23-Sep-2015 Chris Banes <chrisbanes@google.com> am 16a39d79: am 956db7bf: Merge "Fix AppBarLayout not being scrollable with fitSystemWindows=true" into mnc-ub-dev

* commit '16a39d7925d322562e1e5651dbe938697d2d38ad':
Fix AppBarLayout not being scrollable with fitSystemWindows=true
4c33be829067714342b629d29329206bc2116afe 22-Sep-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not being scrollable with fitSystemWindows=true

Caused by us taking the inset into account twice.

BUG: 24190984
Change-Id: If94be90e962ec3756aeda6e55bbbf408fe4cee4e
rc/android/support/design/widget/AppBarLayout.java
5462d3e588481416a38e893bdb0f1073f82f8dcc 21-Sep-2015 Chris Banes <chrisbanes@google.com> Fix Snackbar#show() not working after rotation

Caused by us not handling the window detach
event, and thus not updating our state to reflect
the fact.

BUG: 24256478
Change-Id: Ie0065dedd27fefd202cc1f6bcf8016809bf32eae
pi/current.txt
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SnackbarManager.java
8248a6287c4ff9fa71ff6760bb6fe0906f0d6607 21-Sep-2015 Chris Banes <chrisbanes@google.com> Ensure that CoL's sorted children is invalidated

Currently CoL only checks to see if the child count
has changed before re-sorting everything. This is a
bit crude as the children could change without the
count actually changing.

Fixed by invalidating the list on measure.

Also update dispatchDependentViewRemoved() to make
use of the dependency sorting.

BUG: 24252752

Change-Id: I92fd3a0587b7d24de0abcded37577cf70130d16c
rc/android/support/design/widget/CoordinatorLayout.java
18d22257ccfb5cebb3ccd2450736e735ed1fb9bb 21-Sep-2015 Chris Banes <chrisbanes@google.com> FloatingActionButton fixes

- Remove default clickable state
- Fix FAB jumping around when used with
a Snackbar

BUG: 24252795
BUG: 24254664

Change-Id: I8946b2674e5a4147f9fd8b6d4a40fcc5bc0c32ac
pi/current.txt
rc/android/support/design/widget/FloatingActionButton.java
f809884583faa6cd507aff0a840b8c1a19a8269e 21-Sep-2015 Chris Banes <chrisbanes@google.com> am 3aa2ecf1: am 540c985f: Merge "Improve header dragging" into mnc-ub-dev

* commit '3aa2ecf15a66d4e7437af789e28f997f8bb19952':
Improve header dragging
540c985fa442b9c0e95f0c676e182689d6f78033 21-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Improve header dragging" into mnc-ub-dev
72a0913607198c5ce3fa351242ccbdfb3b93f178 18-Sep-2015 Chris Banes <chrisbanes@google.com> Improve header dragging

- Moved re-usable code from ABL to the new
base class.
- Added fling support to header dragging.
- Fixed NavigationView not scrolling
- Hid a few new methods which shouldn't
be public.

Change-Id: Ia7335c385951a66d27316dbf675bb8860f549cc4
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/HeaderBehavior.java
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
rc/android/support/design/widget/NavigationHeaderBehavior.java
ddf40daab7b05e9fa33b392f2895d27988fa3aa5 18-Sep-2015 Chris Banes <chrisbanes@google.com> am 5f673f21: am 85c31b12: Merge "Fix ABL overlapTop behavior" into mnc-ub-dev

* commit '5f673f21f33e80b2d4fe99f6c62bc6e771728f90':
Fix ABL overlapTop behavior
85c31b129c41f327d365b9f35837acee7f3c958c 18-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Fix ABL overlapTop behavior" into mnc-ub-dev
dfb857dd12b359c0bdae11a23e039f286d54dc0a 18-Sep-2015 Chris Banes <chrisbanes@google.com> Fix ABL overlapTop behavior

Change-Id: I447bbc14c8d72a149abc0af2de2293573bff138a
rc/android/support/design/widget/AppBarLayout.java
e556b1b18ca90f61b653277fe3e043f27a9830cd 18-Sep-2015 Chris Banes <chrisbanes@google.com> am e152520f: am ef80bd54: Merge "Fix dependency sorting in CoordinatorLayout" into mnc-ub-dev

* commit 'e152520f897e91ec95e3ca558fbd78c5139879b8':
Fix dependency sorting in CoordinatorLayout
ef80bd541a321fe21e95fd1e79f0e43b8ce9772e 18-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Fix dependency sorting in CoordinatorLayout" into mnc-ub-dev
b87b1e3da69e8956fe89907ccdb7988aa2eb726e 17-Sep-2015 Mady Mellor <madym@google.com> am 01bb1c8e: am 0eb4e73f: Merge "Update NavigationView to use CoordinatorLayout for header and list." into mnc-ub-dev

* commit '01bb1c8e4dd23ab3140f2f9f34d74947a3193f34':
Update NavigationView to use CoordinatorLayout for header and list.
0eb4e73f0dbc959094353ec01dbdf480a569c001 17-Sep-2015 Mady Mellor <madym@google.com> Merge "Update NavigationView to use CoordinatorLayout for header and list." into mnc-ub-dev
cea5e20817a848367e82e69b00d091c8405c99fc 16-Sep-2015 Chris Banes <chrisbanes@google.com> Fix dependency sorting in CoordinatorLayout

For our purposes we need every view to be compared against
each other when sorting. Collections.sort() is stable and
efficient, and thus doesn't guarantee that, therefore we now
need to use a selection sort which does guarantee that.

It is less efficient, but it is much better than removing
all of the sorting and doing a O(N^2) loop in every draw.

BUG: 24126029
Change-Id: Ida34244d62b9c7519b4cded3ab23bef95a01f1f0
rc/android/support/design/widget/CoordinatorLayout.java
7ec045c02aa8ae4e2a399f72ec90c198a4aed454 16-Sep-2015 Chris Banes <chrisbanes@google.com> am 60ceaa80: am 37430e83: Fix call ordering issue in CollapsingTextHelper

* commit '60ceaa802d3092eaced80eca1ce7abb75da939a0':
Fix call ordering issue in CollapsingTextHelper
a5cfd5c5874eff0a7731b7b2de2667e0e56a7bb7 16-Sep-2015 Chris Banes <chrisbanes@google.com> am 18038a12: am 60319b11: Merge "Take the window insets into account when ABL is dragged" into mnc-ub-dev

* commit '18038a12a4cd277975f88ead7524e6015fe50125':
Take the window insets into account when ABL is dragged
1ff4d4f7470a44dff84f6848d3e2678a7919f594 16-Sep-2015 Chris Banes <chrisbanes@google.com> am f2093cd5: am 99e52876: Merge "Improve typeface support in the collapsing text widgets" into mnc-ub-dev

* commit 'f2093cd5774b9cda59ff146c85cbeb792db65945':
Improve typeface support in the collapsing text widgets
37430e835e22a791b83b01befab44ead852bf555 15-Sep-2015 Chris Banes <chrisbanes@google.com> Fix call ordering issue in CollapsingTextHelper

Results in centering of text not working if setText()
is called before a layout.

BUG: 24084103
Change-Id: I4eed2ddebba19e6daf10ba8b7585fd70fef87b12
rc/android/support/design/widget/CollapsingTextHelper.java
60319b11a12f9b4b9c88ba4cb75d4029f172f745 16-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Take the window insets into account when ABL is dragged" into mnc-ub-dev
99e528768ea424baf87cc29ac138d693afab3961 16-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Improve typeface support in the collapsing text widgets" into mnc-ub-dev
7a91a5d0a7de9fc24d0ca45dfdad96761a2f0200 16-Sep-2015 Yuichi Araki <yaraki@google.com> am c14d808e: am 0e245015: Merge "Add support for character counter" into mnc-ub-dev

* commit 'c14d808e6c599ea34990583359ef1d4c4c1640b0':
Add support for character counter
ec161ac1da9c8ca0e942b01e037ceb1cc51a2f3c 15-Sep-2015 Mady Mellor <madym@google.com> Update NavigationView to use CoordinatorLayout for header and list.

This CL modifies how the header is handled in NavigationView. Namely, it
separates the header from the ListView. To scroll the header and list
together, both the header and list are placed in a CoordinatorLayout with
behaviors that allow them to scroll together.

This work will allow an overlay to be added that scrolls with the list
so that we can properly animate the account switcher. The overlay and
account switcher work will be done in a separate CL.

Bug: 20117594
Change-Id: Ic72c86f165e26c493b965dedf4c65f2853409144
pi/current.txt
es/layout/design_navigation_item_header.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/HeaderBehavior.java
rc/android/support/design/widget/HeaderScrollingViewBehavior.java
rc/android/support/design/widget/NavigationHeaderBehavior.java
rc/android/support/design/widget/NavigationView.java
249ad6faac840b73bb55d47cdbecccdee2c8dd61 14-Sep-2015 Yuichi Araki <yaraki@google.com> Add support for character counter

TextInputLayout shows the character counter when app:counterEnabled is
set to true. It also shows error when the input is longer than the value
specified with app:counterMaxLength.

Bug: 23987575
Change-Id: Iffdd73f049c58c04d0a6d91668b63a259d5a04ba
pi/current.txt
es-public/values/public_attrs.xml
es/values/attrs.xml
es/values/strings.xml
es/values/styles.xml
rc/android/support/design/widget/TextInputLayout.java
32fcaa22feb910dd83e9b615b785991fddf52a61 15-Sep-2015 Chris Banes <chrisbanes@google.com> am b46ee6be: am 1eb1857f: Merge "Stop calling onTabReselected on tab clicks" into mnc-ub-dev

* commit 'b46ee6be221341cdc376e978c876d68396683a83':
Stop calling onTabReselected on tab clicks
5966da4bb6264b54047f426334da33c212ca2e73 15-Sep-2015 Chris Banes <chrisbanes@google.com> am e29b33f2: am eb3f54ef: Merge "Fix TabLayout\'s flickering for good" into mnc-ub-dev

* commit 'e29b33f2c09dce897bafa81b889247f743dd50a8':
Fix TabLayout's flickering for good
1eb1857ff5ccb41f61e71c23a2f2ba91188b268f 15-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Stop calling onTabReselected on tab clicks" into mnc-ub-dev
eb3f54efb5539004de00f4e8d9bcb760a40821b1 15-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Fix TabLayout's flickering for good" into mnc-ub-dev
289c3d98a7dc9525dbb47b1432f11d4f84cb7fd6 14-Sep-2015 Chris Banes <chrisbanes@google.com> Stop calling onTabReselected on tab clicks

When a Tab is clicked then TabLayout will automatically
call onTabUnselected/selected. It then calls setCurrentItem()
on the VP, meaning that onTabReselected is dispatched.

BUG: 24047129
Change-Id: Ie4f713498f3f12c760244e3c7c5dc3c1a43f8831
rc/android/support/design/widget/TabLayout.java
d29e79fa09f428c510d1d9ca758dbda35a323f71 08-Sep-2015 Chris Banes <chrisbanes@google.com> Improve typeface support in the collapsing text widgets

We now handle the collapsed and expanded typefaces
seperately and use them in the appropriate places.
The switch between them is pretty jarring but there's
not much we can do about that, plus most of them time you
should be using the same typeface for both.

BUG: 23882300
Change-Id: If4efee87169472d61bdee98dbada0c120d8830bf
pi/current.txt
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/TextInputLayout.java
ab7326eb4c724c7ab61cb71f890a5fe6a1d18fc6 10-Sep-2015 Chris Banes <chrisbanes@google.com> am b27dc24f: am ec2310cd: Merge "Add ability to snap AppBarLayout children to edges" into mnc-ub-dev

* commit 'b27dc24f1e66228c02e96ce9014f6b1ef7e024c8':
Add ability to snap AppBarLayout children to edges
854d6b89f46fb2877c009eaa80394b8c8079f7ee 07-Sep-2015 Chris Banes <chrisbanes@google.com> Fix TabLayout's flickering for good

The problem is due us not handling ViewPager's
page change listeners correctly. onPageSelected() can
be called while the ViewPager is still mostly in the
previous page. This means that the next onPageScrolled()
int will not match the selected page.

The fix is to skip updating the selected text, like we already
do with the indicator.

BUG: 22709728
Change-Id: Ic17a136b3352ae5c620f4295f852d5f9e5a53f92
rc/android/support/design/widget/TabLayout.java
ec2310cd2b3bce8ecd9fd03ea3e537f2ee70a76a 10-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Add ability to snap AppBarLayout children to edges" into mnc-ub-dev
bc22c4fd37e99643b3e7b87e2849a9e63fb8c5fc 26-May-2015 Chris Banes <chrisbanes@google.com> Add ability to snap AppBarLayout children to edges

BUG: 23792717

Change-Id: Ic373fb30c1c3b97f2e1c845c496e97e766f078ec
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/AppBarLayout.java
4832063daa6620f0ad51c4a16f31502dab1adc89 10-Sep-2015 Chris Banes <chrisbanes@google.com> Take the window insets into account when ABL is dragged

BUG: 23946168
Change-Id: I561d3e9f378c536589fe8847b8f98bbf252f28cf
rc/android/support/design/widget/AppBarLayout.java
b3140f0b62e15e7d4f548e9efe1538907d0a1194 07-Sep-2015 Chris Banes <chrisbanes@google.com> am 83e60f1b: am bca00ffa: Merge "Make sure that we reset the EditText backgroud tint" into mnc-ub-dev

* commit '83e60f1bbb345b753d49613687ef4bb3976dcd84':
Make sure that we reset the EditText backgroud tint
bca00ffa0a26d7203780ae245c313581339a406c 05-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure that we reset the EditText backgroud tint" into mnc-ub-dev
4fd88c3c412d4ce7c34a2a295eeac2cf50825e43 04-Sep-2015 Yuichi Araki <yaraki@google.com> am d61aeb86: am 0a9a4969: Merge "Revert "Revert "Use RecyclerView for NavigationView""" into mnc-ub-dev

* commit 'd61aeb862e2b28885707764c7cc0d40b6f0afd73':
Revert "Revert "Use RecyclerView for NavigationView""
0a9a49699e3325c8e44828406db85535eb9a3b63 04-Sep-2015 Yuichi Araki <yaraki@google.com> Merge "Revert "Revert "Use RecyclerView for NavigationView""" into mnc-ub-dev
64bcb674cc45ab712a591d4f540d5c13404f3b83 03-Sep-2015 Yuichi Araki <yaraki@google.com> Revert "Revert "Use RecyclerView for NavigationView""

This reverts commit ca2f07c9cc83b98d73a18da7177044ee147ffb94.

Change-Id: I7c19c2f84fc4b520b8a1951729c40a1f9ac1435f
ndroid.mk
uild.gradle
es/layout/design_navigation_item.xml
es/layout/design_navigation_menu.xml
es/values/attrs.xml
rc/android/support/design/internal/ForegroundLinearLayout.java
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
8ac0be0819063395f63b14956cea678fbcc93815 01-Sep-2015 Chris Banes <chrisbanes@google.com> am 00699e50: am 3af3cd8e: Merge "Revert "Use RecyclerView for NavigationView"" into mnc-ub-dev

* commit '00699e5067877bb3bbd7bb14986cf406b5b9af34':
Revert "Use RecyclerView for NavigationView"
3af3cd8e711f6fa83ca69d8c7865b674c08f1aa1 01-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Revert "Use RecyclerView for NavigationView"" into mnc-ub-dev
ca2f07c9cc83b98d73a18da7177044ee147ffb94 01-Sep-2015 Chris Banes <chrisbanes@google.com> Revert "Use RecyclerView for NavigationView"

This reverts commit e7b2c26d2ffadc94dc6ee043ab12e03201e1bf95.

Change-Id: I1c7ec7629a08566dd4a17431a857e36961ba8270
ndroid.mk
uild.gradle
es/layout/design_navigation_item.xml
es/layout/design_navigation_menu.xml
es/values/attrs.xml
rc/android/support/design/internal/ForegroundLinearLayout.java
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
a6cef690d13e4b4180400de28a80d1135202e25b 01-Sep-2015 Chris Banes <chrisbanes@google.com> am 4bd3815a: am 014e84fe: am 84d34fd5: am ad267e79: am b4434e91: Update public.xml files for AppCompat + Design

* commit '4bd3815a783b31cc3a5ba8dde51c7d5f96a748f8':
Update public.xml files for AppCompat + Design
87f9c127ea653d0865131cef284e468228bd2262 01-Sep-2015 Yuichi Araki <yaraki@google.com> am a51925c0: am c7850385: Merge "Use RecyclerView for NavigationView" into mnc-ub-dev

* commit 'a51925c0e9094179d91ceef757d98a6fc9eb3fff':
Use RecyclerView for NavigationView
014e84fe81222a7dd0a389b6ba6674e7d2f37873 01-Sep-2015 Chris Banes <chrisbanes@google.com> am 84d34fd5: am ad267e79: am b4434e91: Update public.xml files for AppCompat + Design

* commit '84d34fd5d8efe6613c724c50d59e26ac2ddd550c':
Update public.xml files for AppCompat + Design
96cb4d8853e79310aa9a52b8baab8f54873ce428 01-Sep-2015 Chris Banes <chrisbanes@google.com> Make sure that we reset the EditText backgroud tint

When setErrorEnabled(false) is called, the EditText
could continue to be displayed as red. This CL makes
sure that we don't.

BUG: 23707952
Change-Id: I5c2b4b2be22229f9be04eb28922f4b09a07209bb
rc/android/support/design/widget/TextInputLayout.java
b4434e9131389fea130b3a3fb3462ae225a5e04d 01-Sep-2015 Chris Banes <chrisbanes@google.com> Update public.xml files for AppCompat + Design

BUG: 23511865
Change-Id: I320495c4611983f686671decbbb7e157fe048897
es-public/values/public_attrs.xml
es-public/values/public_strings.xml
es-public/values/public_styles.xml
e7b2c26d2ffadc94dc6ee043ab12e03201e1bf95 25-Aug-2015 Yuichi Araki <yaraki@google.com> Use RecyclerView for NavigationView

Replace ListView with RecyclerView. This does not change any public
APIs.

Change-Id: I618360f0267c74692dd2e4489455b845c379d52c
ndroid.mk
uild.gradle
es/layout/design_navigation_item.xml
es/layout/design_navigation_menu.xml
es/values/attrs.xml
rc/android/support/design/internal/ForegroundLinearLayout.java
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
4366f8a0eecbf1e90ea06d94e7c09b57ea1c1f6c 25-Aug-2015 Chris Banes <chrisbanes@google.com> am 196d47bb: am f13ba46d: Merge "Make TextInputLayout\'s error handling spec compliant" into mnc-ub-dev

* commit '196d47bb101ff476c3f8fd565152bfa80408b0a3':
Make TextInputLayout's error handling spec compliant
f85bf1e127ea645ca45637288ccfbab11ef2b415 25-Aug-2015 Chris Banes <chrisbanes@google.com> Make TextInputLayout's error handling spec compliant

BUG: 23494861
Change-Id: I6b867d375e41c25e44923f2db5057842715e3f8e
rc/android/support/design/widget/TextInputLayout.java
727586a74e42e17b1ba42c1d7f4396cec0bc0b2f 25-Aug-2015 Mady Mellor <madym@google.com> am 457d9ac3: am 572c4d80: Merge "Fix java doc for get/set AnchorId in CoordinatorLayout" into mnc-ub-dev

* commit '457d9ac3022c181a4d3716842159da92d308ffea':
Fix java doc for get/set AnchorId in CoordinatorLayout
572c4d8028acae90aa9f416c2f8766a641c3a1be 24-Aug-2015 Mady Mellor <madym@google.com> Merge "Fix java doc for get/set AnchorId in CoordinatorLayout" into mnc-ub-dev
1cef72d8a38bf9f897ddb39d6a100f9ee46a76f8 22-Aug-2015 Chris Banes <chrisbanes@google.com> am d36e64d8: am b1865607: Merge "Fix ABL + CTL not handling being initially collapsed well" into mnc-ub-dev

* commit 'd36e64d81d2940ddb7f2e2c447622455d5b4eca6':
Fix ABL + CTL not handling being initially collapsed well
9a4d325169a9b4f1edf4cef8d540b49fc03042ae 22-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Revert TabLayoutOnPageChangeListener change DO NOT MERGE" into mnc-dev
b18656075d322c4adaf19f1b6e7626117d597c91 22-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Fix ABL + CTL not handling being initially collapsed well" into mnc-ub-dev
c344398708c615b0caba76d287e9ec503afa6819 20-Aug-2015 Mady Mellor <madym@google.com> Fix java doc for get/set AnchorId in CoordinatorLayout

Change-Id: I93cdffa696e2936548e7e34a85ba817c4fe6b68a
rc/android/support/design/widget/CoordinatorLayout.java
79aa418487cdefb85d3c1fac32d6403a1ac6057d 21-Aug-2015 Chris Banes <chrisbanes@google.com> Fix ABL + CTL not handling being initially collapsed well

Two issues here. The first being that ABL only updates it's
min height after a layout, which means it's minHeight is wrong
in the preceding onMeasure(). Fixed by invalidating the scroll
ranges in onLayout, and updating it's minHeight in onMeasure.

Second issue is that CTL's text helper needs it's bounds in
the initial coordinate space, not after the views have been
offset.

Also fixed a possible pending state issue.

BUG: 23408061
Change-Id: Ie15c2e353da1596ca045405a6cf6f9cd2209a32e
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
91585cbeb6fe1163e4b3f5f6e623124173f5371b 21-Aug-2015 Chris Banes <chrisbanes@google.com> am 6d91eee3: am e4924958: am 638a2a4a: Merge "Fix crash in CoordinatorLayout DO NOT MERGE" into mnc-dev

* commit '6d91eee3e7d064d7ca695da1fcb755e1ae1d58e9':
Fix crash in CoordinatorLayout DO NOT MERGE
638a2a4a0b31b7d669bf0000dacd18129754d37c 21-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Fix crash in CoordinatorLayout DO NOT MERGE" into mnc-dev
44e00ab1860a78d91ad6f586f41eaae0c108a3bc 20-Aug-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not being drawn after rotation DO NOT MERGE

Happens when someone is using configChanges="orientation".
The fix is to tickle the invalidation flag on both the view
and the parent.

BUG: 23381984
Change-Id: Iddd44c59b4a8a64eab9c339f14728b5705266bf9
rc/android/support/design/widget/ViewOffsetHelper.java
25ba5dfde27fb3496f5cd4c2ef86c5340030a3c3 20-Aug-2015 Chris Banes <chrisbanes@google.com> am f7f64ada: am f3334236: Merge "Fix AppBarLayout not being drawn after rotation" into mnc-ub-dev

* commit 'f7f64adaee68ab0ff83f1105d8c496cefe68618a':
Fix AppBarLayout not being drawn after rotation
34ce1ee82b785e736693141b4afa2c916483fe27 20-Aug-2015 Chris Banes <chrisbanes@google.com> am 598ff456: am 4a7c0fe8: Merge "Fix FloatingActionButton being invisible on Gingerbread" into mnc-ub-dev

* commit '598ff456001aacaf59ca0bc045d875b9ddc5951b':
Fix FloatingActionButton being invisible on Gingerbread
f3334236317ffe28db05e2be09e17bb6940843e7 20-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Fix AppBarLayout not being drawn after rotation" into mnc-ub-dev
cf3d7fb4ad60ade58d68494d487a170748c908f9 20-Aug-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not being drawn after rotation

Happens when someone is using configChanges="orientation".
The fix is to tickle the invalidation flag on both the view
and the parent.

BUG: 23381984
Change-Id: Iddd44c59b4a8a64eab9c339f14728b5705266bf9
rc/android/support/design/widget/ViewOffsetHelper.java
c959d75f38fc172e23c82a971218f994bd12c5ef 18-Aug-2015 Chris Banes <chrisbanes@google.com> Revert TabLayoutOnPageChangeListener change DO NOT MERGE

BUG: 23304024
Change-Id: I31d465996410d172ba8927af5a15edc456ee4e69
(cherry picked from commit 14113e918762c4319dfde99e5b87873deeda9f03)
rc/android/support/design/widget/TabLayout.java
515613db9b9d82472c8fce69b2b104c277f68b99 20-Aug-2015 Chris Banes <chrisbanes@google.com> Fix crash in CoordinatorLayout DO NOT MERGE

Already fixed downstream in I854d97125c26f1584f13ec554e74247cc8c539d6

BUG: 23367283
Change-Id: I7c4c08d7981c78cf9f9158cd7414abe4fce140b3
rc/android/support/design/widget/CoordinatorLayout.java
acbf0dbe11f4d0594dc2949ca18d410b3c3a20b8 20-Aug-2015 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton being invisible on Gingerbread

BUG: 23373046
Change-Id: I856f8406322624580525a07612cf20bdfbe9a5cc
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
239edab293fd080dff383ad7786664b2d8481594 20-Aug-2015 Yuichi Araki <yaraki@google.com> am 3e0ef0d4: am ec072869: NavigationView now handles listener result

* commit '3e0ef0d4ab4942ab40354fb10b2b189f9031f238':
NavigationView now handles listener result
ec072869e620f144d1550ff83a92d6fc138a377f 20-Aug-2015 Yuichi Araki <yaraki@google.com> NavigationView now handles listener result

NavigationView doesn't mark a clicked item as checked when
OnNavigationItemSelectedListener#onNavigationItemSelected returns false.

Bug: 23368143
Change-Id: I17bc97298e5f3fc39ae8fa6aca0934ed555ed180
rc/android/support/design/internal/NavigationMenuPresenter.java
a7089a467c8da51a857f83dac4d860ce76254b2b 18-Aug-2015 Chris Banes <chrisbanes@google.com> am 7d749174: am e2a4d64e: Merge "Make sure that AppBarLayout is laid out correctly" into mnc-ub-dev

* commit '7d749174ba4caa69fdb28716ef6d55cb67e0aa55':
Make sure that AppBarLayout is laid out correctly
e2a4d64e32452c9b72f8931936b1b38ef2e246e7 18-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure that AppBarLayout is laid out correctly" into mnc-ub-dev
0d2f46331a9fc3b21597e926ba2e061af7c00708 18-Aug-2015 Chris Banes <chrisbanes@google.com> Make sure that AppBarLayout is laid out correctly

Currently, the scrolling view of a AppBarLayout relies
on CoLs pre draw listener to move itself. This is
problematic for things like activity transitions which
rely on correct position after a layout.

BUG: 23307267
Change-Id: Ibf508908cd22ef29d2c3752b299b8ce5d6346b0a
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
722de5c771c6451be50c7c552c115ef1a3b1afd0 18-Aug-2015 Chris Banes <chrisbanes@google.com> am 2d53b446: am 9c1a007d: Merge "TabLayout measure performance improvements" into mnc-ub-dev

* commit '2d53b446706991c880ab2ec840d191414b8bdd52':
TabLayout measure performance improvements
9c1a007db43f0b5a5db6dee449486279309fed86 18-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "TabLayout measure performance improvements" into mnc-ub-dev
cb37b09ebbc5e8e9c7c6c65211686d61e2ed3a3f 11-Aug-2015 Chris Banes <chrisbanes@google.com> TabLayout measure performance improvements

- Disable the framework fillViewport functionality
and we do it ourselves instead. This allows us
to remove multiple unnecessary measure passes.
- Use the available space for max tab width calculation
- Actually honor the scrollable tab min width (this
wasn't working before).

BUG: 23173903

Change-Id: I7dd2c9219dedf930e533207dad9444553b040447
es/values-sw600dp/dimens.xml
es/values/dimens.xml
rc/android/support/design/widget/TabLayout.java
29ad866949dd8e30ba006ab7d048452aa0e29086 18-Aug-2015 Chris Banes <chrisbanes@google.com> am 44f13956: am c2c0e6f7: Merge "Disable invalidation tickle workaround on M+" into mnc-ub-dev

* commit '44f13956fcbd0aa8575865774809a0f89d9a4ee5':
Disable invalidation tickle workaround on M+
c2c0e6f70f841b3d8e42f1cc36c3f710b2017376 18-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Disable invalidation tickle workaround on M+" into mnc-ub-dev
576e003b7a50073bcf78599ac830c175af5ba844 18-Aug-2015 Chris Banes <chrisbanes@google.com> Disable invalidation tickle workaround on M+

Change-Id: I38f91c0dacab8fa59d0eee01313266229f0545d1
rc/android/support/design/widget/ViewOffsetHelper.java
6c7f48e3efe9ff9624b97fc61bc44c50e394a6be 18-Aug-2015 Chris Banes <chrisbanes@google.com> am c0ef976e: am 14113e91: Revert TabLayoutOnPageChangeListener change

* commit 'c0ef976e4adc5713daba4e843133da8fc74faf88':
Revert TabLayoutOnPageChangeListener change
14113e918762c4319dfde99e5b87873deeda9f03 18-Aug-2015 Chris Banes <chrisbanes@google.com> Revert TabLayoutOnPageChangeListener change

BUG: 23304024
Change-Id: I31d465996410d172ba8927af5a15edc456ee4e69
rc/android/support/design/widget/TabLayout.java
aa930593e0edb2b818a0f759efd03ed159b979e0 17-Aug-2015 Chris Banes <chrisbanes@google.com> am 652b23f3: am 15efaeb4: Merge "AppBarLayout layout/measure fixes" into mnc-ub-dev

* commit '652b23f34999bdddbf52356d4fb9f87830264f9f':
AppBarLayout layout/measure fixes
8942fdd83bf150fc26e198e1b2dafcbff00e79ef 17-Aug-2015 Chris Banes <chrisbanes@google.com> am 581de875: am 25c8477a: Merge "Improvements around CollapsingToolbarLayout\'s scrims" into mnc-ub-dev

* commit '581de87570b31ac402eb2be6467227e59c475462':
Improvements around CollapsingToolbarLayout's scrims
693502df34175a94caec214ca3cfcddbb6199201 17-Aug-2015 Chris Banes <chrisbanes@google.com> am a568e389: am 3a132609: Merge "Update TabLayout to Material Spec" into mnc-ub-dev

* commit 'a568e3895cb632874723a4e9ad78e73741a1a191':
Update TabLayout to Material Spec
15efaeb4c208f87a015024210aa34855eead209a 17-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "AppBarLayout layout/measure fixes" into mnc-ub-dev
25c8477ad7c28e8f6b7b0dba38f30544d8308749 17-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Improvements around CollapsingToolbarLayout's scrims" into mnc-ub-dev
e9f1ca9247c94f9073403fd6777403ae5b94e77a 17-Aug-2015 Chris Banes <chrisbanes@google.com> Improvements around CollapsingToolbarLayout's scrims

Added a public API to be able to control the visibility.

BUG: 23267454

Change-Id: Id9d587c3fffd9ff994641c0a94a7abbfd7870272
pi/current.txt
rc/android/support/design/widget/CollapsingToolbarLayout.java
ea004a01f44aaf36212120c936952c1742d03d30 07-Aug-2015 Chris Banes <chrisbanes@google.com> AppBarLayout layout/measure fixes

- We no longer display above the scrolling view
over a collapsed AppBarLayout.
- Make sure we measure the scrolling view to fill
any window inset.
- Make sure the ABL is measured before we measure the
the scrolling view.
- Make sure we use the measured height of views when
calculating the scroll ranges.
- Made some pkg-private methods actually private.

BUG: 23025697

Change-Id: I854d97125c26f1584f13ec554e74247cc8c539d6
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
c3a5ae275653ae325d0cb5428f4a3aa071aa467b 30-Jun-2015 Chris Banes <chrisbanes@google.com> Update TabLayout to Material Spec

- Tabs + Icons are now vertically aligned
- Text size is updated based on multi-line

BUG: 22964033

Change-Id: Iee4e5ab5a78d02884fd507a5c889b0d99a317de8
es/layout/design_layout_tab_icon.xml
es/layout/design_layout_tab_text.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/widget/TabLayout.java
1269d093b0a3ca41ec7bbea6b5d849118b831e6d 12-Aug-2015 Chris Banes <chrisbanes@google.com> am ae0932f4: am 28ea3313: am d7d46d93: am 355984b6: am 490bf528: Get support lib ready for release

* commit 'ae0932f4844dfee2717293a1578f24a3d370a1f7':
Get support lib ready for release
28ea331326e7594bef3aca180532cd7b9d8da537 12-Aug-2015 Chris Banes <chrisbanes@google.com> am d7d46d93: am 355984b6: am 490bf528: Get support lib ready for release

* commit 'd7d46d9379dc411a2e11d1d047bb1f08c66d76ca':
Get support lib ready for release
20d467e20a3ba8e6fca0769d88c619b8944c284e 12-Aug-2015 Chris Banes <chrisbanes@google.com> am 0004b7b2: am ff19191e: Merge "Make FloatingActionButton focusable" into mnc-ub-dev

* commit '0004b7b2cabf2937f3056e83a4686f10cb5041f4':
Make FloatingActionButton focusable
490bf528b45f551b10d7a487f9b81cf732880bbb 07-Aug-2015 Chris Banes <chrisbanes@google.com> Get support lib ready for release

- Fixes gradle build
- Tags v23 APIs

BUG: 23092116
BUG: 23129175

Change-Id: If6e6b60f9e00921694605bd6d87c00a01d9ef39b
pi/23.txt
ff19191ee5da58db067835b59843302ef51fc504 12-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Make FloatingActionButton focusable" into mnc-ub-dev
056d2a8b39db63e7c2cd8c2d69e05525b280f5c6 11-Aug-2015 Chris Banes <chrisbanes@google.com> am 06b2a856: am 2fe4d11a: am fe624405: am a1579263: am 51252b97: Merge "Fix TextInputLayout not displaying RTL hint correctly" into mnc-dev

* commit '06b2a856e5ad3f7502254326b364a5d5a70e7081':
Fix TextInputLayout not displaying RTL hint correctly
2fe4d11ac7192c02dab55a527663c2c739f862ac 11-Aug-2015 Chris Banes <chrisbanes@google.com> am fe624405: am a1579263: am 51252b97: Merge "Fix TextInputLayout not displaying RTL hint correctly" into mnc-dev

* commit 'fe624405d1cbfa933201331711dc99195fabd317':
Fix TextInputLayout not displaying RTL hint correctly
3531cb37189bcbd3039056f959e0916dff645d0a 10-Aug-2015 Chris Banes <chrisbanes@google.com> Make FloatingActionButton focusable

BUG: 23070205
Change-Id: Ibae1c8472ba8160d80dc7071a1f7777039e203e8
pi/current.txt
rc/android/support/design/widget/FloatingActionButton.java
d5f3a08bb9e1c4b09237f16263aff953dca63904 09-Aug-2015 Chris Banes <chrisbanes@google.com> Fix TextInputLayout not displaying RTL hint correctly

Causing by us not specifying the horizontal gravity.
This lead to the default gravity of left.

BUG: 23037684
Change-Id: I1af0e0dc3cf35475b9a601d8fe94f0308450399d
rc/android/support/design/widget/TextInputLayout.java
1bf420730ddf23747df283caf6f8eba8e86fe7be 07-Aug-2015 Chris Banes <chrisbanes@google.com> am 437a2ac0: am 3d176d20: Merge "Fix tab indicator getting out of sync" into mnc-ub-dev

* commit '437a2ac0a70bdc2d43731ffb24fedf84615be47a':
Fix tab indicator getting out of sync
3d176d204e7e671b68ec4051c578c9a48068c422 07-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Fix tab indicator getting out of sync" into mnc-ub-dev
65fb4571ce472e3ea5d654f51025bb84925f5b22 07-Aug-2015 Chris Banes <chrisbanes@google.com> am 2dd67ac0: am 8c6f2081: Merge "Add more helpful exception to design components" into mnc-ub-dev

* commit '2dd67ac062eb7f7a9a83e4f864eb27b15f416f48':
Add more helpful exception to design components
cecb49d5783928346a26ba1769348ea280072dd1 07-Aug-2015 Chris Banes <chrisbanes@google.com> am eda9487d: am 56192cf2: Merge "Support text shadows in CollapsingTextHelper" into mnc-ub-dev

* commit 'eda9487dd1501899019809d35b5145fc10e145de':
Support text shadows in CollapsingTextHelper
8c6f2081ebd836a9e2812ebb92d795f9ff0c488f 07-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Add more helpful exception to design components" into mnc-ub-dev
23caabcc1fc96e3756d0c354b49290467080de6a 07-Aug-2015 Chris Banes <chrisbanes@google.com> Support text shadows in CollapsingTextHelper

BUG: 22999436
Change-Id: I2059e1b3f9a9526f10fcbca1659123f6b3a97777
rc/android/support/design/widget/CollapsingTextHelper.java
809bb62055ad42b88f3a69308be222801b89fbd9 07-Aug-2015 Chris Banes <chrisbanes@google.com> Add more helpful exception to design components

If a developer doesn't use a AppCompat theme, bad
things happen with the design lib. This CL adds
an explicit check with a helpful error message.

Change-Id: I60c81ed87057fa75b38e26bf8c4b1edbc9ff7a3f
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
rc/android/support/design/widget/ThemeUtils.java
de530a76ca9bd7befd611663bfbe05d186ea4f0e 06-Aug-2015 Chris Banes <chrisbanes@google.com> am c34969a0: am 56277ada: Merge "Fix FAB visibility=gone not working pre-v21" into mnc-ub-dev

* commit 'c34969a01f875494de19ef6803eaec8147706fde':
Fix FAB visibility=gone not working pre-v21
56277ada90b2aea4d845fc6d4c1a4d2050b1e4a8 06-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Fix FAB visibility=gone not working pre-v21" into mnc-ub-dev
ba2a96aaf54f6fc755856ef05a3c967a5f000b82 06-Aug-2015 Chris Banes <chrisbanes@google.com> Fix tab indicator getting out of sync

Caused when the indicator is animating to a
position, but a re-layout happens during the
animation moving the target position.

BUG: 23004032
Change-Id: If9ab0f7e6ea088b28ceca7666a8fde40d5e715e2
ase/android/support/design/widget/ValueAnimatorCompat.java
clair-mr1/android/support/design/widget/ValueAnimatorCompatImplEclairMr1.java
oneycomb-mr1/android/support/design/widget/ValueAnimatorCompatImplHoneycombMr1.java
rc/android/support/design/widget/TabLayout.java
92d279ce7d51389b254846fbc802f6950b33eeff 06-Aug-2015 Chris Banes <chrisbanes@google.com> Fix FAB visibility=gone not working pre-v21

Caused by using a view Animation for the elevation
changes. As an animation is kicked off via
jumpDrawableToCurrentState(), the animation will
temporarily make the view visible.

BUG: 23000525
Change-Id: If1ce17f8eb9ba44175508dc7bac232294bdd0a9b
ase/android/support/design/widget/StateListAnimator.java
5f4791e3d581a759c7df1495e73832eb48dbbb74 06-Aug-2015 Chris Banes <chrisbanes@google.com> am 0aea210f: am 9c217b58: Merge "Actually use the hint provided from attrs" into mnc-ub-dev

* commit '0aea210fd6897076813d10451ffdef4437b9ed4d':
Actually use the hint provided from attrs
4369f8b91f58ab2fa81b617d1d15ed0fa3185092 06-Aug-2015 Chris Banes <chrisbanes@google.com> Actually use the hint provided from attrs

BUG: 22913409
Change-Id: Ib4ed59080d53bdee562dd0263e9ded959d4bedb2
rc/android/support/design/widget/TextInputLayout.java
956cef01684faf7946de5f0fd7b6709e27529a3b 03-Aug-2015 Tor Norbye <tnorbye@google.com> Merge "Allow integers to both have @IntDef and @IntRange constraints"
44cdbbe54a120ffbe928b699f41daa654b915b92 03-Aug-2015 Chris Banes <chrisbanes@google.com> am ac806a0d: am 763ba64f: am ca560df9: Merge "Some fixes for TextInputLayout" into mnc-dev

* commit 'ac806a0dc695afe2661b0d5c4d889e25102c8319':
Some fixes for TextInputLayout
7ee7800c4d24c15a3552c37fcec2fa4bf68fe5e7 03-Aug-2015 Chris Banes <chrisbanes@google.com> am 2ba563b2: am 05f717db: am 381b9e8b: Merge "Make CoordinatorLayout request a window insets dispatch" into mnc-dev

* commit '2ba563b23ff95a8e5ca1cd92f1bc2a553586b0ec':
Make CoordinatorLayout request a window insets dispatch
36d347c02fa8da71ccd69634484be8156fa0085b 14-Jul-2015 Yuichi Araki <yaraki@google.com> NavigationView now supports app:actionLayout

The specified layout is inflated as an extra item in the menu row.

Bug: 22837324
Change-Id: Iaa0921c45395dd779429052019761e59d66c34be
es/layout/design_menu_item_action_area.xml
es/layout/design_navigation_item.xml
es/layout/design_navigation_menu_item.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/ParcelableSparseArray.java
ca560df98c008072b70f75c473fdabad7e7a6f43 03-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Some fixes for TextInputLayout" into mnc-dev
381b9e8b3494a5c6991e836245865760290d456f 03-Aug-2015 Chris Banes <chrisbanes@google.com> Merge "Make CoordinatorLayout request a window insets dispatch" into mnc-dev
de0cc188c28f8c19ef5e737e9cd22492b07250c8 01-Aug-2015 Tor Norbye <tnorbye@google.com> Allow integers to both have @IntDef and @IntRange constraints

Used to fix
181789: Incorrect/inconsistent lint + documentation for Snackbar

Change-Id: I12b68ed8dc0ff5e7c14857177af0c621c9ce5bc0
rc/android/support/design/widget/Snackbar.java
e3f6ba486fec4e11ca7508049ac81de4c7102f23 31-Jul-2015 Chris Banes <chrisbanes@google.com> Make CoordinatorLayout request a window insets dispatch

When using CoL in a Fragment, it's quite easy for it
to miss the normal window insets dispatch. As CoL contains
special functionality with insets, it should request new
window insets as necessary.

BUG: 22869860
Change-Id: Id9547b9e80e31acea5fffcd57d932d0bdb7f50cc
rc/android/support/design/widget/CoordinatorLayout.java
ab809dd75ef2f73b312038f2c10473cfa5885a58 31-Jul-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout scrolling when scrolling view is small

Currently AppBarLayout will only start scrolling if the
the View starting the nested scroll is large enough to be
scrolled. This works fine when that view is a direct sibling
of AppBarLayout, but when it is not a direct sibling we should
use it's parent instead of the view directly when checking the
height.

BUG: 22789052
Change-Id: Ibedbcb29d2a5ee917ad0b6140ad4ce7ff6fd04f2
rc/android/support/design/widget/AppBarLayout.java
8ad23944380932102f17a9a012cf9faf62ce9eda 30-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Allow CollapsingToolbarLayout's title is be disabled" into mnc-dev
3104067991a7d66e9e10e7a6ba49d809f83bc2ca 30-Jul-2015 Chris Banes <chrisbanes@google.com> Some fixes for TextInputLayout

- We now tint the EditText background
based on the error state
- Simultaneous calls to setError() now work
correctly (more animation listener setting
setVisibility).

BUG: 22841082
BUG: 21657563
Change-Id: I6b8e79ca488d84c56a0d6a8d80e8014bb7c5a2b6
rc/android/support/design/widget/TextInputLayout.java
1701feace5652372dd2fe1913f74169a12e2c940 28-Jul-2015 Chris Banes <chrisbanes@google.com> Allow CollapsingToolbarLayout's title is be disabled

BUG: 22782543
Change-Id: I72e513abae20cd5b25fefe6ff5061fee34daab0f
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/CollapsingToolbarLayout.java
83e76aa237302f4afde8ca45e76bb349f3b29851 29-Jul-2015 Chris Banes <chrisbanes@google.com> am c1392c0f: Merge "Mutate FAB backgrounds before tinting" into lmp-mr1-ub-dev

* commit 'c1392c0fcfe8bb4d971c30bd6813bb72eaa05204':
Mutate FAB backgrounds before tinting
c1392c0fcfe8bb4d971c30bd6813bb72eaa05204 29-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Mutate FAB backgrounds before tinting" into lmp-mr1-ub-dev
39d1d2d33cdd490d8b9f68d3300725035c1e0c56 29-Jul-2015 Chris Banes <chrisbanes@google.com> FloatingActionButton animation fixes

There are a few scenarios where the FAB can be left
in undesired states. This CL fixes them.

BUG: 22813854
BUG: 22810389
Change-Id: I87f0d7ec81cd1d25b40b5c41c0266095df91e3a9
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
rc/android/support/design/widget/FloatingActionButton.java
4ec3f8b245053f365624a428621d5bb2b09a78d7 28-Jul-2015 Chris Banes <chrisbanes@google.com> am 71561909: Merge "TabLayout improvements + fixes" into lmp-mr1-ub-dev

* commit '71561909a517b3f61f0a638fdeb2e262b38e8df9':
TabLayout improvements + fixes
a0f7a48850082ad48cf2639579331d8c792dbade 28-Jul-2015 Chris Banes <chrisbanes@google.com> Mutate FAB backgrounds before tinting

BUG: 22782850
Change-Id: I6c3281f7194c7f2e7989ad270469bcd8eaf953b6
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
09db0f00a693704eb747027def4279362c51894e 21-Jul-2015 Chris Banes <chrisbanes@google.com> TabLayout improvements + fixes

- Fix NPE when it's given an empty PagerAdapter
- Fix onTabReselected() being called at the wrong time
- Fix text flickering when used with ViewPager
- Fix wobbling indicator
- Optimized setSelectedTabView method

BUG: 22625805
BUG: 22709585
BUG: 22709728
BUG: 22711100

Change-Id: Ic8691c55f539707466928662a8d9a7acfbcbe92a
rc/android/support/design/widget/TabLayout.java
d9d7540f53e2dabce9c0188dd10533a086eef357 27-Jul-2015 Chris Banes <chrisbanes@google.com> am 2466ce08: Merge "Use the correct MeasureSpec for ScrollingViewBehavior" into lmp-mr1-ub-dev

* commit '2466ce0898d4252dd80cfbed1541160039dc8d37':
Use the correct MeasureSpec for ScrollingViewBehavior
2466ce0898d4252dd80cfbed1541160039dc8d37 27-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Use the correct MeasureSpec for ScrollingViewBehavior" into lmp-mr1-ub-dev
d6c56d929f7975eb6d80116e915ff5515a294c41 27-Jul-2015 Chris Banes <chrisbanes@google.com> Use the correct MeasureSpec for ScrollingViewBehavior

We were previously always using AT_MOST which resulted
in views wrapping when they shouldn't have been.

BUG: 22756162
Change-Id: I7ee7d27498b0203f37188f1c0a4bf41131f4bb2c
rc/android/support/design/widget/AppBarLayout.java
191d8450678be852a67b53635b85015686ac0c2a 27-Jul-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for merge of 7a13c848 to mnc-dev

Change-Id: I731f46520f97bce3e9a1ce96e126b51e1d6dbd82
7a13c8489daca7915623dd673df49de2d1a0bf30 27-Jul-2015 Chris Banes <chrisbanes@google.com> Return the correct tint/mode from FloatingActionButton

BUG: 22754431
Change-Id: Iab1a35bdc7d11149b7bb0faa24e498788902e0ea
rc/android/support/design/widget/FloatingActionButton.java
f7a85d1cca675b1743aa478f8307d5a189f724ec 24-Jul-2015 Chris Banes <chrisbanes@google.com> am 979a9f5a: Merge "Set CollapsingToolbarLayout\'s title from Toolbar" into lmp-mr1-ub-dev

* commit '979a9f5a7949dd93133be948fdc8fcb22117265b':
Set CollapsingToolbarLayout's title from Toolbar
39e381feaf74ba560b7ed78ff11d55e869455000 24-Jul-2015 Chris Banes <chrisbanes@google.com> am ef27e5f8: Add default constructor to Proguard rules

* commit 'ef27e5f88e13d60ce5743208c504d4a1b49ba13c':
Add default constructor to Proguard rules
979a9f5a7949dd93133be948fdc8fcb22117265b 24-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Set CollapsingToolbarLayout's title from Toolbar" into lmp-mr1-ub-dev
31075a61da61f1f0184ee909a70b1efcd7cee807 24-Jul-2015 Chris Banes <chrisbanes@google.com> Set CollapsingToolbarLayout's title from Toolbar

BUG: 22707786
Change-Id: Ie16737b10524cfc972f12fcf32f9f1cd88aa5434
rc/android/support/design/widget/CollapsingToolbarLayout.java
ef27e5f88e13d60ce5743208c504d4a1b49ba13c 24-Jul-2015 Chris Banes <chrisbanes@google.com> Add default constructor to Proguard rules

Change-Id: I622c8cf8e2c4e0714d8ec72aaf6248297c71ed8d
roguard-rules.pro
1bb61e0307f85b728b250b07c2997be9e295d8a9 23-Jul-2015 Chris Banes <chrisbanes@google.com> am eb344aa3: Merge "TextInputLayout fixes" into lmp-mr1-ub-dev

* commit 'eb344aa3dce8765684467c94b6b5b98831ab15fb':
TextInputLayout fixes
eb344aa3dce8765684467c94b6b5b98831ab15fb 22-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "TextInputLayout fixes" into lmp-mr1-ub-dev
9b1c6f5aed973e5c6360c5f7fc2453b85b535bcb 22-Jul-2015 Chris Banes <chrisbanes@google.com> am defa84b4: Merge "API tidy up for Snackbar" into lmp-mr1-ub-dev

* commit 'defa84b419d7235fde1b6a282da1267df04929ae':
API tidy up for Snackbar
b8a3b8ee61756f9f9a856eb2428bf2389fd92926 22-Jul-2015 Chris Banes <chrisbanes@google.com> TextInputLayout fixes

- Respect TextView gravity for hint
- Add flag to disable/enabled animations

BUG: 22651131
BUG: 22651135

Change-Id: Ibf05f30e514fac51db867c8318344f3fae4a4ae0
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/TextInputLayout.java
e51e533995e445f031fc8efcce6ff9a61e7066cc 20-Jul-2015 Chris Banes <chrisbanes@google.com> API tidy up for Snackbar

Made setCallback() return itself for chaining
Add an event type to the dismiss callback
Annotated more of the methods
Tightened up the class' visiblity

Change-Id: I63935be331ec39dce6483fd478f1dd14498c3cd9
pi/current.txt
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SnackbarManager.java
b69f3ba032254e1e39ca60a116d2bac4e3253c57 15-Jul-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for merge of d888896e to mnc-dev

Change-Id: I17fa8801aa598eb7102cc335e68ddc9cf643f418
d888896e1dc958b332ab8c75e1c8fa12190df908 15-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Bump version to v22.2.1" into lmp-mr1-ub-dev
ec2139270829c55b0c50c62612306c18b8c0b98b 14-Jul-2015 Chris Banes <chrisbanes@google.com> am 1629c7c8: Merge "Allow vertical dragging of AppBarLayout" into lmp-mr1-ub-dev

* commit '1629c7c8561372ec8a97df983edad01e0657b1d9':
Allow vertical dragging of AppBarLayout
d4c72f08279df548fbc4d556fe1a8b3500fafdbc 15-Jun-2015 Chris Banes <chrisbanes@google.com> Allow vertical dragging of AppBarLayout

Also fixed onStopNestedScroll() not being called
from NestedScrollView and RecyclerView

BUG: 21843568
BUG: 20679299

Change-Id: I1b19d7cae2db403ede30fc9116ea05aace586b3b
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
0086f850e457b0a00bd5790e4fb82c559459d3e0 09-Jul-2015 Chris Banes <chrisbanes@google.com> am 6b824bec: Merge "Expand TextInputLayout\'s API with more getters/setters" into lmp-mr1-ub-dev

* commit '6b824becfa480cad6d311f54921624438f1363ed':
Expand TextInputLayout's API with more getters/setters
6b824becfa480cad6d311f54921624438f1363ed 09-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Expand TextInputLayout's API with more getters/setters" into lmp-mr1-ub-dev
6a1f7414c26c9201ebd8ddee9edbb7242a88541e 09-Jul-2015 Chris Banes <chrisbanes@google.com> am 3211267e: Merge "Fix SwipeDismissBehavior for views not at left=0" into lmp-mr1-ub-dev

* commit '3211267e8a582c1a961316ad3c7b76babc6c65d1':
Fix SwipeDismissBehavior for views not at left=0
3211267e8a582c1a961316ad3c7b76babc6c65d1 09-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Fix SwipeDismissBehavior for views not at left=0" into lmp-mr1-ub-dev
2bda001ff9233e3dc3f8e27faf215534656d69af 09-Jul-2015 Chris Banes <chrisbanes@google.com> Fix SwipeDismissBehavior for views not at left=0

BUG: 22368155
Change-Id: I06df7eaba1cbe8e09022a6b6e1fcfa4e87fbfb54
rc/android/support/design/widget/SwipeDismissBehavior.java
2aa57abd4531068424642e1a5dfff47c17b84c2e 26-Jun-2015 Chris Banes <chrisbanes@google.com> Expand TextInputLayout's API with more getters/setters

BUG: 22106238
Change-Id: I2f22c3b33067db4688003a6e98271a5f3aa04d0c
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/TextInputLayout.java
88200b731cffad9c74af0c8fffdc58d2b7aa4443 09-Jul-2015 Yuichi Araki <yaraki@google.com> am 8e7aafeb: Merge "Fix NavigationView duplicating some items" into lmp-mr1-ub-dev

* commit '8e7aafeb3948e32da6a644ad309766954a962058':
Fix NavigationView duplicating some items
79df1163e183e4d624edb8c768a32baf11495522 09-Jul-2015 Yuichi Araki <yaraki@google.com> am b955ee1e: Make NavigationView scrollbar visible

* commit 'b955ee1e7c11c8204d10af85c5bcaed1f644a3d5':
Make NavigationView scrollbar visible
8e7aafeb3948e32da6a644ad309766954a962058 09-Jul-2015 Yuichi Araki <yaraki@google.com> Merge "Fix NavigationView duplicating some items" into lmp-mr1-ub-dev
42db3143bed767c8e826e69f214672be358078eb 09-Jul-2015 Yuichi Araki <yaraki@google.com> Fix NavigationView duplicating some items

Bug: 22365524
Change-Id: Ib872c494739270d3a5eb8c2d13a35c0d2fb090db
rc/android/support/design/internal/NavigationMenuPresenter.java
b955ee1e7c11c8204d10af85c5bcaed1f644a3d5 09-Jul-2015 Yuichi Araki <yaraki@google.com> Make NavigationView scrollbar visible

http://b.android.com/179390

Change-Id: I8682533f56460ffcdc07c3598f1b2359697199c5
es/layout/design_navigation_menu.xml
8f419d93d8a20de5dd04ada2d7c5a022619b12e4 08-Jul-2015 Chris Banes <chrisbanes@google.com> am fc829ef7: Merge "Overlay custom TextAppearances rather than nuke" into lmp-mr1-ub-dev

* commit 'fc829ef72d0bda580283394f126b775d89421111':
Overlay custom TextAppearances rather than nuke
09afab5f9acdd1b22cb4759ac7e1150bcf2410d6 08-Jul-2015 Chris Banes <chrisbanes@google.com> am dbd769d8: Merge "Remove the need for using a OnFocusChangeListener" into lmp-mr1-ub-dev

* commit 'dbd769d8a0779f91fed732284206ba8c0cc42d66':
Remove the need for using a OnFocusChangeListener
fc829ef72d0bda580283394f126b775d89421111 08-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Overlay custom TextAppearances rather than nuke" into lmp-mr1-ub-dev
dbd769d8a0779f91fed732284206ba8c0cc42d66 08-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Remove the need for using a OnFocusChangeListener" into lmp-mr1-ub-dev
4237f26387ad807565851b24b684f89fed2af565 07-Jul-2015 Chris Banes <chrisbanes@google.com> am 9fe887ec: Merge "Annotate Snackbar correctly" into lmp-mr1-ub-dev

* commit '9fe887ec2e219891376ba9c1d353a6d45b5f1153':
Annotate Snackbar correctly
22d515e2a24f91a8984db8e70cfcc941394e5b00 07-Jul-2015 Yuichi Araki <yaraki@google.com> am c977dc91: Merge "Add proguard rule for CoordinatorLayout.Bahavior" into lmp-mr1-ub-dev

* commit 'c977dc91886a8b67701d79ca057e319a4f41e756':
Add proguard rule for CoordinatorLayout.Bahavior
9934230aa2959ee9f1802aa81fd21e25030b0d10 07-Jul-2015 Chris Banes <chrisbanes@google.com> Overlay custom TextAppearances rather than nuke

Currently if a developer sets a custom TextAppearance
on CollapsingToolbarLayout without a text size, it breaks
since it doesn't have a text size to use.

This is fixed by always loading the default text appearances
first, and then overlaying any custom styles.

Also fixed the new margin top.

BUG: 22316083
Change-Id: I762698120cda501f6e335e41f8ceb82a246627c9
es/values/styles.xml
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
9fe887ec2e219891376ba9c1d353a6d45b5f1153 07-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Annotate Snackbar correctly" into lmp-mr1-ub-dev
5bb1f5d910c81ed2a31c687583bd90baccc972ac 07-Jul-2015 Chris Banes <chrisbanes@google.com> Annotate Snackbar correctly

BUG: 22313082
Change-Id: I90cd0a5f07d2a38ea0c310a3f5c5252251cb5a98
rc/android/support/design/widget/Snackbar.java
c977dc91886a8b67701d79ca057e319a4f41e756 07-Jul-2015 Yuichi Araki <yaraki@google.com> Merge "Add proguard rule for CoordinatorLayout.Bahavior" into lmp-mr1-ub-dev
3814cf377c0981fb3524f0e2d493c0ee2664a6ec 06-Jul-2015 Chris Banes <chrisbanes@google.com> am 80b7fc1f: Merge "Use Button for Snackbar\'s action" into lmp-mr1-ub-dev

* commit '80b7fc1fa8d9200b81b2409347678af79b128a49':
Use Button for Snackbar's action
cc2ee745b905af80285dbb952bb074f09356406d 06-Jul-2015 Chris Banes <chrisbanes@google.com> Bump version to v22.2.1

Also tags the API files

Change-Id: I50aadefc0e4e3c949a6b1cb317fafc70af3b2a8e
pi/22.2.1.txt
80b7fc1fa8d9200b81b2409347678af79b128a49 06-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Use Button for Snackbar's action" into lmp-mr1-ub-dev
295311874d0807bab84fb2091e608da9e9ef3cd9 06-Jul-2015 Chris Banes <chrisbanes@google.com> Remove the need for using a OnFocusChangeListener

Means that developers can set their own listener without
breaking TextInputLayout's listener.

BUG: 22293076

Change-Id: I1bacc3488405dc6aab02c93d648a81af4cdbf13c
rc/android/support/design/widget/TextInputLayout.java
edc349195592b50229c9a5d79e13ad4ab3b6d73a 06-Jul-2015 Chris Banes <chrisbanes@google.com> am 92f49ee0: Merge "Update default elevation values to spec" into lmp-mr1-ub-dev

* commit '92f49ee064d3d03ee0bf8c8192b9ec8dc12b9fd9':
Update default elevation values to spec
3752c59f8382bf6a1dd69551650f1d1edb249a9b 06-Jul-2015 Chris Banes <chrisbanes@google.com> Update default elevation values to spec

Change-Id: If678908c6c7ec8b373b850fba560f2a4e4fa487e
es/values/dimens.xml
5cf1a7e04097b7e116c118cfa823a4cdb48f38a1 06-Jul-2015 Chris Banes <chrisbanes@google.com> Use Button for Snackbar's action

Makes the action focusable for accessbility
purposes, and allows us to use the normal
borderless button style.

Change-Id: Ic94dac43434f0bddca19eb6fcea36ce6913460f5
es/layout/design_layout_snackbar_include.xml
es/values/styles.xml
rc/android/support/design/widget/Snackbar.java
02eb1cd6e40c7453bdfe8f1ac9a183d49d72131c 02-Jul-2015 Yuichi Araki <yaraki@google.com> am ff9bf0cc: Merge "Fix potential NPE when proguard is on" into lmp-mr1-ub-dev

* commit 'ff9bf0cc0dfd5c60037620917362789db000dd57':
Fix potential NPE when proguard is on
ff9bf0cc0dfd5c60037620917362789db000dd57 01-Jul-2015 Yuichi Araki <yaraki@google.com> Merge "Fix potential NPE when proguard is on" into lmp-mr1-ub-dev
653c415b857accd91be2396567711b2dd151fd54 30-Jun-2015 Chris Banes <chrisbanes@google.com> am 5605e4ab: Merge "Store OnOffsetChangeListener with hard refs" into lmp-mr1-ub-dev

* commit '5605e4ab277499a708ac24149844ef3a37d193ee':
Store OnOffsetChangeListener with hard refs
5605e4ab277499a708ac24149844ef3a37d193ee 30-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Store OnOffsetChangeListener with hard refs" into lmp-mr1-ub-dev
e764a03b533bfc0c48931d78967184218b9087e6 30-Jun-2015 Yuichi Araki <yaraki@google.com> Add proguard rule for CoordinatorLayout.Bahavior

Bug: 21589402
Change-Id: Ic3aba3e6935011e0e90123264e3719dcdb6fb799
uild.gradle
roguard-rules.pro
9d9e5f050714c1f82c3c1adeab97c9a83a795d9e 30-Jun-2015 Yuichi Araki <yaraki@google.com> Fix potential NPE when proguard is on

Bug: 22140597
Change-Id: I0a6039576d88805f74266f4af7418236a74c6577
rc/android/support/design/widget/NavigationView.java
a30ee841b517b44825308f1ec24aeb308a8be240 29-Jun-2015 Chris Banes <chrisbanes@google.com> am 66a875e5: Don\'t draw collapsing title if bounds are empty

* commit '66a875e525700de5eed715a52a3329ab5a310d96':
Don't draw collapsing title if bounds are empty
66a875e525700de5eed715a52a3329ab5a310d96 29-Jun-2015 Chris Banes <chrisbanes@google.com> Don't draw collapsing title if bounds are empty

Allows us to fix the issue of the title being
display under an expanded SearchView.

BUG: 22165213
Change-Id: I726b81e9905d7f79a17c929d4443986e9a41baeb
rc/android/support/design/widget/CollapsingTextHelper.java
6f730c0acfb10a929172ea2981a1aded0e39f5c7 29-Jun-2015 Chris Banes <chrisbanes@google.com> Store OnOffsetChangeListener with hard refs

Create a demo app the other day using an anon-inner
listener class. The listener stopped working randomly
which caught me out. There's no real need to store
these weakly.

Change-Id: Ie4e5328bab6f0b40c16f6b2b1f66c8c8415c9cc5
rc/android/support/design/widget/AppBarLayout.java
7944dd73b2a3f9750799340feed27128917410e1 29-Jun-2015 Chris Banes <chrisbanes@google.com> am bb829e3d: Merge "Add APIs to set AppBarLayout to be expanded or not" into lmp-mr1-ub-dev

* commit 'bb829e3d51be7da7e4d02c1abc58c5f9132197c2':
Add APIs to set AppBarLayout to be expanded or not
ddd0314875d48ec987eaad52a865bdfa2197b3b1 27-Jun-2015 Chris Banes <chrisbanes@google.com> am b9c88620: Merge "Setters for CollapsingToolbarLayout title gravity" into lmp-mr1-ub-dev

* commit 'b9c886204009908c9c22c0f9c356a95aeea138fb':
Setters for CollapsingToolbarLayout title gravity
80f2710b679782055404c1ba526fd08ac4b43f4b 27-Jun-2015 Yuichi Araki <yaraki@google.com> am 33c086b1: Merge "Fix SubMenu in NavigationView" into lmp-mr1-ub-dev

* commit '33c086b170ad408746728df4a4b5d6d9f10e7508':
Fix SubMenu in NavigationView
9995f7bdb02dbe16155661545fd64046ad3d56c2 01-Jun-2015 Chris Banes <chrisbanes@google.com> Add APIs to set AppBarLayout to be expanded or not

BUG: 21993903

Change-Id: I840665eab09814e8f09fb1a1f3f8bd13cac0d4b7
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingTextHelper.java
b9c886204009908c9c22c0f9c356a95aeea138fb 26-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Setters for CollapsingToolbarLayout title gravity" into lmp-mr1-ub-dev
33c086b170ad408746728df4a4b5d6d9f10e7508 26-Jun-2015 Yuichi Araki <yaraki@google.com> Merge "Fix SubMenu in NavigationView" into lmp-mr1-ub-dev
94a4d50356a9a78b38c25411f4660cdb6621dd33 26-Jun-2015 Chris Banes <chrisbanes@google.com> am dcc1ed2b: Merge "Take children\'s margin in account in AppBarLayout" into lmp-mr1-ub-dev

* commit 'dcc1ed2ba688c2dd7398e93c60520269dc40d60c':
Take children's margin in account in AppBarLayout
5c7d7bbceeaebc46dc2e4b2135cc330414f716d4 24-Jun-2015 Chris Banes <chrisbanes@google.com> Setters for CollapsingToolbarLayout title gravity

Most of the work is in CollapsingTextHelper to able
to support both v-grav and h-grav.

BUG: 22078891

Change-Id: Ie034c3a8077fb00174374d145ffba821fd49f0c1
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/TextInputLayout.java
dcc1ed2ba688c2dd7398e93c60520269dc40d60c 25-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Take children's margin in account in AppBarLayout" into lmp-mr1-ub-dev
025760e00ff7b0baa21981ff79784861841f8f19 24-Jun-2015 Chris Banes <chrisbanes@google.com> am 28193403: Merge "Prefix design lib resources to try and avoid conflicts" into lmp-mr1-ub-dev

* commit '28193403ecefb3f222f1e383adf4f9b331ebebcf':
Prefix design lib resources to try and avoid conflicts
a577676a64e5353b8ec927117151aa6be84adf66 23-Jun-2015 Chris Banes <chrisbanes@google.com> Prefix design lib resources to try and avoid conflicts

BUG: 21363917
Change-Id: I770a01618ac8fefae6d82d1640ccf313111e38e8
ase/android/support/design/widget/FloatingActionButtonImpl.java
ase/android/support/design/widget/ShadowDrawableWrapper.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
es/anim/design_fab_in.xml
es/anim/design_fab_out.xml
es/anim/design_snackbar_in.xml
es/anim/design_snackbar_out.xml
es/anim/fab_in.xml
es/anim/fab_out.xml
es/anim/snackbar_in.xml
es/anim/snackbar_out.xml
es/drawable/design_fab_background.xml
es/drawable/design_snackbar_background.xml
es/drawable/fab_background.xml
es/drawable/snackbar_background.xml
es/layout-sw600dp/design_layout_snackbar.xml
es/layout-sw600dp/layout_snackbar.xml
es/layout/design_layout_snackbar.xml
es/layout/design_layout_snackbar_include.xml
es/layout/design_layout_tab_icon.xml
es/layout/design_layout_tab_text.xml
es/layout/design_navigation_item.xml
es/layout/design_navigation_item_header.xml
es/layout/design_navigation_menu.xml
es/layout/layout_snackbar.xml
es/layout/layout_snackbar_include.xml
es/layout/layout_tab_icon.xml
es/layout/layout_tab_text.xml
es/values-sw600dp/config.xml
es/values-sw600dp/dimens.xml
es/values-v21/dimens.xml
es/values/colors.xml
es/values/config.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/TabLayout.java
75ad93503ad801e1cf76d69e448f955e3ce5c22b 22-Jun-2015 Chris Banes <chrisbanes@google.com> am 1832f6e4: Fix TextInputLayout setErrorEnabled() NPE

* commit '1832f6e483ae37e8b92914819c7e786d6f22f84b':
Fix TextInputLayout setErrorEnabled() NPE
1832f6e483ae37e8b92914819c7e786d6f22f84b 18-Jun-2015 Chris Banes <chrisbanes@google.com> Fix TextInputLayout setErrorEnabled() NPE

Caused by the animation end listener referencing
the now-null error TextView.

BUG: 21991987

Change-Id: Iacba13fb6d3a5d3fcf9069a73d94c91431f13fd4
rc/android/support/design/widget/TextInputLayout.java
83548477bd7a50c3a55d22707f17511894df4c5b 22-Jun-2015 Chris Banes <chrisbanes@google.com> am 21f887ec: Make Tab#getCustomView() public

* commit '21f887ec48f1e9780a69833723e1fba64e7557c5':
Make Tab#getCustomView() public
21f887ec48f1e9780a69833723e1fba64e7557c5 22-Jun-2015 Chris Banes <chrisbanes@google.com> Make Tab#getCustomView() public

BUG: 21989932
Change-Id: Iee65d3b3f4ca344d54a5631ab214582e7e74f61e
pi/current.txt
rc/android/support/design/widget/TabLayout.java
6c72ea0134a3309ff8197f0862aad8d7bc712b55 15-Jun-2015 Yuichi Araki <yaraki@google.com> Fix SubMenu in NavigationView

This introduces new wrappers; NavigationMenu and NavigationSubMenu.
These are necessary to notify the top menu when its sub menu is changed.
https://code.google.com/p/android/issues/detail?id=176300

Change-Id: I1ea97880dfb0e0c1dee6426b3c528d6d60323063
rc/android/support/design/internal/NavigationMenu.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationSubMenu.java
rc/android/support/design/widget/NavigationView.java
5cb08b09c9dee8fc83c475b4c234f6132e6a3782 19-Jun-2015 Chris Banes <chrisbanes@google.com> am 6fff1f92: Merge "Fix TabLayout when used in a HorizontalScrollView" into lmp-mr1-ub-dev

* commit '6fff1f920e152a0504d9ae745a0bfbc926a8e4c1':
Fix TabLayout when used in a HorizontalScrollView
b263b91ba75dc1a7855186e8b0e9cf75d46a6b8d 01-Jun-2015 Chris Banes <chrisbanes@google.com> Take children's margin in account in AppBarLayout

BUG: 21546828
Change-Id: I2623ff5bfd0395e2528dd3a658d47be1ea5f6573
rc/android/support/design/widget/AppBarLayout.java
d67a60744b4a713ca37e219e349b55743a39272a 18-Jun-2015 Chris Banes <chrisbanes@google.com> Fix TabLayout when used in a HorizontalScrollView

It's not an intended use case, but it does show up
some problems with TabLayout's measure code when
it's given an UNSPECIFIED measure spec. This CL
fixes TabLayout so that it measures itself correctly.

BUG: 21913808
Change-Id: I1674f3da1da334543c943ab3b7aa9d1920f325b6
rc/android/support/design/widget/TabLayout.java
591e7ae39003e29adc1aa8371b910614be904c2c 16-Jun-2015 Yuichi Araki <yaraki@google.com> am f9492b54: Remove unnecessary ripple

* commit 'f9492b54d361fffc5577d2905f111535b87f95ea':
Remove unnecessary ripple
f9492b54d361fffc5577d2905f111535b87f95ea 16-Jun-2015 Yuichi Araki <yaraki@google.com> Remove unnecessary ripple

https://code.google.com/p/android/issues/detail?id=176400

Change-Id: I8e0f5dc827c795f3a5acf1bee39fd79d9c927566
rc/android/support/design/internal/NavigationMenuPresenter.java
2521e5cf58f5353f32db138a9d23afce56570ebe 15-Jun-2015 Chris Banes <chrisbanes@google.com> am 0b004890: Fix FAB not returning after Snackbar dismissal

* commit '0b00489086b22c9688c8c04990dadf54489d45e3':
Fix FAB not returning after Snackbar dismissal
0b00489086b22c9688c8c04990dadf54489d45e3 12-Jun-2015 Chris Banes <chrisbanes@google.com> Fix FAB not returning after Snackbar dismissal

Caused by the fact that sometimes a removed view does
not trigger a onDependentViewChanged() dispatch. As
a removal doesn't really fit that method, I've added
a onDependentViewRemoved() call to Behavior.

BUG: 21799255
Change-Id: Ib86713a38928dfdbbfcf419e44bafe8023e5a8ee
pi/current.txt
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/FloatingActionButton.java
bd917cf89ea7b0afa8a4b9bf3f2e2bc1d0774064 15-Jun-2015 Chris Banes <chrisbanes@google.com> am 180b89d1: Merge "Move the Tab Indicator higher up the draw call stack" into lmp-mr1-ub-dev

* commit '180b89d1ee5a461a68384ee3a68467e591bdbc00':
Move the Tab Indicator higher up the draw call stack
01a40236dc35d361a406e8b393b9db84f3d866fa 15-Jun-2015 Chris Banes <chrisbanes@google.com> am 7a13691b: Ensure that SwipeDismissBehavior only swipes it\'s own View

* commit '7a13691bbc7b9ac557b69a1e8188a6b1a16b86ef':
Ensure that SwipeDismissBehavior only swipes it's own View
7366ff5274964d9c34e350206698ee3a8adc17da 15-Jun-2015 Yuichi Araki <yaraki@google.com> am d77d45c3: Merge "Fix issues with Drawable states in NavigationView" into lmp-mr1-ub-dev

* commit 'd77d45c36c6a551e9d2c0e7a87ba6b17f68813c5':
Fix issues with Drawable states in NavigationView
4bcf2733862ef3d5178923b68bbc71e671cf17b1 15-Jun-2015 Chris Banes <chrisbanes@google.com> am fa591aab: Merge "Add APIs to TabLayout to get selected tab position" into lmp-mr1-ub-dev

* commit 'fa591aab28de2eacabc23b4ce26791ea6f5a20b6':
Add APIs to TabLayout to get selected tab position
38fbaa586750181d3b9d5875522eecb72ce9450a 15-Jun-2015 Chris Banes <chrisbanes@google.com> am d6771842: Merge "Add LENGTH_INDEFINITE to Snackbar" into lmp-mr1-ub-dev

* commit 'd6771842d5efecd1c726f6acc82ff63113c64484':
Add LENGTH_INDEFINITE to Snackbar
442f2c89dbee247e70b6b82af92ce662b3880afd 15-Jun-2015 Chris Banes <chrisbanes@google.com> Move the Tab Indicator higher up the draw call stack

Allows us to always draw above the TabView children

BUG: 21842796
Change-Id: I6a3d6a90aeaf7a2263a3cd3a612f99f1ec28ed0c
rc/android/support/design/widget/TabLayout.java
7a13691bbc7b9ac557b69a1e8188a6b1a16b86ef 15-Jun-2015 Chris Banes <chrisbanes@google.com> Ensure that SwipeDismissBehavior only swipes it's own View

Currently it could intercept the touch for any view within
the CoordinatorLayout. This CL fixes it by checking
that the MotionEvent is within the Behaviors attached
View.

BUG: 21838809
Change-Id: I9f22443ea65a9e7d4b6d63e58a513bd57824204b
rc/android/support/design/widget/SwipeDismissBehavior.java
d77d45c36c6a551e9d2c0e7a87ba6b17f68813c5 15-Jun-2015 Yuichi Araki <yaraki@google.com> Merge "Fix issues with Drawable states in NavigationView" into lmp-mr1-ub-dev
fa591aab28de2eacabc23b4ce26791ea6f5a20b6 15-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Add APIs to TabLayout to get selected tab position" into lmp-mr1-ub-dev
1a542ba7235ec038f7ec1ac0ed65f35d29f5c952 15-Jun-2015 Yuichi Araki <yaraki@google.com> Fix issues with Drawable states in NavigationView

- Background drawable is properly rendered now
https://code.google.com/p/android/issues/detail?id=176570
- Icon tinting properly works on Gingerbread now
https://code.google.com/p/android/issues/detail?id=176133

Change-Id: I6485a3fbeb7076151233cebccc0b4478a0210cd3
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
d6771842d5efecd1c726f6acc82ff63113c64484 13-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Add LENGTH_INDEFINITE to Snackbar" into lmp-mr1-ub-dev
6df24a0e8bf73f183e12b83a2095c2276fa0d8f1 12-Jun-2015 Jens Ole Lauridsen <jlauridsen@google.com> am e3b728db: Merge "DesignTime: Do not use animation in design time." into lmp-mr1-ub-dev

* commit 'e3b728db78e4f6a7533f93d70e9a513751b4a005':
DesignTime: Do not use animation in design time.
e3b728db78e4f6a7533f93d70e9a513751b4a005 12-Jun-2015 Jens Ole Lauridsen <jlauridsen@google.com> Merge "DesignTime: Do not use animation in design time." into lmp-mr1-ub-dev
1960354295716c6c4755b917e42e24efec6ca8dc 12-Jun-2015 Chris Banes <chrisbanes@google.com> am fe2bbcd8: Merge "Simplify tab min/max width measure code" into lmp-mr1-ub-dev

* commit 'fe2bbcd84ea174f75852c4c12b1eab782dd80a24':
Simplify tab min/max width measure code
fe2bbcd84ea174f75852c4c12b1eab782dd80a24 12-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Simplify tab min/max width measure code" into lmp-mr1-ub-dev
0bfb0e034ed6b4f7bbf58a111d2fc893e0553350 12-Jun-2015 Chris Banes <chrisbanes@google.com> Add LENGTH_INDEFINITE to Snackbar

BUG: 21802300

Change-Id: Id7b519b0ea08760dea12d1f1b1bb3fcf202b4c6e
pi/current.txt
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SnackbarManager.java
35ee849e74452227047987c4eb2355b8a61b0505 12-Jun-2015 Chris Banes <chrisbanes@google.com> Simplify tab min/max width measure code

Allows us to fix some states when both the min and max are set,
but are not both taken into account.

Change-Id: I7b1edaed29a4cef992b32e85ca61ba1501c15120
rc/android/support/design/widget/TabLayout.java
1f9bc6c19bb18b3e10e008d7b1630733d768d8e1 12-Jun-2015 Chris Banes <chrisbanes@google.com> am ca21b5bb: Merge "Drag in the EditText\'s hint colors in TextInputLayout" into lmp-mr1-ub-dev

* commit 'ca21b5bb2db5edfce75bcfc52a7f2125ef1e68ba':
Drag in the EditText's hint colors in TextInputLayout
ca21b5bb2db5edfce75bcfc52a7f2125ef1e68ba 12-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Drag in the EditText's hint colors in TextInputLayout" into lmp-mr1-ub-dev
5c42e6145cc5a917f3e97d241d55f76e2790504a 12-Jun-2015 Chris Banes <chrisbanes@google.com> Drag in the EditText's hint colors in TextInputLayout

BUG: 21797735
Change-Id: I337387169650836763bf0934b3a8172f9adc4e9e
rc/android/support/design/widget/TextInputLayout.java
29b4c372fc299966a87890d8a5b4accb02913b6a 12-Jun-2015 Chris Banes <chrisbanes@google.com> am 344bc9b6: Merge "Fix Tab click not updating the visible selected Tab" into lmp-mr1-ub-dev

* commit '344bc9b6f362b9239b02fa4b3fcc461ccc44d73f':
Fix Tab click not updating the visible selected Tab
2b4b6274ed8c85c98489f67ddc8b7410c218e289 11-Jun-2015 Jens Ole Lauridsen <jlauridsen@google.com> DesignTime: Do not use animation in design time.

Animations are used in response to a nested scroll in an App Bar
to: turn off the FAB and make the scrim opaque such that a image
is invisible when the toolbar is collapsed.
In design time: do not use animations.
This will allow LayoutLib to render the controls correctly after
the toolbar is collapsed.

Change-Id: Id168ce24d4539a765ccbe09a11ffc96716f28ae6
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/FloatingActionButton.java
1a2ccecaf4ea84b1a9ecadb0bdba6d99a4935abb 12-Jun-2015 Chris Banes <chrisbanes@google.com> Add APIs to TabLayout to get selected tab position

BUG: 21796426
Change-Id: I6570a224780a37924576f62a9967cd4d8654fbb0
pi/current.txt
rc/android/support/design/widget/TabLayout.java
15ed6a51e94cf108c3e5043d13e02c634c44faae 12-Jun-2015 Chris Banes <chrisbanes@google.com> Fix Tab click not updating the visible selected Tab

BUG: 21795536
Change-Id: Ie51ecc29bce4ff0f9a84b9fa1e64556b2b8a2f92
rc/android/support/design/widget/TabLayout.java
ded3a5d5890aee32b9624aa605d1f35b1359010d 11-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "API council review feedback for ActionMenuView - support edition" into mnc-dev
fdd6ec4abeb9100944ea5c043ebc07a707cb4764 11-Jun-2015 Jens Ole Lauridsen <jlauridsen@google.com> DesignTime: Compute the size of the collapsed text correctly from start. DO NOT MERGE

CollapsingToolbarLayout has a mDummyView field which computed bounds is
used for the collapsed bounds of the mCollapsingTextHelper.
The initial size is currently computed wrong (will be empty) because the
mDummyView is added during CollapsingToolbarLayout.onLayout().
This CL makes sure that mDummyView is added before the first layout phase
such that the correct size is computed during the first layout.
This fix allows LayoutLib to create a collapsed App Bar where the text
is rendered in the correct size.

Change-Id: I4f56ffe05bb9a9fa533e00a80edb737e13937af9
(cherry picked from commit 33970bf6064d060cdf5a5a4a9fb9286269de6752)
rc/android/support/design/widget/CollapsingToolbarLayout.java
cdc03eb4fed11f97d3e450e112bea0c89bc7a99a 11-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "DesignTime: Compute the size of the collapsed text correctly from start." into mnc-dev
33970bf6064d060cdf5a5a4a9fb9286269de6752 11-Jun-2015 Jens Ole Lauridsen <jlauridsen@google.com> DesignTime: Compute the size of the collapsed text correctly from start.

CollapsingToolbarLayout has a mDummyView field which computed bounds is
used for the collapsed bounds of the mCollapsingTextHelper.
The initial size is currently computed wrong (will be empty) because the
mDummyView is added during CollapsingToolbarLayout.onLayout().
This CL makes sure that mDummyView is added before the first layout phase
such that the correct size is computed during the first layout.
This fix allows LayoutLib to create a collapsed App Bar where the text
is rendered in the correct size.

Change-Id: I4f56ffe05bb9a9fa533e00a80edb737e13937af9
rc/android/support/design/widget/CollapsingToolbarLayout.java
6f96f0e9ea9f5d48627fd81d12bb1063c7bc592d 10-Jun-2015 Chris Banes <chrisbanes@google.com> am ea61bdd2: Merge "Fix Snackbar sw600dp gravity" into lmp-mr1-ub-dev

* commit 'ea61bdd2e59c535910938358b68cce9af5616995':
Fix Snackbar sw600dp gravity
2970824ded7af86ca85b630730a2eda69b3666b9 10-Jun-2015 Chris Banes <chrisbanes@google.com> am b6eaf30a: Merge "Show/hide FloatingActionButton improvements" into lmp-mr1-ub-dev

* commit 'b6eaf30a24affa0d23889abe975c5a326c01e97c':
Show/hide FloatingActionButton improvements
bc44b866f8301d0de5acb85734bb5d4feae3078a 10-Jun-2015 Chris Banes <chrisbanes@google.com> am 6ca28414: Merge "Make TabLayout more customizable" into lmp-mr1-ub-dev

* commit '6ca2841444fa47edede00296d09f21dde6de2f39':
Make TabLayout more customizable
ee460c94c4d40c88cf4ffe2d2cee30674438c062 10-Jun-2015 Yuichi Araki <yaraki@google.com> am 024b3639: Fix NPE on orientation change

* commit '024b36390fce843107b0916f0c3468e5a67a212a':
Fix NPE on orientation change
ea61bdd2e59c535910938358b68cce9af5616995 10-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Fix Snackbar sw600dp gravity" into lmp-mr1-ub-dev
078e7622fe6f0a24fd91ddf315e9cbafe0e27a52 10-Jun-2015 Chris Banes <chrisbanes@google.com> Fix Snackbar sw600dp gravity

BUG: 21748931
Change-Id: Ic593dc76f8d5aef3d1ec82422581688bc976485d
es/layout-sw600dp/layout_snackbar.xml
be48ed9161c09c4b2178ab6dbe28638222809fc7 05-Jun-2015 Chris Banes <chrisbanes@google.com> Show/hide FloatingActionButton improvements

We now have an explicit show()/hide() method so that
developers can use the spec'd animation.

Also fixed an issue where the FAB would be animated in,
overriding the developers set vsibility.

BUG: 21652571
BUG: 21652427
BUG: 21689751

Change-Id: I248d49b812c018e6d46a6ccde262433868ae272e
pi/current.txt
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
oneycomb-mr1/android/support/design/widget/FloatingActionButtonHoneycombMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
rc/android/support/design/widget/FloatingActionButton.java
7325cdad103472c460c1dd492ec9f9ac0df57d50 09-Jun-2015 Chris Banes <chrisbanes@google.com> API council review feedback for ActionMenuView - support edition

Reverts "MenuItem, navigation and overflow icon tinting" CL,
and adds getter and setter for the overflow icon to ActionMenuView
and Toolbar.

BUG: 21571899

Change-Id: I4ba7f6bb5c94ea52bfc482590b9de620640bd8d5
pi/current.txt
6ca2841444fa47edede00296d09f21dde6de2f39 10-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Make TabLayout more customizable" into lmp-mr1-ub-dev
024b36390fce843107b0916f0c3468e5a67a212a 10-Jun-2015 Yuichi Araki <yaraki@google.com> Fix NPE on orientation change

Fix NPE when the screen is rotated without any menu items checked in
NavigationView.

Change-Id: I8bcf22832643d4a03b8c1ef06a448c81a7bf562a
rc/android/support/design/internal/NavigationMenuPresenter.java
39cfe79f2d3d0c0b90c8dbc0159cac1a2440e451 10-Jun-2015 Chris Banes <chrisbanes@google.com> am a0e42834: Merge "Allow AppBarLayout to handle size changes" into lmp-mr1-ub-dev

* commit 'a0e4283492ce60726662ae6f770f1d7d4c7c3a1e':
Allow AppBarLayout to handle size changes
55e77e6a5a099c850b6cf6b1dd84a50c7a7cc050 10-Jun-2015 Chris Banes <chrisbanes@google.com> am 153fa9a0: Add method to change NavigationView text appearance

* commit '153fa9a03422419cd56b7d17def1ae907fc7b5cf':
Add method to change NavigationView text appearance
3de571193fa73997db100d5764b2367c5b31a3c1 10-Jun-2015 Chris Banes <chrisbanes@google.com> am cc102ca5: Merge "Re-enable border sheen (aka border)" into lmp-mr1-ub-dev

* commit 'cc102ca5898dc93ca502aac587524ff6789b9445':
Re-enable border sheen (aka border)
5a27940cf7e6eabd451b70bfb73ad1dce0950125 10-Jun-2015 Chris Banes <chrisbanes@google.com> am 1cb0698d: Merge "Improvements to TextInputLayout" into lmp-mr1-ub-dev

* commit '1cb0698d30301a4c8488274571461bef5f18971a':
Improvements to TextInputLayout
ac09900da341c0aed722ee7ea93dedc5f6817ef8 10-Jun-2015 Yuichi Araki <yaraki@google.com> am 9b6192b8: Merge "NavigationView handles checked status" into lmp-mr1-ub-dev

* commit '9b6192b8402b2609060a20c72670d8260bd9c0c2':
NavigationView handles checked status
d2212bf028d053cdc978270c2591c74a9cd6d57a 09-Jun-2015 Chris Banes <chrisbanes@google.com> am d9d3addb: Fix CollapsingToolbarLayout not invalidating text

* commit 'd9d3addb4628537f68348d40346765b7f407cf79':
Fix CollapsingToolbarLayout not invalidating text
57a0f459ed169fa770864a6a7ac6e5b42177d564 09-Jun-2015 Chris Banes <chrisbanes@google.com> am 88cccf6c: Fix NoSuchMethodError in CoL on Eclair 2.1

* commit '88cccf6c76b6a1c2d67152c2de5599f3c8301b18':
Fix NoSuchMethodError in CoL on Eclair 2.1
40fc642141f4ee9ce0763febe67dc258eed04a2b 08-Jun-2015 Chris Banes <chrisbanes@google.com> Make TabLayout more customizable

We now try to find a suitable TextView and ImageView
from the provided custom view.

The text and icon views are now also loaded from
resources, which allows external apps to hook
into the LayoutInflater to style them.

I also went crazy with the new support annotations.

BUG: 21689777

Change-Id: I4026d0cb451f82119a8f8a4ca6c265ed50432bac
es/layout/layout_tab_icon.xml
es/layout/layout_tab_text.xml
rc/android/support/design/widget/TabLayout.java
a0e4283492ce60726662ae6f770f1d7d4c7c3a1e 09-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Allow AppBarLayout to handle size changes" into lmp-mr1-ub-dev
153fa9a03422419cd56b7d17def1ae907fc7b5cf 08-Jun-2015 Chris Banes <chrisbanes@google.com> Add method to change NavigationView text appearance

BUG: 21455036
Change-Id: I5ce72af991c66ac1f7750bd1820bc4361f95eddf
pi/current.txt
es/values/attrs.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
cc102ca5898dc93ca502aac587524ff6789b9445 09-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Re-enable border sheen (aka border)" into lmp-mr1-ub-dev
1cb0698d30301a4c8488274571461bef5f18971a 09-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Improvements to TextInputLayout" into lmp-mr1-ub-dev
1bf6093c6dab532bc57c75767470afa3cbbe0384 02-Jun-2015 Chris Banes <chrisbanes@google.com> Improvements to TextInputLayout

Also documented the OnFocusChangeListener behavior.

BUG: 21546826

Change-Id: I23b2b59b1d56763d138075a1852ba1e9cb7478b0
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/TextInputLayout.java
9b6192b8402b2609060a20c72670d8260bd9c0c2 09-Jun-2015 Yuichi Araki <yaraki@google.com> Merge "NavigationView handles checked status" into lmp-mr1-ub-dev
6817ed030b32878564f12554e10d71246ee48a8f 09-Jun-2015 Yuichi Araki <yaraki@google.com> am 9c1547f8: Merge "Fix NPE in NavigationView" into lmp-mr1-ub-dev

* commit '9c1547f89fff53eb2fc20f5726e9cfbf7655fc74':
Fix NPE in NavigationView
762955b388526935ac493c67214ab096b7e88a04 09-Jun-2015 Yuichi Araki <yaraki@google.com> am af016cf1: Merge "Fix for menu XML ending with a sub menu" into lmp-mr1-ub-dev

* commit 'af016cf1032692621ecc05db68b75fc5c33ab659':
Fix for menu XML ending with a sub menu
d9d3addb4628537f68348d40346765b7f407cf79 08-Jun-2015 Chris Banes <chrisbanes@google.com> Fix CollapsingToolbarLayout not invalidating text

BUG: 21693642
Change-Id: Idc0832398c98fb843dfc3db795fa916e2c2d74c6
rc/android/support/design/widget/CollapsingTextHelper.java
092f4b4fc5610ed1a2c4f5108066726ee59d8f16 08-Jun-2015 Chris Banes <chrisbanes@google.com> Re-enable border sheen (aka border)

Seems that certain devices have problems with the
DST_OVER PorterDuff mode. We workaround it by
manually compositing the colors in the LinearGradient.

BUG: 21527675

Change-Id: Ideacb357533297ff3af17fdbf1e8b65dcea48150
ase/android/support/design/widget/CircularBorderDrawable.java
ase/android/support/design/widget/FloatingActionButtonImpl.java
es/values/styles.xml
88cccf6c76b6a1c2d67152c2de5599f3c8301b18 08-Jun-2015 Chris Banes <chrisbanes@google.com> Fix NoSuchMethodError in CoL on Eclair 2.1

Change-Id: I2388b7b41d0d573fa133c4aa70337d161c27ce57
rc/android/support/design/widget/CoordinatorLayout.java
f9b8005bf607feddd9b482f817bd68c46739e4f1 08-Jun-2015 Yuichi Araki <yaraki@google.com> NavigationView handles checked status

NavigationView now handles checked status in its menu. This was
necessary to handle checked status for items in sub menu. Also, it now
forces only one item to be marked as checked among all the checkable
items in the menu. Menu groups can be marked as checkedBehavior="single"
or ="all", but all the items behave the same in either cases.

Change-Id: Ia2e1a39475175b5ada8ec84273a39b995ec414c3
pi/current.txt
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
3e51099621857da0572458c8097b799795ea9a06 08-Jun-2015 Yuichi Araki <yaraki@google.com> Fix NPE in NavigationView

Change-Id: I64fe41e5d823cfa065e6003d17ff356297a4cd8d
rc/android/support/design/widget/NavigationView.java
af016cf1032692621ecc05db68b75fc5c33ab659 08-Jun-2015 Yuichi Araki <yaraki@google.com> Merge "Fix for menu XML ending with a sub menu" into lmp-mr1-ub-dev
7afe341ea78b8621e65690cfe1049ab129b3879d 06-Jun-2015 Chris Banes <chrisbanes@google.com> am 6a93c2eb: Merge "Add typeface support to TextInputLayout" into lmp-mr1-ub-dev

* commit '6a93c2eb5ae27f175f71fa025db40660ef0faf69':
Add typeface support to TextInputLayout
f42357c2dd845b71dbad25ee020aa126b688421f 06-Jun-2015 Chris Banes <chrisbanes@google.com> am 26389612: Merge "Ensure TabLayout + ViewPager selected item are in sync" into lmp-mr1-ub-dev

* commit '26389612704e87706994079597ad4b66b9c249e3':
Ensure TabLayout + ViewPager selected item are in sync
55f3d29c12610da3574c4f488fbc3a1c7ca790f1 05-Jun-2015 Chris Banes <chrisbanes@google.com> Allow AppBarLayout to handle size changes

BUG: 21662657
Change-Id: Idcd7ef2b49aa9c0d4a19804f68e644d26c11aa33
rc/android/support/design/widget/AppBarLayout.java
388841ca2f07d0da9bbdc66c51abe789e05cf17b 05-Jun-2015 Chris Banes <chrisbanes@google.com> Add typeface support to TextInputLayout

BUG: 21652436

Change-Id: I008d72e2508f893e402336a8d87a81aaceb5ddbf
pi/current.txt
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/TextInputLayout.java
cc7a09fc0018e348027151daecf581b1d1b78f11 05-Jun-2015 Yuichi Araki <yaraki@google.com> Fix for menu XML ending with a sub menu

Bug: 21650306
Change-Id: I4ba4f1f2a04354416ce914914806cf5ec8acd0d4
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
523bcc0658232d29f2a40b8a49921125342cbc1e 05-Jun-2015 Chris Banes <chrisbanes@google.com> am 380851fd: Merge "Fix setRippleColor on FloatingActionButton" into lmp-mr1-ub-dev

* commit '380851fdf1110f3de65cbf20373981858c53734a':
Fix setRippleColor on FloatingActionButton
8eb2762759cf51ffbe8544f3796a6c58571f1e33 05-Jun-2015 Chris Banes <chrisbanes@google.com> am 5a86f7c8: Merge "Make the FAB appear visually correct pre-L" into lmp-mr1-ub-dev

* commit '5a86f7c87b80dd6146335305aa7ce8027d67408e':
Make the FAB appear visually correct pre-L
26389612704e87706994079597ad4b66b9c249e3 04-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Ensure TabLayout + ViewPager selected item are in sync" into lmp-mr1-ub-dev
5e690a713ed3e3a7d4092838e5ac24c761a8c527 03-Jun-2015 Chris Banes <chrisbanes@google.com> Fix setRippleColor on FloatingActionButton

BUG: 21613667
Change-Id: I962acc51e3a4cffee18b11303b300399fe7598fa
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
5a86f7c87b80dd6146335305aa7ce8027d67408e 03-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Make the FAB appear visually correct pre-L" into lmp-mr1-ub-dev
c179c5f7bbbf5ea934d3e5943113bbf31fe3e4d1 02-Jun-2015 Chris Banes <chrisbanes@google.com> am 613dfb42: Merge "Allow setting the Tab Indicator at runtime" into lmp-mr1-ub-dev

* commit '613dfb42db820c2c82de8a4e1ab99a9be67569f3':
Allow setting the Tab Indicator at runtime
613dfb42db820c2c82de8a4e1ab99a9be67569f3 02-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Allow setting the Tab Indicator at runtime" into lmp-mr1-ub-dev
84a51515c4b2d8b7b8dd619e158589c78048adf9 31-May-2015 Chris Banes <chrisbanes@google.com> Allow setting the Tab Indicator at runtime

BUG: 21538661

Change-Id: I296857a3ba445e40a10848de24c71e437b2c5998
pi/current.txt
rc/android/support/design/widget/TabLayout.java
25bfc2ea725727c153f2011225f1c0970da46525 02-Jun-2015 Yuichi Araki <yaraki@google.com> am b2f46f83: Merge "Keep the selected state of items in NavigationView" into lmp-mr1-ub-dev

* commit 'b2f46f835d8c4cbe9385084beac111e8c9dfe789':
Keep the selected state of items in NavigationView
e882ef3492de3d2bb687b454e08b870b06d8f4e2 02-Jun-2015 Chris Banes <chrisbanes@google.com> Make the FAB appear visually correct pre-L

Caused by the compat shadow's internal padding. We
now offset the FAB to take account of the padding.

BUG: 21576753

Change-Id: Id0c0bf2c9a349f10474c0a869ab943bb69fce128
pi/current.txt
rc/android/support/design/widget/FloatingActionButton.java
b2f46f835d8c4cbe9385084beac111e8c9dfe789 02-Jun-2015 Yuichi Araki <yaraki@google.com> Merge "Keep the selected state of items in NavigationView" into lmp-mr1-ub-dev
f833f72818f63332aaf56e0b0701e9b372f77d0b 02-Jun-2015 Chris Banes <chrisbanes@google.com> am c0b8bcbb: Merge "Add a Callback to Snackbar" into lmp-mr1-ub-dev

* commit 'c0b8bcbbd8d21bb6e80dc322240f17298044a810':
Add a Callback to Snackbar
88099e980603405174b7d608813d524aa3848098 02-Jun-2015 Chris Banes <chrisbanes@google.com> am 252b1765: Merge "Fix TextInputLayout laying out RTL text as LTR" into lmp-mr1-ub-dev

* commit '252b1765004f1df960867ff3640d2f48cb324e17':
Fix TextInputLayout laying out RTL text as LTR
c0b8bcbbd8d21bb6e80dc322240f17298044a810 02-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Add a Callback to Snackbar" into lmp-mr1-ub-dev
252b1765004f1df960867ff3640d2f48cb324e17 02-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Fix TextInputLayout laying out RTL text as LTR" into lmp-mr1-ub-dev
76bd4d2c1173100ab73c4f27dc42dd917c48915f 02-Jun-2015 Yuichi Araki <yaraki@google.com> Keep the selected state of items in NavigationView

Bug: 21550053
Change-Id: I56bd2a0bbf9e42a309b57d48ce301e9aa17aca29
rc/android/support/design/internal/NavigationMenuPresenter.java
bfae5eb86f8c5e63b33b6d36073f2230599a716b 01-Jun-2015 Chris Banes <chrisbanes@google.com> Add a Callback to Snackbar

BUG: 21553485
Change-Id: I465ec53a7479979da0dbe464913658e1d1bf3b63
pi/current.txt
rc/android/support/design/widget/Snackbar.java
5e25a58fa24e5e8609972702376746b0baab9e38 01-Jun-2015 Chris Banes <chrisbanes@google.com> am a611711d: Take compound drawables into account for TextInputLayout

* commit 'a611711d69eaf8ba65af12118a96810fc17b4163':
Take compound drawables into account for TextInputLayout
a611711d69eaf8ba65af12118a96810fc17b4163 01-Jun-2015 Chris Banes <chrisbanes@google.com> Take compound drawables into account for TextInputLayout

BUG: 21549903
Change-Id: I932f535a2af700d08190ebfc8c4cf16d1d9e7c8a
rc/android/support/design/widget/TextInputLayout.java
fef6dbf449d6e2992872a725170c5fcb4aa16975 31-May-2015 Chris Banes <chrisbanes@google.com> Fix TextInputLayout laying out RTL text as LTR

BUG: 21539571
Change-Id: Ica90dd07dc5cb1e6893740350e429ca5e447a8d7
rc/android/support/design/widget/CollapsingTextHelper.java
112f648090b48c0d00a51983baf148dbbc800abb 31-May-2015 Chris Banes <chrisbanes@google.com> Ensure TabLayout + ViewPager selected item are in sync

BUG: 21539668
Change-Id: I3d472ca8b151af8b8cf56a0e9a9cbcad38bced97
rc/android/support/design/widget/TabLayout.java
86385d7bfd33614bccc4350941f9f0747c0f7893 31-May-2015 Chris Banes <chrisbanes@google.com> am b08e15be: Merge "Fix custom Snackbar durations not working" into lmp-mr1-ub-dev

* commit 'b08e15be8c888234a661b28b9c4031f52b369349':
Fix custom Snackbar durations not working
c13c14c1bc01f98443bae38a172622c8e1c63c23 31-May-2015 Chris Banes <chrisbanes@google.com> am 39dcb8e6: Merge "Fix NavigationView\'s text appearance" into lmp-mr1-ub-dev

* commit '39dcb8e69987721ce8cc15f8d8b7379e58f6c303':
Fix NavigationView's text appearance
58df9e664892b3a8dd6193f946e9fc9b24c617ba 31-May-2015 Chris Banes <chrisbanes@google.com> am 47f4c78d: Merge "Make sure we always use the provide Tab text colors" into lmp-mr1-ub-dev

* commit '47f4c78d69986fe71d77f6afddeb7fde0265c197':
Make sure we always use the provide Tab text colors
b08e15be8c888234a661b28b9c4031f52b369349 31-May-2015 Chris Banes <chrisbanes@google.com> Merge "Fix custom Snackbar durations not working" into lmp-mr1-ub-dev
2361e349a59da4d3791e5d2a0d842a84dba91b41 31-May-2015 Chris Banes <chrisbanes@google.com> Fix custom Snackbar durations not working

BUG: 21539150
Change-Id: Ib4e2658efeb00803a2571db1408f094bae6f1f3e
rc/android/support/design/widget/SnackbarManager.java
39dcb8e69987721ce8cc15f8d8b7379e58f6c303 31-May-2015 Chris Banes <chrisbanes@google.com> Merge "Fix NavigationView's text appearance" into lmp-mr1-ub-dev
47f4c78d69986fe71d77f6afddeb7fde0265c197 31-May-2015 Chris Banes <chrisbanes@google.com> Merge "Make sure we always use the provide Tab text colors" into lmp-mr1-ub-dev
56c266c9b88e3814c35e2f722c67831b3f9f4da3 30-May-2015 Chris Banes <chrisbanes@google.com> Fix NavigationView's text appearance

BUG: 21455036

Change-Id: I53b5a5fe304796736bcf78df5437c24bebd17b57
es/layout/design_navigation_item.xml
es/layout/design_navigation_item_subheader.xml
82042243a3592851e3ce5aefaa2b784210499ac8 30-May-2015 Chris Banes <chrisbanes@google.com> Make sure we always use the provide Tab text colors

BUG: 21527183
Change-Id: I36375ad94777de19828c5e2f6b5af59e57e541ac
rc/android/support/design/widget/TabLayout.java
65f10b7f7c3b1a9af4d44718dbfaeb3d2e499144 30-May-2015 Chris Banes <chrisbanes@google.com> am 2c638f15: Disable the FAB\'s border for now

* commit '2c638f15d0a68adf6bbd3705455da69a8758d126':
Disable the FAB's border for now
2c638f15d0a68adf6bbd3705455da69a8758d126 30-May-2015 Chris Banes <chrisbanes@google.com> Disable the FAB's border for now

Is causing issues on certain devices. Will
re-enable for the next release.

Change-Id: Ia8bf0bc8dfaebeb009b1c09a8e197f41a1099ff4
es/values/styles.xml
5b5ca2a4816f62a4e0a2f9988ffbcaba303bbe71 27-May-2015 Chris Banes <chrisbanes@google.com> am a59da11d: Improve the offsetTopAndBottom workaround

* commit 'a59da11da29af8bc9d8e07a21d68e04d6de3df92':
Improve the offsetTopAndBottom workaround
a59da11da29af8bc9d8e07a21d68e04d6de3df92 25-May-2015 Chris Banes <chrisbanes@google.com> Improve the offsetTopAndBottom workaround

BUG: 21413554

Change-Id: Ia0f624ca05f80e3c2949789b448820413ce2e99e
rc/android/support/design/widget/ViewOffsetHelper.java
f1dfc73b7b73f8f42aef1c1f2b6c0386f0e82c39 26-May-2015 Chris Banes <chrisbanes@google.com> am 9e810f95: CollapingToolbarLayout styling tweaks

* commit '9e810f95f813023afe58dbea8f9b4b35ee6406f1':
CollapingToolbarLayout styling tweaks
9e810f95f813023afe58dbea8f9b4b35ee6406f1 26-May-2015 Chris Banes <chrisbanes@google.com> CollapingToolbarLayout styling tweaks

Change-Id: I713b317d518ab06fd49f9ecfe048baeec6367662
es/values/styles.xml
ed048c6c54c76124f3665237fc05bf478d9e5410 26-May-2015 Chris Banes <chrisbanes@google.com> am 790288a0: Merge "Only start nested scrolling if the view is large enough" into lmp-mr1-ub-dev

* commit '790288a03c76cafe367eeb4f5924b1f427e68bed':
Only start nested scrolling if the view is large enough
790288a03c76cafe367eeb4f5924b1f427e68bed 26-May-2015 Chris Banes <chrisbanes@google.com> Merge "Only start nested scrolling if the view is large enough" into lmp-mr1-ub-dev
5df6c6feb859a89a7d9926578b8f9fd62071e584 25-May-2015 Chris Banes <chrisbanes@google.com> am ecd4b988: Fix AppBarLayout not scrolling fully

* commit 'ecd4b988781330e346244be73dca39cd04c71391':
Fix AppBarLayout not scrolling fully
ecd4b988781330e346244be73dca39cd04c71391 25-May-2015 Chris Banes <chrisbanes@google.com> Fix AppBarLayout not scrolling fully

Change-Id: If3804c5339b8eca53ab6d3c3572e841bde0eb06d
rc/android/support/design/widget/ViewOffsetHelper.java
624e90dc9b2608718f71876b62f1755c08f30af6 24-May-2015 Chris Banes <chrisbanes@google.com> am b1a51676: Fix offset calculation math

* commit 'b1a51676163f8db131e6d97970459346735253be':
Fix offset calculation math
b1a51676163f8db131e6d97970459346735253be 24-May-2015 Chris Banes <chrisbanes@google.com> Fix offset calculation math

Also removed fixed the invalidation issues to
remove the translationX/Y path

BUG: 21413554
Change-Id: I4fb5a23d189779476f4f694e902415a1455da62b
rc/android/support/design/widget/ViewOffsetHelper.java
f57cd2fd5059c43d77bdfec57edfd5a217533103 24-May-2015 Chris Banes <chrisbanes@google.com> Only start nested scrolling if the view is large enough

This CL now checks to see if a view is large enough
before accepting a nested scroll. It also fixes the
positioning of a view in this case.

BUG: 21413205
Change-Id: Ia80c04256214bb89257cbfbce4889232140e5de1
rc/android/support/design/widget/AppBarLayout.java
80eeb54e4439bed49cd23b49ce6e07ddbd4479b6 24-May-2015 Chris Banes <chrisbanes@google.com> am 3fbc0c0f: Merge "More TabLayout fixes" into lmp-mr1-ub-dev

* commit '3fbc0c0fc00769a516ff4b0a4311db228b0b8498':
More TabLayout fixes
3fbc0c0fc00769a516ff4b0a4311db228b0b8498 24-May-2015 Chris Banes <chrisbanes@google.com> Merge "More TabLayout fixes" into lmp-mr1-ub-dev
388953240000f697f4a86cdda8dd0da56c287c28 22-May-2015 Chris Banes <chrisbanes@google.com> am 0fa9761d: Merge "Fix FAB shadow on L" into lmp-mr1-ub-dev

* commit '0fa9761d75653c2ed0340b0a2e3dd1d045327993':
Fix FAB shadow on L
0fa9761d75653c2ed0340b0a2e3dd1d045327993 22-May-2015 Chris Banes <chrisbanes@google.com> Merge "Fix FAB shadow on L" into lmp-mr1-ub-dev
16804c4a76276eb28fe9f4227461818003c32386 22-May-2015 Chris Banes <chrisbanes@google.com> Fix FAB shadow on L

The outline wasn't set on it, resulting in an
empty outline and no shadow.

Change-Id: Ie9f43f7404886894bd573dffafb751a4175c6e6a
ollipop/android/support/design/widget/CircularBorderDrawableLollipop.java
be84b3b731fbb4f905a5631ba2ca63b1120f5469 22-May-2015 Chris Banes <chrisbanes@google.com> am c1ce4f6c: Fix non-enterAlways scrolling

* commit 'c1ce4f6cf4d99d6856c4259bf1bb1cb56f604737':
Fix non-enterAlways scrolling
c1ce4f6cf4d99d6856c4259bf1bb1cb56f604737 22-May-2015 Chris Banes <chrisbanes@google.com> Fix non-enterAlways scrolling

Was broken due to iterating through the children in the
wrong order. When scrolling down we need to go 0-max.

Change-Id: I805073e7ddedfcd19524b8562bb3091e6023c124
rc/android/support/design/widget/AppBarLayout.java
bd085f17cd76603445c1befc020495f7d9dd00d6 22-May-2015 Chris Banes <chrisbanes@google.com> More TabLayout fixes

- Respect top/bottom padding
- Fix jank caused by checking wrong animator
- Only proxy ViewPager page selected events when
it isn't being dragged (or settling).
- Restore selection properly after a nuke +
layout.

BUG: 21373757
BUG: 21375601

Change-Id: If897051ae15a151bf11df0b4dd50a87086c5ec88
rc/android/support/design/widget/TabLayout.java
e3fd421e3017c9eea10ad975f493e42905a8bb90 22-May-2015 Chris Banes <chrisbanes@google.com> am 902c8ca6: Merge "Fix flickering with TabLayout + ViewPager" into lmp-mr1-ub-dev

* commit '902c8ca6506926a6d4561ba83d017b4441260e99':
Fix flickering with TabLayout + ViewPager
a4d0ea328b382109435bcfea115d9c41e750af19 21-May-2015 Chris Banes <chrisbanes@google.com> Fix flickering with TabLayout + ViewPager

BUG: 21359788
Change-Id: I4baa7104c6f1df90a5cbf5d6e858261dd9943bb6
rc/android/support/design/widget/TabLayout.java
68c1d88f4288d2f6c7159ad9288df12b622d6e5c 20-May-2015 Adam Powell <adamp@google.com> am d09e24f8: Fix CoordinatorLayout anchor gravity handling

* commit 'd09e24f8d4c10e72dee0e435d3289ddd10223aa0':
Fix CoordinatorLayout anchor gravity handling
d09e24f8d4c10e72dee0e435d3289ddd10223aa0 19-May-2015 Adam Powell <adamp@google.com> Fix CoordinatorLayout anchor gravity handling

CoordinatorLayout would position anchored child views in the wrong place
when using some layout_gravity/layout_anchorGravity settings. Clarify
the responsibility of each gravity handling step - anchor vs. child.

Bug 21282731

Change-Id: I053c6c40802da19e5a7002b6b853413a4d2ee0cc
rc/android/support/design/widget/CoordinatorLayout.java
e023adc97bd94950ddbb3bfc9ff1302f4016d46a 19-May-2015 Chris Banes <chrisbanes@google.com> am c0929c71: Merge "Some design lib doc improvements" into lmp-mr1-ub-dev

* commit 'c0929c716cf6402d6877e8998820b98bd012d171':
Some design lib doc improvements
c0929c716cf6402d6877e8998820b98bd012d171 19-May-2015 Chris Banes <chrisbanes@google.com> Merge "Some design lib doc improvements" into lmp-mr1-ub-dev
9fb154338a62edc2c57dc036895199d6f1769400 18-May-2015 Chris Banes <chrisbanes@google.com> Some design lib doc improvements

Change-Id: I0207a11d830d180defacd11c777e6768363cf31b
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
a42ff812c609b601dc5b6ceb0aa8a29a8b602f46 18-May-2015 Chris Banes <chrisbanes@google.com> am 4112c616: Allow setting of a Snackbar\'s action text color

* commit '4112c61626e5a6107c5874c28829b76bb9fc9f17':
Allow setting of a Snackbar's action text color
cc29b5d757e8127fda9ddde779aca777f6ceaced 18-May-2015 Chris Banes <chrisbanes@google.com> am 302adaa3: Merge "Improve FloatingActionButton border implementation" into lmp-mr1-ub-dev

* commit '302adaa3df485d84e2696ab3aa480fa634828f6d':
Improve FloatingActionButton border implementation
4112c61626e5a6107c5874c28829b76bb9fc9f17 18-May-2015 Chris Banes <chrisbanes@google.com> Allow setting of a Snackbar's action text color

BUG: 21195688
Change-Id: Id5f2e69746b2c42e7ba7aabb1a8070083e2bd077
pi/current.txt
rc/android/support/design/widget/Snackbar.java
80de0674c28a2bd9ade11f24a3b0e46ea83b6847 14-May-2015 Chris Banes <chrisbanes@google.com> Improve FloatingActionButton border implementation

The previous impl had overdraw issues as it draw a whole
oval behind another large opaque oval. This implementation
moves us to a custom Drawable which draw a stroke oval.

It also allows us to move to a custom LinearGradient shader
to more closely match UX's spec.

Change-Id: I93f2c3c444d0a23fd542f2a35ac1d43d4f699bd6
ase/android/support/design/widget/CircularBorderDrawable.java
ase/android/support/design/widget/FloatingActionButtonImpl.java
ase/android/support/design/widget/MathUtils.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/CircularBorderDrawableLollipop.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
es/drawable/fab_border_background.xml
es/values/colors.xml
rc/android/support/design/widget/MathUtils.java
321b205e9f2154d73f18c1a9142477f72ed433e4 14-May-2015 Chris Banes <chrisbanes@google.com> am e67ce4f1: Fix FloatingActionButton empty background on L

* commit 'e67ce4f1db321ca743748ae3f9f21c5607e0566f':
Fix FloatingActionButton empty background on L
e67ce4f1db321ca743748ae3f9f21c5607e0566f 14-May-2015 Chris Banes <chrisbanes@google.com> Fix FloatingActionButton empty background on L

Caused my GradientDrawable not support tinting on
L. Need to make sure that DrawableCompat.wrap() is
given the GradientDrawable, not a wrapper.

Change-Id: I320c1ba851576e40b98419500f12c74a75c1e28b
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
6c857a5e7ebb642b646704d388a6a1bbf75e5165 14-May-2015 Chris Banes <chrisbanes@google.com> am bbe3ab2b: Support 22.2.0 RC API files

* commit 'bbe3ab2bb6b0ef86f958868b9272899dfb1274c3':
Support 22.2.0 RC API files
bbe3ab2bb6b0ef86f958868b9272899dfb1274c3 14-May-2015 Chris Banes <chrisbanes@google.com> Support 22.2.0 RC API files

Change-Id: I5f816490d1ee7eb4791105af161507e7d423626b
(cherry picked from commit ca3e54bbd73e6248a71b6f1262199856eca56f60)
pi/22.2.0.txt
421affab4e0d1c631f759186f8b2975933c9b5a5 13-May-2015 Chris Banes <chrisbanes@google.com> FloatingActionButton border

This CLs add functionality to add a circular bevel
like stroke around the FAB. Also tidied up the
DrawableWrapper tinting to make sure we invalidate
the tint correctly.

BUG: 21087747

Change-Id: I97e8309574986cdb256c4a9aa7d2c2d1f20d87b1
(cherry picked from commit cd78954a2b32d9c22686f12c194fac7e49566cf6)
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
es-public/values/public_attrs.xml
es/drawable/fab_border_background.xml
es/values/attrs.xml
es/values/colors.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/widget/FloatingActionButton.java
cd78954a2b32d9c22686f12c194fac7e49566cf6 13-May-2015 Chris Banes <chrisbanes@google.com> FloatingActionButton border DO NOT MERGE

This CLs add functionality to add a circular bevel
like stroke around the FAB. Also tidied up the
DrawableWrapper tinting to make sure we invalidate
the tint correctly.

BUG: 21087747

Change-Id: I97e8309574986cdb256c4a9aa7d2c2d1f20d87b1
ase/android/support/design/widget/FloatingActionButtonImpl.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
es/drawable/fab_border_background.xml
es/values/attrs.xml
es/values/colors.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/widget/FloatingActionButton.java
eac44f6344b0d8117ba8268667ffc4b66a7d41c6 13-May-2015 Chris Banes <chrisbanes@google.com> Keep design lib's public attrs up to date

Change-Id: If16ec32be1c93aeeeb6719f6133b5b3c576144a5
es-public/values/public_attrs.xml
2e0019c6e90d046ea2a69fdfabae1e83469931a5 12-May-2015 Chris Banes <chrisbanes@google.com> am e52e1698: Allow CoordinatorLayout Behaviors to save state

* commit 'e52e16988e2500e20052ddd70920f950f4eb4f79':
Allow CoordinatorLayout Behaviors to save state
e52e16988e2500e20052ddd70920f950f4eb4f79 11-May-2015 Chris Banes <chrisbanes@google.com> Allow CoordinatorLayout Behaviors to save state

AppBarLayout is the first customer to make sure that
they restore correctly.

BUG: 20993010

Change-Id: Iad740edbba80abd18b44a0fa69d22fe7f1983677
pi/current.txt
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/ViewOffsetBehavior.java
e3b8952166d9fbc1965b5fc7a1e8033d01181c5e 12-May-2015 Chris Banes <chrisbanes@google.com> am f42b51c8: Merge "Some fixes for CollapsingToolbarLayout" into lmp-mr1-ub-dev

* commit 'f42b51c8493c508d8d2df1e6f0a11a28d0e3672e':
Some fixes for CollapsingToolbarLayout
f42b51c8493c508d8d2df1e6f0a11a28d0e3672e 12-May-2015 Chris Banes <chrisbanes@google.com> Merge "Some fixes for CollapsingToolbarLayout" into lmp-mr1-ub-dev
7de38f55370fc7d4f5dbc7e949c40331cc3cecf6 11-May-2015 Chris Banes <chrisbanes@google.com> am 99416e6d: Fix build. Update current.txt

* commit '99416e6ddd8845b9f7d7d4a3ea689a1ffcf71428':
Fix build. Update current.txt
99416e6ddd8845b9f7d7d4a3ea689a1ffcf71428 11-May-2015 Chris Banes <chrisbanes@google.com> Fix build. Update current.txt

Change-Id: I9b8433be2fb8f60168533f255a61a0552a968566
pi/current.txt
66f4aae4b2fcd7e82810bd798088ec690e67924d 11-May-2015 Chris Banes <chrisbanes@google.com> am 44dc3d86: Fix crashes on Gingerbread devices

* commit '44dc3d86d8fa6544d49b2e14f89c9b1f49639dbd':
Fix crashes on Gingerbread devices
44dc3d86d8fa6544d49b2e14f89c9b1f49639dbd 11-May-2015 Chris Banes <chrisbanes@google.com> Fix crashes on Gingerbread devices

Caused by using a LinearLayout constructor and view
method that doesn't exist on GB.

Change-Id: Ibc4f8c09adaf5b7001530bed87027be978b546cf
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/TextInputLayout.java
79208cc336926148978ccb49861f986fada745e0 11-May-2015 Chris Banes <chrisbanes@google.com> Some fixes for CollapsingToolbarLayout

- Allow setting of the primary Toolbar from it's
id
- Fixes around insetting of views
- Added a missing margin dimension

BUG: 21012285

Change-Id: Id907f252f12157795234280b0389a4778c595d67
es/values/attrs.xml
rc/android/support/design/widget/CollapsingToolbarLayout.java
aa1657a871b457f80209bbf452bf58fe34e226d7 09-May-2015 Chris Banes <chrisbanes@google.com> am 74563660: Tidy up TabLayout + ViewPager integration

* commit '745636602593f0b8ae508eb10266a3c7c675e746':
Tidy up TabLayout + ViewPager integration
745636602593f0b8ae508eb10266a3c7c675e746 07-May-2015 Chris Banes <chrisbanes@google.com> Tidy up TabLayout + ViewPager integration

Also added the ability to add/remove OnPageChangeListeners
to ViewPager.

BUG: 20897298
Change-Id: I51ec2117a1f49aab15f7ed1a30960330fa00c317
pi/current.txt
rc/android/support/design/widget/TabLayout.java
3faf61d1945577dffd78e4c71a0853ba03d7ac6c 08-May-2015 Dan Albert <danalbert@google.com> am 9cf7f2d6: Merge "Revert "Tidy up TabLayout + ViewPager integration"" into lmp-mr1-ub-dev

* commit '9cf7f2d655d042f25a91fbae49596d078c1d45d8':
Revert "Tidy up TabLayout + ViewPager integration"
9cf7f2d655d042f25a91fbae49596d078c1d45d8 08-May-2015 Dan Albert <danalbert@google.com> Merge "Revert "Tidy up TabLayout + ViewPager integration"" into lmp-mr1-ub-dev
92a2d7b7f62472a768e62f66681c0e1841cd57ba 08-May-2015 Dan Albert <danalbert@google.com> Revert "Tidy up TabLayout + ViewPager integration"

Build is still broken in other projects, so reverting for now.

This reverts commit 40f27ea67cb42ab88020275f63cc600fcc42adcb.

Change-Id: I94a6335d10390697e81cba177c9e059b616fedf9
pi/current.txt
rc/android/support/design/widget/TabLayout.java
028d1af69b6f6f8a5277681bdd9205eb236f0c34 08-May-2015 Chris Banes <chrisbanes@google.com> am 5f4bb82d: Merge "Tidy up TabLayout + ViewPager integration" into lmp-mr1-ub-dev

* commit '5f4bb82d07ae3de712e56d38b9b31b62b46b85d0':
Tidy up TabLayout + ViewPager integration
5f4bb82d07ae3de712e56d38b9b31b62b46b85d0 08-May-2015 Chris Banes <chrisbanes@google.com> Merge "Tidy up TabLayout + ViewPager integration" into lmp-mr1-ub-dev
40f27ea67cb42ab88020275f63cc600fcc42adcb 07-May-2015 Chris Banes <chrisbanes@google.com> Tidy up TabLayout + ViewPager integration

Also added the ability to add/remove OnPageChangeListeners
to ViewPager.

BUG: 20897298

Change-Id: I7d944d2ebcd169c5c084000bd17f20da5c60e7ea
pi/current.txt
rc/android/support/design/widget/TabLayout.java
75284fffafacd32f4d178020050589f9e70e5ed9 01-May-2015 Chris Banes <chrisbanes@google.com> Window inset support for CoL + AppBarLayout

CoL now handles and consumes all window insets given
to it on L+. AppBarLayout and it's Behaviors have special
handling to ensure it's view are measured correctly.
CollapsingToolbarLayout has handling to ensure that view are
not laid out within the insets.

BUG: 20652400

Change-Id: Ifa8677aa8abeaf443c53bbe6b53e29ff1859b18d
pi/current.txt
ase/android/support/design/widget/CoordinatorLayoutInsetsHelper.java
ollipop/android/support/design/widget/CoordinatorLayoutInsetsHelperLollipop.java
es-public/values/public_attrs.xml
es-public/values/public_styles.xml
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
6ba61c5c79fe025036593c9daf79cb65299bb0b6 01-May-2015 Chris Banes <chrisbanes@google.com> Window inset support for CoL + AppBarLayout DO NOT MERGE

CoL now handles and consumes all window insets given
to it on L+. AppBarLayout and it's Behaviors have special
handling to ensure it's view are measured correctly.
CollapsingToolbarLayout has handling to ensure that view are
not laid out within the insets.

BUG: 20652400

Change-Id: Ifa8677aa8abeaf443c53bbe6b53e29ff1859b18d
pi/current.txt
ase/android/support/design/widget/CoordinatorLayoutInsetsHelper.java
ollipop/android/support/design/widget/CoordinatorLayoutInsetsHelperLollipop.java
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
dae3fa20bcbe242e4cebb780e9467d135dd86ea7 06-May-2015 Chris Banes <chrisbanes@google.com> Declare design-lib's public resources

BUG: 20143732
Change-Id: I304be0cf2f81c3677597c14b3a0e372ab3dc12f8
uild.gradle
es-public/values/public_attrs.xml
es-public/values/public_styles.xml
81666c3df9543bbeb320474c57c89b8f865328a1 06-May-2015 Chris Banes <chrisbanes@google.com> am 60d5509d: Merge "Tidy up styling and tinting in NavigationView" into lmp-mr1-ub-dev

* commit '60d5509d4ce055532645a889d29f4201e6bc4512':
Tidy up styling and tinting in NavigationView
60d5509d4ce055532645a889d29f4201e6bc4512 06-May-2015 Chris Banes <chrisbanes@google.com> Merge "Tidy up styling and tinting in NavigationView" into lmp-mr1-ub-dev
878384f1e6de7bd9196958224ced1ecfca3be6a7 05-May-2015 Chris Banes <chrisbanes@google.com> Make constructor accessible before calling - AppCompat + Design

ART fixed newInstance method's accessibility checks which means if
provided class/method is not accessible, we will crash.

This CL makes AppCompat + design lib call setAccessible(true) before
calling the constructor to avoid any issues after new ART is released.

Bug: 20824258
Change-Id: I2001bd7fc80713c7effe57bec2eff8622cceb0cc
rc/android/support/design/widget/CoordinatorLayout.java
e85c8ed1ff988173007b30fb394ba37025e37126 04-May-2015 Chris Banes <chrisbanes@google.com> am 5023ec97: Merge "Revert "Fix tab blinking while fling"" into lmp-mr1-ub-dev

* commit '5023ec9783e8677de949d2f925a998ff9643b4f2':
Revert "Fix tab blinking while fling"
96258dde1487826db4a21af120f81b08c725ae99 30-Apr-2015 Chris Banes <chrisbanes@google.com> Use doclava's new stubpackages wildcard support DO NOT MERGE

Depends-on: Ibd49cc0348e2767b2c0fe6f14e7253b6d8e04c7b

Change-Id: I740a2b55156a3d5d296be390b799f9118b1820df
ndroid.mk
639640523bdb81cc5a2ac2a1ebbe0c4e13a2c82b 30-Apr-2015 Chris Banes <chrisbanes@google.com> Use doclava's new stubpackages wildcard support

Depends-on: Ibd49cc0348e2767b2c0fe6f14e7253b6d8e04c7b

Change-Id: I740a2b55156a3d5d296be390b799f9118b1820df
ndroid.mk
a63940ca14cd3ad9620e94f709930bb968525c57 01-May-2015 Chris Banes <chrisbanes@google.com> Tidy up styling and tinting in NavigationView

Currently there is no way to set a different tint/color
for the text and icon. This icon splits them up and tidies
up some of the internal state.

Change-Id: I5d81f19dddf2df6cfc983fc2a60b2353a780d522
pi/current.txt
es/values/attrs.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
5023ec9783e8677de949d2f925a998ff9643b4f2 01-May-2015 Chris Banes <chrisbanes@google.com> Merge "Revert "Fix tab blinking while fling"" into lmp-mr1-ub-dev
ac571281c28a7bcf2937acac3bc47bf224178f0f 01-May-2015 Chris Banes <chrisbanes@google.com> Revert "Fix tab blinking while fling"

This reverts commit 81fdc55233cee968c50c1d24e14fbd26b1016648.

Change-Id: I3be7a0ef90e75fcb39c27741ce2d2de1e3d72ea9
rc/android/support/design/widget/TabLayout.java
f564ee15a1d87526f7bdc43fa797654626621bf8 01-May-2015 Chris Banes <chrisbanes@google.com> am 72524118: Merge "Snackbar fixes" into lmp-mr1-ub-dev

* commit '72524118c439feab763ae8e1434f709d1d903afe':
Snackbar fixes
0a1e4545dc6bb9753c33afdd4940b7a88057bb0b 01-May-2015 Chris Banes <chrisbanes@google.com> am 9f97e0cc: Merge "Add app:headerLayout attribute to NavigationView" into lmp-mr1-ub-dev

* commit '9f97e0cc142eb7c3b5a630b90a430f428ae02b4a':
Add app:headerLayout attribute to NavigationView
209a3f062a9e93e2bfbe76d23bcce487f97caa7e 01-May-2015 Chris Banes <chrisbanes@google.com> Merge commit 'e45b270f' into manualmerge

Change-Id: I88e3d8644666168a0eb69cce569d96ae0b724f09
72524118c439feab763ae8e1434f709d1d903afe 30-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Snackbar fixes" into lmp-mr1-ub-dev
9f97e0cc142eb7c3b5a630b90a430f428ae02b4a 30-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Add app:headerLayout attribute to NavigationView" into lmp-mr1-ub-dev
45cbb1d10c865209f373a148556191700d8ea345 29-Apr-2015 Chris Banes <chrisbanes@google.com> TabLayout text color handling improvements

We now accept ColorStateLists via app:tabTextColor.

Change-Id: If234a61983b1fd6ddc8509092f39522b63aecb32
pi/current.txt
es/values/attrs.xml
rc/android/support/design/widget/TabLayout.java
4347bb2377171cee0de932bcdf5a7eb795cda616 29-Apr-2015 Alan Jeon <skyisle@gmail.com> am 81fdc552: Fix tab blinking while fling

* commit '81fdc55233cee968c50c1d24e14fbd26b1016648':
Fix tab blinking while fling
81fdc55233cee968c50c1d24e14fbd26b1016648 29-Apr-2015 Alan Jeon <skyisle@gmail.com> Fix tab blinking while fling

When fling start, onPageSelected called and onPageScrolled called
subsequently. This CL fixes tab blinkig in this situation.

Change-Id: Ice6a8b43b8e5ddb0d9824e66d48124b1f3691d4a
Signed-off-by: Alan Jeon <skyisle@gmail.com>
rc/android/support/design/widget/TabLayout.java
cce43873726b7e2e827d2d9ce7a764b5b9fe2315 29-Apr-2015 Chris Banes <chrisbanes@google.com> am e1e5fb58: Merge "Fix design lib\'s attribute doc references" into lmp-mr1-ub-dev

* commit 'e1e5fb58045a2d16dcb09468d639a7c2d879b103':
Fix design lib's attribute doc references
0cf8ecaeccbd07b5259927569eaf79e9a275d34f 29-Apr-2015 Chris Banes <chrisbanes@google.com> Add app:headerLayout attribute to NavigationView

BUG: 20654538
Change-Id: I38a299b514cfcdc3092273fec58d1134b187a928
es/values/attrs.xml
rc/android/support/design/widget/NavigationView.java
149689d3a0b4165577470d7152112674d1d7f87c 28-Apr-2015 Chris Banes <chrisbanes@google.com> Fix design lib's attribute doc references

BUG: 20524332
Change-Id: I6dece9ec425acb3305efd0800d2f5d4f15d0aad2
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
c482f89070ee5032081e394f77a9a1e63c3cd7a8 18-Apr-2015 Chris Banes <chrisbanes@google.com> Snackbar fixes

- Fix possible memory leak
- Crawl up the view hierarcy to find a parent
Allows a Snackbar to bubble up to a root CoL if
it exists, otherwise we just use the content view

Change-Id: I4e17a7522835366047824fa30844748062c8e965
pi/current.txt
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SnackbarManager.java
437af5a85386de8a75ac68e19db1b00e8e05eb24 23-Apr-2015 Chris Banes <chrisbanes@google.com> am d70e8e02: Merge "Use the internal ValueAnimatorCompat in other widgets" into lmp-mr1-ub-dev

* commit 'd70e8e024a94ca0f4c3a1e0ce8a456773393a071':
Use the internal ValueAnimatorCompat in other widgets
d70e8e024a94ca0f4c3a1e0ce8a456773393a071 23-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "Use the internal ValueAnimatorCompat in other widgets" into lmp-mr1-ub-dev
c2c6d9ecfd456993b63ae1aef13fd7ddcd5ab249 22-Apr-2015 Yuichi Araki <yaraki@google.com> am 86568f1f: Content description for tabs in TabLayout

* commit '86568f1f241c4e9a07383cda799b96c7880c5082':
Content description for tabs in TabLayout
86568f1f241c4e9a07383cda799b96c7880c5082 22-Apr-2015 Yuichi Araki <yaraki@google.com> Content description for tabs in TabLayout

A specified content description is used for TextView as well as
ImageView (icon) of a tab.

Change-Id: Ieabea34681f1d6341799e8221629f94aa9cebf1b
rc/android/support/design/widget/TabLayout.java
f44e88b81821e61a65886cc7027617ca8995070b 21-Apr-2015 Chris Banes <chrisbanes@google.com> Use the internal ValueAnimatorCompat in other widgets

Allows us to move away from our hack with view animations.

Change-Id: I7d38bf26ce2715d681c75b1a22efeef245269841
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
0afaaf631e3c992dc4af9d628444f1eee06758a8 21-Apr-2015 Chris Banes <chrisbanes@google.com> am a196f6c5: Merge "AppBarLayout improvements" into lmp-mr1-ub-dev

* commit 'a196f6c585e08dd962cb14b659790931a6e92e40':
AppBarLayout improvements
a196f6c585e08dd962cb14b659790931a6e92e40 21-Apr-2015 Chris Banes <chrisbanes@google.com> Merge "AppBarLayout improvements" into lmp-mr1-ub-dev
631f64ec9c6255f38a7f746d7949b6a537c1180f 10-Apr-2015 Chris Banes <chrisbanes@google.com> AppBarLayout improvements

- Tidy up listener implementation
- Nested fling support
- Animate FAB pre-v11
- Added internal ValueAnimatorCompat

Change-Id: I3ee6630177015f2bccbf29e5316ef8afe557c5a8
ndroid.mk
pi/current.txt
ase/android/support/design/widget/ValueAnimatorCompat.java
uild.gradle
clair-mr1/android/support/design/widget/ValueAnimatorCompatImplEclairMr1.java
oneycomb-mr1/android/support/design/widget/ValueAnimatorCompatImplHoneycombMr1.java
es/anim/fab_in.xml
es/anim/fab_out.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/ViewUtils.java
ad155420a2eb9f341c8ec2f0d5b125375c06a5d9 21-Apr-2015 Chris Banes <chrisbanes@google.com> am 1ea4edc4: am c6ff5383: am f0f36370: Merge "Re-measure tab width after max width is decided"

* commit '1ea4edc4c84bec0a8805ff5e978d36f1401272b8':
Re-measure tab width after max width is decided
1ea4edc4c84bec0a8805ff5e978d36f1401272b8 21-Apr-2015 Chris Banes <chrisbanes@google.com> am c6ff5383: am f0f36370: Merge "Re-measure tab width after max width is decided"

* commit 'c6ff5383d5db2613f0c7325825434300cc2697cc':
Re-measure tab width after max width is decided
c6ff5383d5db2613f0c7325825434300cc2697cc 21-Apr-2015 Chris Banes <chrisbanes@google.com> am f0f36370: Merge "Re-measure tab width after max width is decided"

* commit 'f0f363707e53c83688ee66a029885685de398dd0':
Re-measure tab width after max width is decided
7c71281dc4879e7889c65283aabaeed68521fb14 21-Apr-2015 Alan Jeon <skyisle@gmail.com> Re-measure tab width after max width is decided

Tabview's onMeasure can be called before mTabMaxWidth is decided.

Change-Id: I063f31232041bc6d8447756df9689f824a199019
Signed-off-by: Alan Jeon <skyisle@gmail.com>
rc/android/support/design/widget/TabLayout.java
1f054febf6dc91e7c8d9f61500e498af8582f8b4 17-Apr-2015 Chris Banes <chrisbanes@google.com> am de373c43: am 1ef42f18: am 29611577: Merge "FAB: Fix NPE with XML attribute, set clickable by default"

* commit 'de373c43e108bc24b46c947c7a4da26774cdb874':
FAB: Fix NPE with XML attribute, set clickable by default
de373c43e108bc24b46c947c7a4da26774cdb874 17-Apr-2015 Chris Banes <chrisbanes@google.com> am 1ef42f18: am 29611577: Merge "FAB: Fix NPE with XML attribute, set clickable by default"

* commit '1ef42f184c4e9841ebce898a45a7bb7ccd5b757a':
FAB: Fix NPE with XML attribute, set clickable by default
1ef42f184c4e9841ebce898a45a7bb7ccd5b757a 17-Apr-2015 Chris Banes <chrisbanes@google.com> am 29611577: Merge "FAB: Fix NPE with XML attribute, set clickable by default"

* commit '29611577eb234da4c8c73bcc0c4357978ff25bb8':
FAB: Fix NPE with XML attribute, set clickable by default
d039e3555848f678a2e5363e99026df322d02044 16-Apr-2015 Taeho Kim <jyte82@gmail.com> FAB: Fix NPE with XML attribute, set clickable by default

Fixed NPE when the widget has declared in XML layout with
android:background attribute.

Also, set widget clickable by default so that this widget can
act as a button.

Change-Id: I40124653a74c3593c0a44cce580f72a693b04805
Signed-off-by: Taeho Kim <jyte82@gmail.com>
rc/android/support/design/widget/FloatingActionButton.java
c5f875a4f738ddf69dda74cea21f713b68e4b1f6 16-Apr-2015 Yuichi Araki <yaraki@google.com> am c1cc9423: Merge "Fix crash of NavigationView on Gingerbread" into lmp-mr1-ub-dev

* commit 'c1cc9423564f0753d31e8c5826ac6e44e5b009a1':
Fix crash of NavigationView on Gingerbread
72fa50f289d462aae5038e8dd78e134a0fffcf12 15-Apr-2015 Yuichi Araki <yaraki@google.com> Fix crash of NavigationView on Gingerbread

The header is now wrapped in a LinearLayout so that
ListView#addHeaderView is not called after setAdapter.

Change-Id: Id30c05f76416c894cd2aad721e566b56de99d54c
es/layout/design_navigation_item_header.xml
es/layout/design_navigation_item_space.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
8b79edbc66759ce2af89ae8d4f1437393729f735 13-Apr-2015 Chris Banes <chrisbanes@google.com> am 81520564: Set default background for AppBarLayout

* commit '81520564f3dd783136e025174021ba4eabd6ff3c':
Set default background for AppBarLayout
81520564f3dd783136e025174021ba4eabd6ff3c 13-Apr-2015 Chris Banes <chrisbanes@google.com> Set default background for AppBarLayout

Change-Id: I8e5809a3d7dedca82fdeaad2e759ba127069e7df
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/widget/AppBarLayout.java
d836732a8800bb6eebf107696cff44ced8f14afb 13-Apr-2015 Chris Banes <chrisbanes@google.com> am 61c2d94f: Merge "AppBarLayout improvements" into lmp-mr1-ub-dev

* commit '61c2d94faeb79a7a96df402f201a226ed740694a':
AppBarLayout improvements
50dfc33a565c4aefe6d5e844c93aa24a74cb80b3 09-Apr-2015 Chris Banes <chrisbanes@google.com> AppBarLayout improvements

- De-jank the scrim animation
- Add elevation support
- Tidy up API
- Fix 'quick scroll' functionality

Change-Id: If9b494a7626e94ad8a4f034f65ab07bd34cf2871
pi/current.txt
ollipop/android/support/design/widget/ViewUtilsLollipop.java
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/ViewUtils.java
c005695ca3e01efb3c3486f5cb6bf1e7fb21995c 09-Apr-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for merge of 73a0c3c7 to master

Change-Id: I1652150b1499db455f1eee8d8743d2f7f7bb6fcc
a6a508b2296730ca6954aaebcca52a9962a5cb55 11-Mar-2015 Chris Banes <chrisbanes@google.com> AppBarLayout

There is still a few things missing for this, such as elevation
and fling support. I'll add these in a later CL.

Change-Id: Ie6d6d24a39a21bcd640f09c9da07ec2f6c1f4bb4
pi/current.txt
ase/android/support/design/widget/AnimationUtils.java
oneycomb/android/support/design/widget/CoordinatorLayoutHoneycomb.java
oneycomb/android/support/design/widget/ViewGroupUtilsHoneycomb.java
es/values/attrs.xml
es/values/ids.xml
es/values/strings.xml
es/values/styles.xml
rc/android/support/design/widget/AppBarLayout.java
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/CollapsingToolbarLayout.java
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/MathUtils.java
rc/android/support/design/widget/ViewGroupUtils.java
rc/android/support/design/widget/ViewOffsetBehavior.java
rc/android/support/design/widget/ViewOffsetHelper.java
292abcbbb9fe821027cc0832df5265312dc8c521 09-Apr-2015 Chris Banes <chrisbanes@google.com> Revert "Disable the design lib for the 22.1 release DO NOT MERGE ANYWHERE"

This reverts commit 2517323bf840bbd37c616f212689060fbce30eab.

Change-Id: I7cddc734ac5f86c786e425d0e7758dee6c80bae3
ndroid.mk
ndroid.mk.disabled
2517323bf840bbd37c616f212689060fbce30eab 07-Apr-2015 Chris Banes <chrisbanes@google.com> Disable the design lib for the 22.1 release DO NOT MERGE ANYWHERE

Change-Id: I341ee630d35a96d7de4ad5dbf954cea0f84f163f
ndroid.mk
ndroid.mk.disabled
ce00c06a528480f81f06931e361102d3f879d40f 08-Apr-2015 Chris Banes <chrisbanes@google.com> am 6eb7c159: Revert "Disable the design lib for the 22.1 release"

* commit '6eb7c159042d9ad2b3150d0af9b3584c961dcca9':
Revert "Disable the design lib for the 22.1 release"
6eb7c159042d9ad2b3150d0af9b3584c961dcca9 08-Apr-2015 Chris Banes <chrisbanes@google.com> Revert "Disable the design lib for the 22.1 release"

This reverts commit d89acaf5b125a7ef30825151cbee924e7d5c1505.

Change-Id: Ifc3fcbef7de5c536d76f07771e46afb5e35bf46d
ndroid.mk
ndroid.mk.disabled
0053075bc4a6cc03e8a05bd8cb74f3b9d5922ae0 08-Apr-2015 Chris Banes <chrisbanes@google.com> am d89acaf5: Disable the design lib for the 22.1 release

* commit 'd89acaf5b125a7ef30825151cbee924e7d5c1505':
Disable the design lib for the 22.1 release
d89acaf5b125a7ef30825151cbee924e7d5c1505 07-Apr-2015 Chris Banes <chrisbanes@google.com> Disable the design lib for the 22.1 release

Change-Id: I93f569d31eca6428aa7a6ca6fc1f5391a592991f
ndroid.mk
ndroid.mk.disabled
33f392c4af56954740eecc5f7d7fe25a1e71aacf 08-Apr-2015 Yuichi Araki <yaraki@google.com> am 60abdeb3: Fix paddings for separators in NavigationView

* commit '60abdeb39630c4c74a4c401e221f0c968caa26f5':
Fix paddings for separators in NavigationView
60abdeb39630c4c74a4c401e221f0c968caa26f5 18-Mar-2015 Yuichi Araki <yaraki@google.com> Fix paddings for separators in NavigationView

There should be no bottom padding for separators just before subheaders.
This also fixes crash on NavigationMenuPresenter#addHeaderView on API
level 15.

Bug: 20110356

Change-Id: Iab50166d78d8e987ec71c19e1b543c165f5f8b3c
es/layout/design_navigation_item_separator.xml
es/layout/design_navigation_item_space.xml
es/layout/design_navigation_menu.xml
es/values/dimens.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
c7ea1d498982d3c766631dbafb6bff9031670600 07-Apr-2015 Chris Banes <chrisbanes@google.com> am f168bfe8: Revert "Disable the design lib for the 22.1 release"

* commit 'f168bfe8ce43395c7a112100312d528f9a27ab55':
Revert "Disable the design lib for the 22.1 release"
f168bfe8ce43395c7a112100312d528f9a27ab55 07-Apr-2015 Chris Banes <chrisbanes@google.com> Revert "Disable the design lib for the 22.1 release"

This reverts commit 81108913ea139c26abfbaac5f559de9e32dc844b.

Change-Id: I11ec2249c6bb4a36dd18ba93d3146ba33052fe31
ndroid.mk
ndroid.mk.disabled
4e1c41b66d83672955a69bfe9bb450e37942fed7 07-Apr-2015 Chris Banes <chrisbanes@google.com> am 81108913: Disable the design lib for the 22.1 release

* commit '81108913ea139c26abfbaac5f559de9e32dc844b':
Disable the design lib for the 22.1 release
81108913ea139c26abfbaac5f559de9e32dc844b 07-Apr-2015 Chris Banes <chrisbanes@google.com> Disable the design lib for the 22.1 release

Change-Id: If04cd0b68239d4b9e83441de4e03128ca5806110
ndroid.mk
ndroid.mk.disabled
9a3a7fad2dab316092746022b0e8d7833df984bd 01-Apr-2015 Chris Banes <chrisbanes@google.com> am 27238d14: Update and check design lib API files

* commit '27238d142f178f9dc071f4bd8e1e7195231b5957':
Update and check design lib API files
27238d142f178f9dc071f4bd8e1e7195231b5957 01-Apr-2015 Chris Banes <chrisbanes@google.com> Update and check design lib API files

BUG: 19478450
Change-Id: I5712694f5981d4c3dd98e55d942d9de351d2e7b3
ndroid.mk
pi/current.txt
cda6682445556dee8a775ffd7d9291bffa3ff0f8 25-Feb-2015 Chris Banes <chrisbanes@google.com> Generate API files for the support libraries DO NOT MERGE

make update-support-api
make check-support-api (run automatically on sdk builds)

BUG: 19478450

Change-Id: Idd0f12c457b7dc084a66158de452969d7afdb8dc
pi/current.txt
pi/removed.txt
f62fcdec92e2f96ec61579392ed2b593cff35b39 25-Feb-2015 Chris Banes <chrisbanes@google.com> Generate API files for the support libraries

make update-support-api
make check-support-api (run automatically on sdk builds)

BUG: 19478450

Change-Id: Idd0f12c457b7dc084a66158de452969d7afdb8dc
pi/current.txt
pi/removed.txt
de2325c02dd92b683db1ab3798353452c1a4a68a 27-Mar-2015 Chris Banes <chrisbanes@google.com> am fb4d5402: Merge "Add app:menu attribute to NavigationView" into lmp-mr1-ub-dev

* commit 'fb4d54028db8f328d98edf641654e8e7a83fa89e':
Add app:menu attribute to NavigationView
3a2c9c408e240e761b043139c5d228d3ad93f6c2 26-Mar-2015 Chris Banes <chrisbanes@google.com> Add app:menu attribute to NavigationView

Also refactored some of the navigation view internals.

BUG: 19938713
Change-Id: I046761c2c41490fd28b984c035672add77ea9c7a
es/values/attrs.xml
es/values/styles.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationView.java
rc/android/support/design/widget/Snackbar.java
ace080b41ebbfee6cdc0445aa48bfa1f84e27478 18-Mar-2015 Adam Powell <adamp@google.com> am 4f2b30f4: am 0995df61: am 7beb7d75: Merge "CoordinatorLayout bugfixes" into lmp-mr1-ub-dev

* commit '4f2b30f423484e3a5e6abc293f5899cffd82f34b':
CoordinatorLayout bugfixes
42058bc54bdb89b9c9429bf6cbd3260787cf0523 18-Mar-2015 Adam Powell <adamp@google.com> CoordinatorLayout bugfixes

* Make sure subclasses use a DefaultBehavior from a superclass if present

* Fix a bug in calculating child rects for anchoring views

Change-Id: I0083d5196f871d22024113d56f56c7b8d9b90845
oneycomb/android/support/design/widget/CoordinatorLayoutHoneycomb.java
rc/android/support/design/widget/CoordinatorLayout.java
65ffbe2a9aad39871ca5a3c85db07be05ea3fc03 13-Mar-2015 Chris Banes <chrisbanes@google.com> am 911970bb: am 51c19d26: am b7f9224b: Snackbar

* commit '911970bb8a1337d240e1f87e8c9d969bb99cea90':
Snackbar
b7f9224b1495db47eb8fd813b5912250e900770a 09-Jan-2015 Chris Banes <chrisbanes@google.com> Snackbar

Also added a new default swipe-to-dismiss behavior
and hooked it up. Also hooked up the Snackbar
to the Floating Action Buttons.

Change-Id: I717d4db5d34b6c17a2afabe5a3bc2c79fcee4233
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
oneycomb/android/support/design/widget/CoordinatorLayoutHoneycomb.java
es/anim/snackbar_in.xml
es/anim/snackbar_out.xml
es/drawable/snackbar_background.xml
es/layout-sw600dp/layout_snackbar.xml
es/layout/layout_snackbar.xml
es/layout/layout_snackbar_include.xml
es/values-sw600dp/config.xml
es/values-sw600dp/dimens.xml
es/values/attrs.xml
es/values/colors.xml
es/values/config.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/widget/CoordinatorLayout.java
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/Snackbar.java
rc/android/support/design/widget/SnackbarManager.java
rc/android/support/design/widget/SwipeDismissBehavior.java
rc/android/support/design/widget/TabLayout.java
82696f6b1bdb6130677da14e6cdaf9383ddb4cf0 13-Mar-2015 Adam Powell <adamp@google.com> am f39722c9: am a440b195: am 5cb37807: Nested scrolling support for CoordinatorLayout and behaviors

* commit 'f39722c9f529b01ddaa54a6f41d011cd091ac657':
Nested scrolling support for CoordinatorLayout and behaviors
809f652c46ec74ffea3505725e577d680a5f47ab 13-Mar-2015 Chris Banes <chrisbanes@google.com> am d972c3ba: am d421b2b3: am f4e0b1dd: Merge "TextInputLayout - a wrapper around EditText" into lmp-mr1-ub-dev

* commit 'd972c3ba1979b8d3710f537de162c362fde0ea30':
TextInputLayout - a wrapper around EditText
5efe77816a560d9f33a840d4bb3b8a6cbddce49b 13-Mar-2015 Chris Banes <chrisbanes@google.com> am 47599515: am 9f724898: am ccfefa26: Don\'t update selected state as we settle from a scroll

* commit '475995151321ba510e535477011294e0a44e4d74':
Don't update selected state as we settle from a scroll
5cb378077ed5c64d35c1972c5fc84ee11ce31d07 10-Mar-2015 Adam Powell <adamp@google.com> Nested scrolling support for CoordinatorLayout and behaviors

Add support for nested scrolling to CoordinatorLayout behaviors. A
behavior can elect to handle nested scrolling for an arbitrarily
nested child. This allows other elements in the CoordinatorLayout to
respond to scrolling events from other containers deeper in the
hierarchy, for example by scrolling a toolbar off of the top of the
screen as a user scrolls.

Change-Id: I4c2d0e24d8034e2d9662a025ef31d3976f880868
rc/android/support/design/widget/CoordinatorLayout.java
f4e0b1dddb77f8be3e61529fbaeb60655b539121 12-Mar-2015 Chris Banes <chrisbanes@google.com> Merge "TextInputLayout - a wrapper around EditText" into lmp-mr1-ub-dev
c5b63021dfda1dd155775a0b4845c5ca3c70b1b0 07-Feb-2015 Chris Banes <chrisbanes@google.com> TextInputLayout - a wrapper around EditText

Currently it implements the floating label
pattern and error message handling.

Change-Id: I65132d06e0eef71f671594c3bb39633e9f89a0da
ase/android/support/design/widget/AnimationUtils.java
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
es/values/attrs.xml
es/values/colors.xml
es/values/styles.xml
rc/android/support/design/widget/CollapsingTextHelper.java
rc/android/support/design/widget/TabLayout.java
rc/android/support/design/widget/TextInputLayout.java
ccfefa26b718c232ec8e3095e05dab75b963f918 12-Mar-2015 Chris Banes <chrisbanes@google.com> Don't update selected state as we settle from a scroll

BUG: 19690332
Change-Id: Ifbd21f3c463d9b7d541e9aafacd06a605386c754
rc/android/support/design/widget/TabLayout.java
70acb0c19be3831a2080e4f902324de16bfbf62e 04-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate support library with @ColorInt, @CallSuper, etc

Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
rc/android/support/design/widget/FloatingActionButton.java
rc/android/support/design/widget/TabLayout.java
ecc58a45a7bdd60d9b71e6c413b80a3f8cf85822 04-Mar-2015 Chris Banes <chrisbanes@google.com> Forward onTouchEvent to the View's Behaviour

Change-Id: I1700d7fdfc0991665c1583a4d43fb673ff9e7c01
rc/android/support/design/widget/CoordinatorLayout.java
b4b8a4bb016c9b74036c1972c00d4f76e07b8e87 26-Feb-2015 Chris Banes <chrisbanes@google.com> Fix support library gradle build

Change-Id: Ic0c9e71a864e7f1737a34197d8d866fdecdf2bbb
uild.gradle
1c1b4c1afa6d9e1c876cd7dfc326c916d74f8554 26-Feb-2015 Chris Banes <chrisbanes@google.com> Merge "Rename and move all of the tint widgets" into lmp-mr1-ub-dev
a966c6cda6a3aa562fcfdb842b6c6b35bdd6a3dc 05-Feb-2015 Adam Powell <adamp@google.com> CoordinatorLayout

CoordinatorLayout is meant to be like a super-powered FrameLayout with
three major additional capabilities:

* Aligning views relative to other views arbitrarily nested within
other siblings (e.g. floating action buttons aligning to one edge of
a content pane)

* Aligning views relative to keylines defining horizontal positioning

* Defining pluggable interaction behaviors from layout xml

This patch implements the first two features and some of the initial
plumbing for the third.

Change-Id: I9c368d298cd35ff507ce5c8449a572fbfe9e5da7
ndroid.mk
oneycomb/android/support/design/widget/CoordinatorLayoutHoneycomb.java
es/values/attrs.xml
rc/android/support/design/widget/CoordinatorLayout.java
2cccf609662389d6a23dbc0711d5fb2e826e8c63 18-Feb-2015 Chris Banes <chrisbanes@google.com> Rename and move all of the tint widgets

They're public so shouldn't live in the internal package.
I've also stopped setting the setting the platform widget styles
(e.g. android:editTextStyle) and instead provide our own versions.
On Lollipop, we set these the default framework styles.

This fixes the times where the framework widgets are used but with
the untinted material style (e.g. Preferences).

BUG: 19407610
BUG: 19300319

Change-Id: I5dbdee240cbf28d4dc9b05f5c56b386d83b18df3
rc/android/support/design/widget/TabLayout.java
14d064edb3e4a16a3b90a4a850560177bea1e60d 21-Feb-2015 Chris Banes <chrisbanes@google.com> Position the FAB visually correct pre-Lollipop

Pre-Lollipop we use padding so that the shadow has
enough space to be drawn. This CL adds logic to
offset our layout position so that we're positioned
correctly if we're on one of our parent's edges.

Change-Id: Ia7d2b4286958ac14358a2f6ee270196c00dff9d4
rc/android/support/design/widget/FloatingActionButton.java
9b712fb00d9abb460b2dda0d06340cbbc6a835fe 20-Feb-2015 Yuichi Araki <yaraki@google.com> Merge "Align menu items in NavigationDrawerView" into lmp-mr1-ub-dev
00f280273c6bc656fa6f8840dac5ded75473fa31 19-Feb-2015 Yuichi Araki <yaraki@google.com> Merge "Rename NavigationDrawerView to NavigationView" into lmp-mr1-ub-dev
8bc6f4dfa590d8cd872a9894804a4c80d01a5d87 19-Feb-2015 Yuichi Araki <yaraki@google.com> Align menu items in NavigationDrawerView

Menu items are aligned properly in section according to whether one or
more of the menu items in the section has an icon.

Change-Id: I220ee63de14baef9faf59a47c9a797a34af48a0a
rc/android/support/design/internal/NavigationMenuPresenter.java
a5081dfb26b3664d97d5fe09b9b6a9c9667e0e9f 19-Feb-2015 Yuichi Araki <yaraki@google.com> Rename NavigationDrawerView to NavigationView

Change-Id: I639fbb4754add5d72f5baaca6728fc1348e256e0
es/layout/design_drawer_item.xml
es/layout/design_drawer_item_separator.xml
es/layout/design_drawer_item_space.xml
es/layout/design_drawer_item_subheader.xml
es/layout/design_drawer_menu.xml
es/layout/design_navigation_item.xml
es/layout/design_navigation_item_separator.xml
es/layout/design_navigation_item_space.xml
es/layout/design_navigation_item_subheader.xml
es/layout/design_navigation_menu.xml
es/values-v21/dimens.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationDrawerView.java
rc/android/support/design/widget/NavigationView.java
6acf74d2b432ee12d13b6e179a47d88aad77ca5e 19-Feb-2015 Chris Banes <chrisbanes@google.com> Merge "Support FAB in LayoutLib." into lmp-mr1-ub-dev
124d52000d70f3a0ef64b1c70b72238441cbf0ed 18-Feb-2015 Deepanshu Gupta <deepanshu@google.com> Support FAB in LayoutLib.

LayoutLib doesn't support interpolator. Skip it in design mode.

Change-Id: I736cc9f0a5c0d165cad80939b5fcf0db3abc6cbe
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
d3ee2c7d22c0cb204ea9077fa9e64511266d6799 10-Feb-2015 Yuichi Araki <yaraki@google.com> Add selection feature to NavigationDrawerView.

The selected item can be marked by MenuItem#setChecked in
onNavigationItemSelected callback. This also takes MenuGroup into
account, that is, NavigationDrawerView highlights only one item in one
MenuGroup.

Also removes an unnecessary separator when a MenuGroup comes at the top
of the menu.

Change-Id: Ia7373bb8b64836de8a0db7552c5304165afa7d64
es/drawable/drawer_separator_background.xml
es/layout/design_drawer_item.xml
es/layout/design_drawer_item_separator.xml
es/values/attrs.xml
es/values/dimens.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationDrawerView.java
bd35b10dcf7e41b2b0c793a376e55a44fdefbac4 10-Feb-2015 Yuichi Araki <yaraki@google.com> Merge "Implement features for NavigationDrawerView menu" into lmp-mr1-ub-dev
01090f9556e7518c9ee206de6efe42de9003f6f5 05-Feb-2015 Yuichi Araki <yaraki@google.com> Implement features for NavigationDrawerView menu

- Header
- Visible/invisible items
- Enabled/disabled items
- Subheader using SubMenu
- Divide menu items by <group>
- Paddings and margins

Change-Id: I11dadf09725b4ec1d171403c3828faeb1b2c353b
es/drawable/drawer_separator_background.xml
es/layout/design_drawer_item.xml
es/layout/design_drawer_item_separator.xml
es/layout/design_drawer_item_space.xml
es/layout/design_drawer_item_subheader.xml
es/layout/design_drawer_menu.xml
es/values-v21/dimens.xml
es/values/dimens.xml
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/widget/NavigationDrawerView.java
7e82b99953680915596eaf0eb35927388e574ca8 27-Jan-2015 Chris Banes <chrisbanes@google.com> Add tintable Drawables to support-v4

Works by using AppCompat's tinting Drawbale wrapper
in support v4. I've also moved over AppCompat and
design lib to use DrawableCompat.

I've also added a workaround due to GradientDrawable
not supporting tinting of Lollipop.

Change-Id: Ifa178eae99207051bf72ba6b9f3148cdcbe1579f
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
320c3e9fe1e100a5a7cda5dd217d2d1152d08b3f 28-Jan-2015 Chris Banes <chrisbanes@google.com> New TabLayout

Change-Id: If8a0720ab759b80bcfce7fad645e5b2a8d6e7c3a
es/values-land/styles.xml
es/values-sw600dp/dimens.xml
es/values-sw600dp/styles.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/widget/TabLayout.java
31a49efe2adb59e31611f6871895a3243d835127 30-Jan-2015 Yuichi Araki <yaraki@google.com> Initial implementation of NavigationDrawer

NavigationDrawer can be used inside DrawerLayout (support-v4) to provide
navigation menu. The menu can be populated by XML.

This is just a starting point. It still misses a lot of major features,
including marking current item, account switcher API, and pinning items.

This chnage also adds android.support.v4.widget.TextViewCompat with
setCompoundDrawablesRelative* methods.

This reverts commit e34464da9acbbf5891651addc0983d2d920f5be4.

Change-Id: I54cd343be90588cb1735189deb2100552240fde8
es/layout/design_drawer_item.xml
es/layout/design_drawer_menu.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
rc/android/support/design/internal/ScrimInsetsFrameLayout.java
rc/android/support/design/widget/NavigationDrawerView.java
e34464da9acbbf5891651addc0983d2d920f5be4 30-Jan-2015 Yuichi Araki <yaraki@google.com> Revert "Initial implementation of NavigationDrawer"

This reverts commit d4bea8be0627dac53fb5907f1f64dddf6147d55e.

Change-Id: Ic36cd74dbd8c0ba9b66fd65b096f60a1957011e9
es/layout/design_drawer_item.xml
es/layout/design_drawer_menu.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
rc/android/support/design/internal/ScrimInsetsFrameLayout.java
rc/android/support/design/widget/NavigationDrawerView.java
d4bea8be0627dac53fb5907f1f64dddf6147d55e 14-Jan-2015 Yuichi Araki <yaraki@google.com> Initial implementation of NavigationDrawer

NavigationDrawer can be used inside DrawerLayout (support-v4) to provide
navigation menu. The menu can be populated by XML.

This is just a starting point. It still misses a lot of major features,
including marking current item, account switcher API, and pinning items.

This chnage also adds android.support.v4.widget.TextViewCompat with
setCompoundDrawablesRelative* methods.

Change-Id: Ife8e39de2e2938d246713bb8cd486489be92cd6a
es/layout/design_drawer_item.xml
es/layout/design_drawer_menu.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/android/support/design/internal/NavigationMenuItemView.java
rc/android/support/design/internal/NavigationMenuPresenter.java
rc/android/support/design/internal/NavigationMenuView.java
rc/android/support/design/internal/ScrimInsetsFrameLayout.java
rc/android/support/design/widget/NavigationDrawerView.java
19b2eeafda0769c523c1cef0971cc79dcca49d60 27-Jan-2015 Chris Banes <chrisbanes@google.com> Re-add fixed design lib Makefile

Change-Id: If3cd5ad93fd548c1bf4769e955ccfce44477d960
ndroid.mk
1be2c4ced00080d9ffb4f1c002f335cb0f0838d0 26-Jan-2015 Chris Banes <chrisbanes@google.com> Remove design makefile

Change-Id: I5c917445015a5960b4054987d5593d6e2bf44082
ndroid.mk
9840efe3dbdc7026521da8576574c55120782f6c 06-Jan-2015 Chris Banes <chrisbanes@google.com> Floating Action Button

Includes a tweaked ShadowDrawableWrapper which supports
circular shapes. FloatingActionButton also support a
internal StateListAnimator for pre-Lollipop.

Change-Id: Ia88c28c2ab0da0779f1092495e3a417969cb1d2a
ndroid.mk
ase/android/support/design/widget/FloatingActionButtonImpl.java
ase/android/support/design/widget/ShadowDrawableWrapper.java
ase/android/support/design/widget/ShadowViewDelegate.java
ase/android/support/design/widget/StateListAnimator.java
uild.gradle
clair-mr1/android/support/design/widget/FloatingActionButtonEclairMr1.java
ollipop/android/support/design/widget/FloatingActionButtonLollipop.java
es/drawable/fab_background.xml
es/values/attrs.xml
es/values/colors.xml
es/values/dimens.xml
es/values/styles.xml
rc/.readme
rc/android/support/design/widget/FloatingActionButton.java
95cf11621dc3cf4b200ed61abf4f7669d7246b78 13-Jan-2015 Chris Banes <chrisbanes@google.com> Design support library skeleton DO NOT MERGE

Change-Id: I997af23e4aa7235f45908875c717831b50cb08b4
(cherry picked from commit 7b1bb4ee58ef58e205e01064c1f6452cdb015012)
ndroidManifest.xml
uild.gradle