• Home
  • History
  • Annotate
  • only in /frameworks/support/design/res/
History log of /frameworks/support/design/res/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f055439eb1303027f37a50bd90ec50cb1f7740dd 20-Apr-2017 Kirill Grouchnikov <kirillg@google.com> Rename colorTextError to colorError for consistency with FW

Bug: 33829062
Test: ./gradlew support-design:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.design.widget.TextInputLayoutTest
Test: visual inspection
Change-Id: I518d47ae98a5a01bcebaf0b135004f1f6b8ff429
alues/attrs.xml
alues/colors.xml
alues/themes.xml
0ee1c0c987447646fb7a4ff86caed452947c1878 20-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Make support toolbars into keyboard navigation clusters" into oc-dev
d2d90794ffd1ab661708ec28c1f5e000c813aaf8 18-Apr-2017 Evan Rosky <erosky@google.com> Make support toolbars into keyboard navigation clusters

This also makes them match framework.

Bug: 32804858
Bug: 32117594
Test: Manually checked against support-v7-demos and support-design-demos
Change-Id: Iec32f5fa366da0df503cdb42d0616564b548d12f
alues-v21/styles.xml
alues-v26/styles.xml
alues/attrs.xml
alues/styles.xml
be551c4b446fa4364663f5622bc2e40e045c1256 18-Apr-2017 Kirill Grouchnikov <kirillg@google.com> Move textColorError from design to appcompat

When -v26 is officially supported, use android:attr/textColorError
so that on O+ devices we're using the system-provided colors.

Bug: 33829062
Test: ./gradlew support-design:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.design.widget.TextInputLayoutTest
Test: visual inspection
Change-Id: I5ca55e34785a1d8926a86a96bf4a8fc441f5ed1c
alues/attrs.xml
alues/themes.xml
751f614021e9e8dd24b88de04639ddfe02d5d4c7 06-Apr-2017 Yuichi Araki <yaraki@google.com> resolve merge conflicts of 08aea1c647 to oc-dev

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I3b1d202ab847a42eadd25cfb0d8471e0ad23edd1
96eebaf2a86b305835dc73bd96387f8b17dbf6d6 04-Apr-2017 Yuichi Araki <yaraki@google.com> Status bar background for BottomSheetDialog

Bug: 31303656
Test: Manual & existing tests on 15, 18, 19, 21 and 25
Change-Id: I72240894848ae1e9505679f2e4517c152fa3c4bf
ayout/design_bottom_sheet_dialog.xml
ff46035b3f2d734735bf1ae64e05beb828f34b0a 01-Feb-2017 ztenghui <ztenghui@google.com> Mark path as non translatable am: e255ac7362 am: 0f5db67b4a
am: 8cd0fbe0dd

Change-Id: Id012ebf6594d65978e67f3ce1481b0003426af38
e255ac736251dc8f72ae2cfb7f61a0bb088f42f0 27-Jan-2017 ztenghui <ztenghui@google.com> Mark path as non translatable

Test: Newly added test and sample app for the original repro step.

AOSP bug: https://code.google.com/p/android/issues/detail?id=232407
Bug: 34767250

Change-Id: Ia216bf1177a55a139f8988d995836c1d42c496ee
alues/password_visibility.xml
522c70ab180af24bf9777cec0a1a9b804c77c8d9 06-Jan-2017 Aurimas Liutikas <aurimas@google.com> Cleanup FloatingActionButton code to remove unneeded code.

Remove code that is no longer needed since minSdk for support library is API 14.
This code collapses FloatingActionButtonImpl, FloatingActionButtonGingerbread
and FloatingActionButtonIcs into one class.

Bug: 32794064
Test: ./gradlew clean assemble still works
Change-Id: Id20c0d1807e08ab11ece63883debe2682cfa815f
nim/design_fab_in.xml
nim/design_fab_out.xml
7d2eb0d078f60bc426ae357741ca2e748df44355 22-Dec-2016 Aurimas Liutikas <aurimas@google.com> Fix BottomNavigationView label placement. am: 583f64754e
am: 98551dfca0

Change-Id: Ib8c4e86b5c54095da59061adf3bdda96b96f7f97
583f64754e19245bf81e8a23e87b4c03dc475786 21-Dec-2016 Aurimas Liutikas <aurimas@google.com> Fix BottomNavigationView label placement.

Use the baseline of the labels for positioning them. Previously
it was 8dp from the bottom of the view, now it is 10dp from the baseline
of the text. This makes it follow the spec for this widget.

