History log of /frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/frameworks/support/design/src/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
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
57f39186667b8acef1a0ebeda585c357a751a8b3 02-Apr-2016 Adam Lesinski <adamlesinski@google.com> Revert "Build support libs with AAPT2"

This reverts commit 66b8608151c5923de3c9877bc03218d83f6b3beb.

Change-Id: I2178c0336bef8386e1f36ff3816b6dbf1e6a64d0
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
4ac91fa3f14db2f25345595fb921497c11d4e5c0 31-Mar-2016 Adam Lesinski <adamlesinski@google.com> Revert "Build support libs with AAPT2"

This reverts commit 0dac8d82e2a249d7c9c42ab259389e11cac15400.

Change-Id: I830fb18162b6eea8dde9e38f9dc39b02449ec846
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
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
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
7cf044ca36c51500cd1f81fc0a8713c887d4d827 06-Dec-2015 Chris Banes <chrisbanes@google.com> Don't update hint color when error is shown

BUG: 26020600
Change-Id: I4d9e8aa7284a4dcb62676605174fc4535b5b1172
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
e880f0881830661ad651452661800f0a10da4795 23-Nov-2015 Aurimas Liutikas <aurimas@google.com> Merge "Remove unused private method in TextInputLayout." into mnc-ub-dev
87ca85917a1cf62af4bf66acff58bc185a7efd5f 21-Nov-2015 Aurimas Liutikas <aurimas@google.com> Remove unused private method in TextInputLayout.

Bug: None
Change-Id: I1113fdf8b7c4419f969d763f5dd20b096af5c938
/frameworks/support/design/src/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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
380cfd776b247427779d26958249d5da85e6a59b 28-Oct-2015 Chris Banes <chrisbanes@google.com> Add setHintEnabled to TextInputLayout

BUG: 24800082

Change-Id: Idc8713a8e4516a8d93a08f151d9efbd083f29bc9
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
e948c13b87d93495ffe88f2ac36a820bf1bcb256 22-Oct-2015 Yuichi Araki <yaraki@google.com> Add isCounterEnabled to TextInputLayout

Bug: 25173829
Change-Id: I9e7e358b0bf8220ab9cfe7d818c192a14db7e082
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
17b65202f5e30392c5a525f62347b56027157620 16-Oct-2015 Chris Banes <chrisbanes@google.com> Add @attr links to TextInputLayout

Change-Id: I64ec96261c7aafd14e417caf37fecb164e6ffb4c
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
08ce6ecd43989a53e5378b2744cb3c579759457c 15-Oct-2015 Chris Banes <chrisbanes@google.com> Merge "Add AppCompatDrawableManager" 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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
99e528768ea424baf87cc29ac138d693afab3961 16-Sep-2015 Chris Banes <chrisbanes@google.com> Merge "Improve typeface support in the collapsing text widgets" into mnc-ub-dev
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
f85bf1e127ea645ca45637288ccfbab11ef2b415 25-Aug-2015 Chris Banes <chrisbanes@google.com> Make TextInputLayout's error handling spec compliant

BUG: 23494861
Change-Id: I6b867d375e41c25e44923f2db5057842715e3f8e
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
4369f8b91f58ab2fa81b617d1d15ed0fa3185092 06-Aug-2015 Chris Banes <chrisbanes@google.com> Actually use the hint provided from attrs

BUG: 22913409
Change-Id: Ib4ed59080d53bdee562dd0263e9ded959d4bedb2
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
2aa57abd4531068424642e1a5dfff47c17b84c2e 26-Jun-2015 Chris Banes <chrisbanes@google.com> Expand TextInputLayout's API with more getters/setters

BUG: 22106238
Change-Id: I2f22c3b33067db4688003a6e98271a5f3aa04d0c
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
5c42e6145cc5a917f3e97d241d55f76e2790504a 12-Jun-2015 Chris Banes <chrisbanes@google.com> Drag in the EditText's hint colors in TextInputLayout

BUG: 21797735
Change-Id: I337387169650836763bf0934b3a8172f9adc4e9e
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
1bf6093c6dab532bc57c75767470afa3cbbe0384 02-Jun-2015 Chris Banes <chrisbanes@google.com> Improvements to TextInputLayout

Also documented the OnFocusChangeListener behavior.

BUG: 21546826

Change-Id: I23b2b59b1d56763d138075a1852ba1e9cb7478b0
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
388841ca2f07d0da9bbdc66c51abe789e05cf17b 05-Jun-2015 Chris Banes <chrisbanes@google.com> Add typeface support to TextInputLayout

BUG: 21652436

Change-Id: I008d72e2508f893e402336a8d87a81aaceb5ddbf
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
a611711d69eaf8ba65af12118a96810fc17b4163 01-Jun-2015 Chris Banes <chrisbanes@google.com> Take compound drawables into account for TextInputLayout

BUG: 21549903
Change-Id: I932f535a2af700d08190ebfc8c4cf16d1d9e7c8a
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
9fb154338a62edc2c57dc036895199d6f1769400 18-May-2015 Chris Banes <chrisbanes@google.com> Some design lib doc improvements

Change-Id: I0207a11d830d180defacd11c777e6768363cf31b
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
149689d3a0b4165577470d7152112674d1d7f87c 28-Apr-2015 Chris Banes <chrisbanes@google.com> Fix design lib's attribute doc references

BUG: 20524332
Change-Id: I6dece9ec425acb3305efd0800d2f5d4f15d0aad2
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java
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
/frameworks/support/design/src/android/support/design/widget/TextInputLayout.java