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/CollapsingTextHelper.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/CollapsingTextHelper.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/CollapsingTextHelper.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/CollapsingTextHelper.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/CollapsingTextHelper.java
|
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/CollapsingTextHelper.java
|
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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.java
|
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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.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/CollapsingTextHelper.java
|
23caabcc1fc96e3756d0c354b49290467080de6a |
|
07-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Support text shadows in CollapsingTextHelper BUG: 22999436 Change-Id: I2059e1b3f9a9526f10fcbca1659123f6b3a97777
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.java
|
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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.java
|
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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.java
|
9995f7bdb02dbe16155661545fd64046ad3d56c2 |
|
01-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Add APIs to set AppBarLayout to be expanded or not BUG: 21993903 Change-Id: I840665eab09814e8f09fb1a1f3f8bd13cac0d4b7
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.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/CollapsingTextHelper.java
|
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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.java
|
d9d3addb4628537f68348d40346765b7f407cf79 |
|
08-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Fix CollapsingToolbarLayout not invalidating text BUG: 21693642 Change-Id: Idc0832398c98fb843dfc3db795fa916e2c2d74c6
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.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/CollapsingTextHelper.java
|
fef6dbf449d6e2992872a725170c5fcb4aa16975 |
|
31-May-2015 |
Chris Banes <chrisbanes@google.com> |
Fix TextInputLayout laying out RTL text as LTR BUG: 21539571 Change-Id: Ica90dd07dc5cb1e6893740350e429ca5e447a8d7
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.java
|
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
/frameworks/support/design/src/android/support/design/widget/CollapsingTextHelper.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/CollapsingTextHelper.java
|