Bug: 33794750
Test: no test, visual change
Change-Id: Iaf6534937ee5d66651c1e04d805fd7bcab3ea44c
ayout/design_bottom_navigation_item.xml
d7283f666ec5b3d4e3fff2b328ec04ad1022bfd3 25-Nov-2016 Yuichi Araki <yaraki@google.com> Fix Talkback on BottomSheetDialog

The bottom sheet is no longer marked as clickable.

Bug: 32548431
Test: BottomSheetDialogTest#testTouchInside, #testClickContent
Change-Id: I0870ae90f6f51fd705486f715d7e8e6e970998da
ayout/design_bottom_sheet_dialog.xml
964604ee8fa1edb130f90a0e9957fc2a12bdd55f 22-Nov-2016 Chris Banes <chrisbanes@google.com> Small TextInputLayout label fixes

- Uses AppCompatTextView to support themeable CSLs
for text colors.
- Makes setTypeface() work for all TIL managed and created
text.
- Added setErrorTextAppearance

Test: included
BUG: 31502101
BUG: 32959058

Change-Id: I34f4381b4cf9784342ef457dc99810724edf1751
alues/ids.xml
907eab44547b2f590b3e3c75758ab6ef2e68528f 21-Nov-2016 Chris Banes <chrisbanes@google.com> Fix accessibility for password toggle button

- Set default content description for password toggle
- Ensure it is at least 48dp wide/tall

Test: included
BUG: 31011316
BUG: 32623221

Change-Id: I9c0c1659b37f40a072b5bf1c01c7049a1e02adbd
ayout/design_text_input_password_icon.xml
alues/strings.xml
alues/styles.xml
af6b251c15dab2237fdf100b5ebb9c0851c2d490 16-Nov-2016 Alan Viverette <alanv@google.com> Adds working lint target to support lib build, more workarounds

Explicitly disable on v17 leanback and v7 preference, which need
some work. Suppress issues due to Lint failing to distinguish locally-
defined methods from framework methods.

Depends on fullsdk project, which is NOT in the default checkout.

Bug: 29630077
Test: ./gradlew lint && ./gradlew assemble
Change-Id: If8da576a8f9e2a431bc60a473f0c36054818d7c1
alues/styles.xml
80761fe2762f959cffeb7fea7d204beefb9a9bf0 07-Nov-2016 Chris Banes <chrisbanes@google.com> Update TextInputLayout icon for spec update

Test: manual
BUG: 32691181
Change-Id: I7b32b034eb7cb7f0bd44504362c2313c80ee8d89
olor-v23/design_tint_password_toggle.xml
olor/design_tint_password_toggle.xml
rawable-anydpi-v21/design_ic_visibility.xml
rawable-anydpi-v21/design_ic_visibility_off.xml
rawable-hdpi/design_ic_visibility.png
rawable-hdpi/design_ic_visibility_off.png
rawable-mdpi/design_ic_visibility.png
rawable-mdpi/design_ic_visibility_off.png
rawable-v21/avd_hide_password.xml
rawable-v21/avd_show_password.xml
rawable-v21/design_password_eye.xml
rawable-xhdpi/design_ic_visibility.png
rawable-xhdpi/design_ic_visibility_off.png
rawable-xxhdpi/design_ic_visibility.png
rawable-xxhdpi/design_ic_visibility_off.png
rawable-xxxhdpi/design_ic_visibility.png
rawable-xxxhdpi/design_ic_visibility_off.png
rawable/design_ic_visibility.xml
rawable/design_password_eye.xml
alues/password_visibility.xml
alues/styles.xml
d484061a5bf1efcc88e349c229e1d1acbb9befae 31-Oct-2016 Aurimas Liutikas <aurimas@google.com> Add shadow to BottomNavigationView.
am: 7ff7ddcb89

Change-Id: I85aea8320dea1fe8010a6fd5392834a7f53b22a0
7ff7ddcb8984e76745b37be485720773d6041328 27-Oct-2016 Aurimas Liutikas <aurimas@google.com> Add shadow to BottomNavigationView.

- Adds elevation for API 21+
- Adds a gray divider for older platforms

Bug: 32394780
Change-Id: Ief55f4a7801db103c654c94d1f79e0c63c597201
alues/attrs.xml
alues/colors.xml
alues/dimens.xml
alues/styles.xml
111ab9977e17f525a1c6435de9203f096f8635af 07-Oct-2016 Aurimas Liutikas <aurimas@google.com> Force BottomNavigationView item labels to be singleLine.

- Set BottomNavigationView item labels to be single line.
- Update BottomNavigationViewUsage to demo OnNavigationItemSelectedListener
usage.

Bug: 32414896
Test: ran SupportDesignDemos
Change-Id: I701a25826f5f2e28b4262dc0526b151ec5a65514
ayout/design_bottom_navigation_item.xml
02df9a239ca934dd45815d6a291707b1a011766e 12-Oct-2016 Aurimas Liutikas <aurimas@google.com> Merge "Force BottomNavigationView item labels to be singleLine."
afcc94d52e3502a3cee74da06e2ccb1843388a50 07-Oct-2016 Aurimas Liutikas <aurimas@google.com> Force BottomNavigationView item labels to be singleLine.

- Set BottomNavigationView item labels to be single line.
- Update BottomNavigationViewUsage to demo OnNavigationItemSelectedListener
usage.

Test: ran SupportDesignDemos
Change-Id: I701a25826f5f2e28b4262dc0526b151ec5a65514
ayout/design_bottom_navigation_item.xml
8da7b24b08afba7ec155a371117df018bcc25eef 26-Sep-2016 Kirill Grouchnikov <kirillg@google.com> Support custom views on snackbars

Split the existing Snackbar class into two - the base class
with the common functionality for the lifecycle management
and action, and the extending class that "adds" a text message.

The extending class maintains the existing API surface.

This CL has sample code for a custom snackbar in SupportDesignDemo,
as well as unit tests in CustomSnackbarTest class.

Bug: 31658766
Test: ./gradlew support-design:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.design.widget.SnackbarTest
Test: ./gradlew support-design:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.design.widget.CustomSnackbarTest
Test: ./gradlew support-design-demos:assembleDebug; adb install -d -r ../../out/host/gradle/frameworks/support/support-design-demos/build/outputs/apk/support-design-demos-debug.apk
Change-Id: Ic042ad84f56645b48ad6a4d46e22a8e9352f5268
ayout/design_layout_snackbar_include.xml
3040806874f5dd6bde987ccac1c66e83671fe024 29-Sep-2016 Aurimas Liutikas <aurimas@google.com> Move design_appbar_state_list_animator.xml to correct directory.

Android Studio Inspector is telling me that design_appbar_state_list_animator
should be in animator-v21 instead of anim-v21.

Test: compiled support-design
Change-Id: Ib26fd33c33fedc60db7aa34f27914a3fc978c9cb
nim-v21/design_appbar_state_list_animator.xml
nimator-v21/design_appbar_state_list_animator.xml
alues-v21/styles.xml
4a51d9cb21bf8bf470f9619b5e13c57030cdd370 07-Sep-2016 Yuichi Araki <yaraki@google.com> Remove annoucement on BottomSheetDialog Background
am: b8fb1f844f

Change-Id: I8b2d3cb866dd3725ae1b6ea5154887b95b7ac58e
b8fb1f844f8abf85388a8dc658b145bd680d310d 05-Sep-2016 Yuichi Araki <yaraki@google.com> Remove annoucement on BottomSheetDialog Background

Prevent Talkback from annoucing "Double tap to activate" when the
background of BottomSheetDialog is touched.

Bug: 31186688
Change-Id: I26cb9bdf509f76b30d4f5425c87917c0e127c138
ayout/design_bottom_sheet_dialog.xml
3cc432a5bd723a79dc52438235b47d0ea5d41ae4 19-Aug-2016 Aurimas Liutikas <aurimas@google.com> Adding shifting mode to BottomNavigationView.

This change adds a new mode to BottomNavigationView that
follow the https://material.google.com/components/bottom-navigation.html
spec.

Bug: 27675079

Change-Id: I868bc3c8cedd39c4e5a66c3c0ffbadff93bdf329
ayout/design_bottom_navigation_item.xml
alues/dimens.xml
560426d9e9d9a9f29ed1a4abb0ee9cf837ed8a4f 18-Aug-2016 Aurimas Liutikas <aurimas@google.com> Improve text scaling animation for BottomNavigationView.

- Add BaselineLayout that baseline-aligns TextViews inside of it.
- Use two views that are baseline-aligned and animate between the two
using scale and baseline pivot.

Bug: 27675079
Change-Id: I36e067357dd08f3b41c84575c42c98297f31d83e
ayout/design_bottom_navigation_item.xml
287b1dbbec6a4256f8f9d0c03012777014addbb1 10-Aug-2016 Aurimas Liutikas <aurimas@google.com> DO NOT MERGE ANYWHERE Remove BottomNavigationView for 24.2 release.

BottomNavigationView was deemed to be not in a good enough shape to ship.
This CL removes all references to BottomNavigationView in 24.2 branch.

Bug: 30426776
Change-Id: Ib03402ca86a9532f2568784b8b9af49d7929d18e
rawable-v21/design_bottom_navigation_item_background.xml
rawable/design_bottom_navigation_item_background.xml
ayout/design_bottom_navigation_item.xml
alues/attrs.xml
alues/styles.xml
7b755f1d59be88b1ae210df8cce902f53fb77305 29-Jul-2016 Aurimas Liutikas <aurimas@google.com> Move BottomNavigationView to using scale/translate for animation.

Bug: 30426776
Change-Id: I63fbc25267f86254be4e1f0fbd33ebbe7a379fe3
ayout/design_bottom_navigation_item.xml
alues/dimens.xml
c07c8e1e74a026c0d9e3a9dd119913436380be38 12-Jul-2016 Chris Banes <chrisbanes@google.com> Tweak AppBarLayout elevation changes

First, we've sped up the animations to 150ms, from
the default 300ms. Also simplified the state list
animation (its does exactly the same thing).

Second, we now jump the animation if we have any
overlapping scrolling views.

BUG: 29938204

Change-Id: Ie5ee85a4fe6154e318c314d0d671b367115efaf3
nim-v21/design_appbar_state_list_animator.xml
alues/integers.xml
dfea0eae13e946f2e4e063978676e69d22fe432d 15-Jul-2016 Chris Banes <chrisbanes@google.com> Fix Snackbar theme on sw600dp

Missed this layout in I9c91437a33eee99326f2bbfe9719667f598e005a

BUG: 30154587
Change-Id: I630dbe7a6b0d2065625906eaa0d40924f31f206f
ayout-sw600dp/design_layout_snackbar.xml
93bfbc677a52c6d31bcf06a622337bc77d44a133 13-Jul-2016 Chris Banes <chrisbanes@google.com> Merge "Add disabled support to TextInputLayout" into nyc-support-24.1-dev
d0e81901dca622d56d936a2bdd84ff89dee9afcb 11-Jul-2016 Chris Banes <chrisbanes@google.com> Fix Snackbar action button padding

Two issues here, the first is that we're using
Widget.AppCompat.Button.Borderless which has a parent
which sets a 88dp minWidth.

The second issue is that we don't need to set explicit
padding on the button since it already has the correct
values from its background drawable.

BUG: 30060349

Change-Id: I83ea90170f7785a6c866c6c3d8785c9d8929e14b
ayout/design_layout_snackbar_include.xml
8a40d691aa783c2e85298e895a3e51e98606aa85 26-May-2016 Chris Banes <chrisbanes@google.com> Add disabled support to TextInputLayout

Also added ColorStateList text color support to
CollapsingTextHelper.

BUG: 28636203
Change-Id: Ibe719c0cfc5b17eaed0fb1aa95fdffee74e75c36
olor/design_error.xml
alues/styles.xml
943b6775f5dbe28a8ae509e685cf765937b2a76b 30-Jun-2016 Yuichi Araki <yaraki@google.com> Add layout_insetEdge and layout_dodgeInsetEdges

Add layout_insetEdge and layout_dodgeInsetEdges to CoordinatorLayout.
Views that are marked with layout_insetEdge will inset a CoL's edge.
Views that are marked with layout_dodgeInsetEdges will dodge the
specified inset edges.

The internal implementation of Snackbar-FAB relationship will be
replaced in a coming CL.

Bug: 29417370
Change-Id: Id381d8b6225f3211048dd39fd459e52224af1929
alues/attrs.xml
d95f5479ea03d388e1d7a0297eaf52a6a4e0d74e 24-Jun-2016 Yuichi Araki <yaraki@google.com> Fix NavigationView appearance on GB

Fix empty icon drawable so that it actually looks empty on Gingerbread.

Change-Id: I7cb8c3c0e3fdc559b688b64aeb99f0c207541038
rawable/navigation_empty_icon.xml
c4aabf74968c45051bf4b7f6fa75825b1c2847b9 23-Jun-2016 Chris Banes <chrisbanes@google.com> Merge "Make Snackbar work with translucent navigation bars"
27705d3451499dd8498effd111f1f4c7df917d87 22-Jun-2016 Chris Banes <chrisbanes@google.com> Make Snackbar work with translucent navigation bars

Also fixed an issue in ViewCompat.setOnApplyWindowInsetsListener
which makes it NPE when given a null listener.

BUG: 29075380
Change-Id: I9c91437a33eee99326f2bbfe9719667f598e005a
ayout/design_layout_snackbar.xml
alues/styles.xml
01ca48bfc8ad80dae2e2809420af1e4b80dd4ae5 22-Jun-2016 Yuichi Araki <yaraki@google.com> Automatic peekHeight for bottom sheets

Apps can specify app:behavior_peekHeight="auto" to let the
BottomSheetBehavior automatically calculate the 16:9 ratio keyline and
use it as the peek height while keeping it at least as tall as 64dp.

This is now the default parameter of BottomSheetBehavior and
BottomSheetDialog. The old default was 0, so this change will not affect
existing apps which should already have some value specified for the
peek height.

Bug: 27260758
Change-Id: Ibbf725aa89352512f4b54fa9fe297c1675f76939
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
3324facde2644c98161b72b05620efc55873cd24 19-Jun-2016 Chris Banes <chrisbanes@google.com> Merge "Implement password toggle in TextInputLayout"
0af41537433f480235d3418dc5fec580a76f22bb 17-Jun-2016 Aurimas Liutikas <aurimas@google.com> Merge "Initial implementation for BottomNavigationView widget."
ddf46923b9487ac3a021f01b55d96136d811e8be 07-Apr-2016 Chris Banes <chrisbanes@google.com> Implement password toggle in TextInputLayout

This CL implements the new password spec from the
Material Design guidelines into TextInputLayout.
The icon and tint are customizable via attributes
and method calls.

Also added getCompoundDrawablesRelative() to
TextViewCompat.

BUG: 26614707

Change-Id: I3d36277fe92f1be0c9f23567fa55b42c5ba15be1
olor-v23/design_tint_password_toggle.xml
olor/design_tint_password_toggle.xml
rawable/design_ic_visibility.xml
ayout/design_text_input_password_icon.xml
alues/attrs.xml
alues/styles.xml
23e274886774bf1a6c433ed98503e148fa1e15b4 28-Apr-2016 Aurimas Liutikas <aurimas@google.com> Initial implementation for BottomNavigationView widget.

Bug: 27675079
Change-Id: Ic24dfa979557f5af06294c61da5d74821254a583
rawable-v21/design_bottom_navigation_item_background.xml
rawable/design_bottom_navigation_item_background.xml
ayout/design_bottom_navigation_item.xml
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
f3865fbd67715b07d43da357dea742edf3bf9913 15-Jun-2016 Yuichi Araki <yaraki@google.com> NavigationView supports full-width custom views

Bug: 28992790
Change-Id: I5dacd8e859badabdc7f35c40d4cd82c017a868b9
rawable/navigation_empty_icon.xml
8f8034a4204fc10c4805758051f0cec2159c0e40 27-May-2016 Yuichi Araki <yaraki@google.com> Add autoHide to FloatingActionButton

Add a new attribute "behavior_autoHide" to
FloatingActionButton.Behavior. The FAB automatically hides when there is
not enough space for it if behavior_autoHide is set to true. It defaults
to true. FAB.Behavior currently supports AppBarLayout and
BottomSheetBehavior.

This also fixes the issue that CoordinatorLayout stops sending
onDependentViewChanged after the child view reaches at an edge of the
CoordinatorLayout.

Bug: 28962378
Change-Id: Ic17bda6fc448f0c483752f1a3ed0df50fe60a458
alues/attrs.xml
362585b01e5ca19d1c58e4b152ad0a863b5f6d91 11-May-2016 Yuichi Araki <yaraki@google.com> Add behavior_skipCollapsed for bottom sheet

Bug: 27421374
Change-Id: Ib606974d72e86d8c5baaea505c181b06090a5d14
alues/attrs.xml
alues/styles.xml
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
alues/attrs.xml
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
alues/attrs.xml
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
alues/attrs.xml
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
nim-v21/design_appbar_state_list_animator.xml
alues-v21/styles.xml
alues/attrs.xml
alues/styles.xml
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
alues/attrs.xml
alues/styles.xml
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
ayout/design_bottom_sheet_dialog.xml
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
alues/attrs.xml
alues/colors.xml
alues/styles.xml
alues/themes.xml
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
ayout/design_bottom_sheet_dialog.xml
alues/styles.xml
00a5da9ff7cb74900362a85c567a3795afbc5586 27-Jan-2016 Chris Banes <chrisbanes@google.com> Update TabItem attr docs

BUG: 26773458
Change-Id: I4d7b83eb8a5b88da2acbf1221aab9b06d15c01c0
alues/attrs.xml
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
alues/attrs.xml
129ef23221fb1639caca62de279f1437e657cd07 08-Jan-2016 Yuichi Araki <yaraki@google.com> Merge "Fix BottomSheet over ScrollView" into mnc-ub-dev
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
alues/attrs.xml
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
ayout/design_bottom_sheet_dialog.xml
809f48ca81c790ed0419e70320b5d6d6b28f145b 29-Dec-2015 Chris Banes <chrisbanes@google.com> Use correct max width for NavigationView

BUG: 26027590
Change-Id: I6137d0397ed35186501b2a54be3583546c96779a
alues-sw600dp/dimens.xml
alues/dimens.xml
623321eab762c7aca78f08251f89a4e833c914b7 16-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "BottomSheetDialog and BottomSheetDialogFragment" 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
nim-v21/design_bottom_sheet_slide_in.xml
nim-v21/design_bottom_sheet_slide_out.xml
nim/design_bottom_sheet_slide_in.xml
nim/design_bottom_sheet_slide_out.xml
ayout/design_bottom_sheet_dialog.xml
alues/attrs.xml
alues/dimens.xml
alues/integers.xml
alues/strings.xml
alues/styles.xml
alues/themes.xml
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
alues/attrs.xml
ae479519bd986c68e360003c4bb0fbe2cac92a85 07-Dec-2015 Chris Banes <chrisbanes@google.com> Make Snackbar align text to start

BUG: 26023830
Change-Id: Ic83491b1090455eccf9c36754358209f557692d6
ayout/design_layout_snackbar_include.xml
573ba55e84fb3ea2d9c8ba82cdf1f62c9f4e0163 04-Dec-2015 Yuichi Araki <yaraki@google.com> Merge "Support for use outside of DrawerLayout" into mnc-ub-dev
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
ayout/design_navigation_menu.xml
alues-v21/dimens.xml
alues/dimens.xml
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
alues/attrs.xml
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
alues/attrs.xml
380cfd776b247427779d26958249d5da85e6a59b 28-Oct-2015 Chris Banes <chrisbanes@google.com> Add setHintEnabled to TextInputLayout

BUG: 24800082

Change-Id: Idc8713a8e4516a8d93a08f151d9efbd083f29bc9
alues/attrs.xml
d9cbe69a6661315238d856abc22578d03666f63b 26-Oct-2015 Chris Banes <chrisbanes@google.com> Add getContentRect() API to FloatingActionButton

BUG: 25250136
Change-Id: I6bb69346853e3b08140622b6f50c265295314051
alues/dimens.xml
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
alues/strings.xml
alues/styles.xml
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
ayout/design_navigation_menu.xml
23ef6d92a03cb113f974a01f02ca61904d1becad 21-Oct-2015 Yuichi Araki <yaraki@google.com> Fix control with dpad for NavigationView

Bug: 25102735
Change-Id: Icea27044241ed5e6f444e82f924159da4c7f8bbe
ayout/design_navigation_item.xml
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
alues/attrs.xml
cdf5fd0194b094c36cfe2a1fcac80648952714e6 16-Oct-2015 Chris Banes <chrisbanes@google.com> Fix Tab width with using icon + centered tabs

BUG: 25001848
Change-Id: Ia8d4b508b8f7c36d99434292a941734df49f46c5
ayout/design_layout_tab_text.xml
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
alues/attrs.xml
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
ayout/design_navigation_menu.xml
0eb4e73f0dbc959094353ec01dbdf480a569c001 17-Sep-2015 Mady Mellor <madym@google.com> Merge "Update NavigationView to use CoordinatorLayout for header and list." into mnc-ub-dev
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
ayout/design_navigation_item_header.xml
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
alues/attrs.xml
alues/strings.xml
alues/styles.xml
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
alues/attrs.xml
64bcb674cc45ab712a591d4f540d5c13404f3b83 03-Sep-2015 Yuichi Araki <yaraki@google.com> Revert "Revert "Use RecyclerView for NavigationView""

This reverts commit ca2f07c9cc83b98d73a18da7177044ee147ffb94.

Change-Id: I7c19c2f84fc4b520b8a1951729c40a1f9ac1435f
ayout/design_navigation_item.xml
ayout/design_navigation_menu.xml
alues/attrs.xml
ca2f07c9cc83b98d73a18da7177044ee147ffb94 01-Sep-2015 Chris Banes <chrisbanes@google.com> Revert "Use RecyclerView for NavigationView"

This reverts commit e7b2c26d2ffadc94dc6ee043ab12e03201e1bf95.

Change-Id: I1c7ec7629a08566dd4a17431a857e36961ba8270
ayout/design_navigation_item.xml
ayout/design_navigation_menu.xml
alues/attrs.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
ayout/design_navigation_item.xml
ayout/design_navigation_menu.xml
alues/attrs.xml
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
alues-sw600dp/dimens.xml
alues/dimens.xml
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
ayout/design_layout_tab_icon.xml
ayout/design_layout_tab_text.xml
alues/dimens.xml
alues/styles.xml
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
ayout/design_menu_item_action_area.xml
ayout/design_navigation_item.xml
ayout/design_navigation_menu_item.xml
1701feace5652372dd2fe1913f74169a12e2c940 28-Jul-2015 Chris Banes <chrisbanes@google.com> Allow CollapsingToolbarLayout's title is be disabled

BUG: 22782543
Change-Id: I72e513abae20cd5b25fefe6ff5061fee34daab0f
alues/attrs.xml
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
alues/attrs.xml
2aa57abd4531068424642e1a5dfff47c17b84c2e 26-Jun-2015 Chris Banes <chrisbanes@google.com> Expand TextInputLayout's API with more getters/setters

BUG: 22106238
Change-Id: I2f22c3b33067db4688003a6e98271a5f3aa04d0c
alues/attrs.xml
b955ee1e7c11c8204d10af85c5bcaed1f644a3d5 09-Jul-2015 Yuichi Araki <yaraki@google.com> Make NavigationView scrollbar visible

http://b.android.com/179390

Change-Id: I8682533f56460ffcdc07c3598f1b2359697199c5
ayout/design_navigation_menu.xml
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
alues/styles.xml
80b7fc1fa8d9200b81b2409347678af79b128a49 06-Jul-2015 Chris Banes <chrisbanes@google.com> Merge "Use Button for Snackbar's action" into lmp-mr1-ub-dev
3752c59f8382bf6a1dd69551650f1d1edb249a9b 06-Jul-2015 Chris Banes <chrisbanes@google.com> Update default elevation values to spec

Change-Id: If678908c6c7ec8b373b850fba560f2a4e4fa487e
alues/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
ayout/design_layout_snackbar_include.xml
alues/styles.xml
9995f7bdb02dbe16155661545fd64046ad3d56c2 01-Jun-2015 Chris Banes <chrisbanes@google.com> Add APIs to set AppBarLayout to be expanded or not

BUG: 21993903

Change-Id: I840665eab09814e8f09fb1a1f3f8bd13cac0d4b7
alues/attrs.xml
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
alues/attrs.xml
a577676a64e5353b8ec927117151aa6be84adf66 23-Jun-2015 Chris Banes <chrisbanes@google.com> Prefix design lib resources to try and avoid conflicts

BUG: 21363917
Change-Id: I770a01618ac8fefae6d82d1640ccf313111e38e8
nim/design_fab_in.xml
nim/design_fab_out.xml
nim/design_snackbar_in.xml
nim/design_snackbar_out.xml
nim/fab_in.xml
nim/fab_out.xml
nim/snackbar_in.xml
nim/snackbar_out.xml
rawable/design_fab_background.xml
rawable/design_snackbar_background.xml
rawable/fab_background.xml
rawable/snackbar_background.xml
ayout-sw600dp/design_layout_snackbar.xml
ayout-sw600dp/layout_snackbar.xml
ayout/design_layout_snackbar.xml
ayout/design_layout_snackbar_include.xml
ayout/design_layout_tab_icon.xml
ayout/design_layout_tab_text.xml
ayout/design_navigation_item.xml
ayout/design_navigation_item_header.xml
ayout/design_navigation_menu.xml
ayout/layout_snackbar.xml
ayout/layout_snackbar_include.xml
ayout/layout_tab_icon.xml
ayout/layout_tab_text.xml
alues-sw600dp/config.xml
alues-sw600dp/dimens.xml
alues-v21/dimens.xml
alues/colors.xml
alues/config.xml
alues/dimens.xml
alues/styles.xml
078e7622fe6f0a24fd91ddf315e9cbafe0e27a52 10-Jun-2015 Chris Banes <chrisbanes@google.com> Fix Snackbar sw600dp gravity

BUG: 21748931
Change-Id: Ic593dc76f8d5aef3d1ec82422581688bc976485d
ayout-sw600dp/layout_snackbar.xml
6ca2841444fa47edede00296d09f21dde6de2f39 10-Jun-2015 Chris Banes <chrisbanes@google.com> Merge "Make TabLayout more customizable" into lmp-mr1-ub-dev
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
ayout/layout_tab_icon.xml
ayout/layout_tab_text.xml
153fa9a03422419cd56b7d17def1ae907fc7b5cf 08-Jun-2015 Chris Banes <chrisbanes@google.com> Add method to change NavigationView text appearance

BUG: 21455036
Change-Id: I5ce72af991c66ac1f7750bd1820bc4361f95eddf
alues/attrs.xml
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
alues/styles.xml
39dcb8e69987721ce8cc15f8d8b7379e58f6c303 31-May-2015 Chris Banes <chrisbanes@google.com> Merge "Fix NavigationView's text appearance" into lmp-mr1-ub-dev
56c266c9b88e3814c35e2f722c67831b3f9f4da3 30-May-2015 Chris Banes <chrisbanes@google.com> Fix NavigationView's text appearance

BUG: 21455036

Change-Id: I53b5a5fe304796736bcf78df5437c24bebd17b57
ayout/design_navigation_item.xml
ayout/design_navigation_item_subheader.xml
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
alues/styles.xml
9e810f95f813023afe58dbea8f9b4b35ee6406f1 26-May-2015 Chris Banes <chrisbanes@google.com> CollapingToolbarLayout styling tweaks

Change-Id: I713b317d518ab06fd49f9ecfe048baeec6367662
alues/styles.xml
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
rawable/fab_border_background.xml
alues/colors.xml
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
rawable/fab_border_background.xml
alues/attrs.xml
alues/colors.xml
alues/dimens.xml
alues/styles.xml
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
alues/attrs.xml
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
alues/attrs.xml
alues/styles.xml
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
alues/attrs.xml
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
alues/attrs.xml
0cf8ecaeccbd07b5259927569eaf79e9a275d34f 29-Apr-2015 Chris Banes <chrisbanes@google.com> Add app:headerLayout attribute to NavigationView

BUG: 20654538
Change-Id: I38a299b514cfcdc3092273fec58d1134b187a928
alues/attrs.xml
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
nim/fab_in.xml
nim/fab_out.xml
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
ayout/design_navigation_item_header.xml
ayout/design_navigation_item_space.xml
81520564f3dd783136e025174021ba4eabd6ff3c 13-Apr-2015 Chris Banes <chrisbanes@google.com> Set default background for AppBarLayout

Change-Id: I8e5809a3d7dedca82fdeaad2e759ba127069e7df
alues/attrs.xml
alues/styles.xml
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
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
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
alues/attrs.xml
alues/ids.xml
alues/strings.xml
alues/styles.xml
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
ayout/design_navigation_item_separator.xml
ayout/design_navigation_item_space.xml
ayout/design_navigation_menu.xml
alues/dimens.xml
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
alues/attrs.xml
alues/styles.xml
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
nim/snackbar_in.xml
nim/snackbar_out.xml
rawable/snackbar_background.xml
ayout-sw600dp/layout_snackbar.xml
ayout/layout_snackbar.xml
ayout/layout_snackbar_include.xml
alues-sw600dp/config.xml
alues-sw600dp/dimens.xml
alues/attrs.xml
alues/colors.xml
alues/config.xml
alues/dimens.xml
alues/styles.xml
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
alues/attrs.xml
alues/colors.xml
alues/styles.xml
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
alues/attrs.xml
a5081dfb26b3664d97d5fe09b9b6a9c9667e0e9f 19-Feb-2015 Yuichi Araki <yaraki@google.com> Rename NavigationDrawerView to NavigationView

Change-Id: I639fbb4754add5d72f5baaca6728fc1348e256e0
ayout/design_drawer_item.xml
ayout/design_drawer_item_separator.xml
ayout/design_drawer_item_space.xml
ayout/design_drawer_item_subheader.xml
ayout/design_drawer_menu.xml
ayout/design_navigation_item.xml
ayout/design_navigation_item_separator.xml
ayout/design_navigation_item_space.xml
ayout/design_navigation_item_subheader.xml
ayout/design_navigation_menu.xml
alues-v21/dimens.xml
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
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
rawable/drawer_separator_background.xml
ayout/design_drawer_item.xml
ayout/design_drawer_item_separator.xml
alues/attrs.xml
alues/dimens.xml
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
rawable/drawer_separator_background.xml
ayout/design_drawer_item.xml
ayout/design_drawer_item_separator.xml
ayout/design_drawer_item_space.xml
ayout/design_drawer_item_subheader.xml
ayout/design_drawer_menu.xml
alues-v21/dimens.xml
alues/dimens.xml
320c3e9fe1e100a5a7cda5dd217d2d1152d08b3f 28-Jan-2015 Chris Banes <chrisbanes@google.com> New TabLayout

Change-Id: If8a0720ab759b80bcfce7fad645e5b2a8d6e7c3a
alues-land/styles.xml
alues-sw600dp/dimens.xml
alues-sw600dp/styles.xml
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
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
ayout/design_drawer_item.xml
ayout/design_drawer_menu.xml
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
e34464da9acbbf5891651addc0983d2d920f5be4 30-Jan-2015 Yuichi Araki <yaraki@google.com> Revert "Initial implementation of NavigationDrawer"

This reverts commit d4bea8be0627dac53fb5907f1f64dddf6147d55e.

Change-Id: Ic36cd74dbd8c0ba9b66fd65b096f60a1957011e9
ayout/design_drawer_item.xml
ayout/design_drawer_menu.xml
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
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
ayout/design_drawer_item.xml
ayout/design_drawer_menu.xml
alues/attrs.xml
alues/dimens.xml
alues/styles.xml
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
rawable/fab_background.xml
alues/attrs.xml
alues/colors.xml
alues/dimens.xml
alues/styles.xml