Frantisek Nagy
8210b3ac01
[CollapsingToolbarLayout] Fix CollapsingToolbar multiline position
...
GIT_ORIGIN_REV_ID=7dbd8905bf58eb5811c4661ee77512d4d9c59c19
Co-authored-by: ymarian <38727469+ymarian@users.noreply.github.com>
PiperOrigin-RevId: 321294325
2020-07-15 09:49:15 -07:00
marianomartin
555356b03f
Internal cleanup
...
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
342ea9ad25
Internal cleanup
...
PiperOrigin-RevId: 317147378
2020-06-19 13:42:35 -04:00
Material Design Team
073382034a
Migrate android.support.v4.content.ContextCompat to androidx
...
Android X migration
PiperOrigin-RevId: 315791679
2020-06-11 17:27:51 -07:00
marianomartin
7e6dfce572
Bring back CollpasingToolbarLayout MaterialThemeOverlay support
...
PiperOrigin-RevId: 295971324
2020-02-19 13:27:47 -05:00
johan12345
d7554adce3
Add catalog demo for CollapsingToolbarLayout with mutliple lines
...
Resolves https://github.com/material-components/material-components-android/pull/413
Resolves https://github.com/material-components/material-components-android/issues/6
PiperOrigin-RevId: 294481434
2020-02-11 14:36:03 -05:00
marianomartin
83e4e47d22
Initial support for Multiline CollapsingToolbarLayout
...
This cl adds the capabilities to set multiline on CollapsingToolbarLayout while keeping single line toolbars unchanged.
Co-Authored-By: johan12345 <johan.forstner@gmail.com>
PiperOrigin-RevId: 294256516
2020-02-10 14:32:15 -05:00
isabellekim
1f9de68025
[All] Add support for materialThemeOverlay
...
Resolves https://github.com/material-components/material-components-android/pull/948
GIT_ORIGIN_REV_ID=5a8bb35a56c1b813df47d964de8482a26e0da66d
PiperOrigin-RevId: 293839172
2020-02-10 09:55:19 -05:00
cketcham
cb1674662a
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 264619150
2019-08-26 11:01:22 -04:00
isabellekim
a628bf516b
Revert the library to compile with Java 7: revert lambdas, add necessary casts, and make some variables final.
...
Continue compile shrine demo, catalog, and tests with Java 8.
PiperOrigin-RevId: 257874888
2019-07-15 19:19:23 -04:00
marianomartin
164bf0fabd
Internal cleanup
...
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
marianomartin
367b295624
Internal cleanup
...
PiperOrigin-RevId: 254414602
2019-06-24 17:12:42 -04:00
cketcham
bff75f2d3e
Update to lamdas
...
PiperOrigin-RevId: 252846439
2019-06-18 13:21:02 -04:00
Chris Banes
5b94ec83a7
Add statusBarForeground functionality to AppBarLayout
...
Currently AppBarLayout lacks the functionality which
CollapsingToolbarLayout does, to draw a drawable behind
the status bar. This CL adds that functionality.
Also added related functionality to Catalog
PiperOrigin-RevId: 242949840
2019-04-19 15:31:25 -04:00
Chris Banes
0425d3b475
Fix CollapsingToolbarLayout title bounds
...
Caused by AppBarLayout + WindowInset commit, which breaks some incorrect
assumptions in CTL. Fixed by breaking apart ViewOffsetHelper
so that its tracking of layout coordinates, and applying
offsets, are done at different times.
Also fixed catalog's AppBar sample layouts to set IDs,
enabling state restoration to work.
PiperOrigin-RevId: 239592953
2019-03-22 17:02:58 -04:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
dniz
b4529d2a88
Remove unused MathUtils methods and add documentation. Also replace
...
MathUtils#constrain with Support Library MathUtils#clamp
PiperOrigin-RevId: 197905324
2018-05-30 17:31:27 -04:00
Material Design Team
9d5f06978b
[a11y] Ensure CollapsingToolbarLayout surfaces its custom-rendered title to accessibility services.
...
PiperOrigin-RevId: 195269779
2018-05-03 14:35:57 -04:00
Material Design Team
0b2eb829de
Automated g4 rollback of changelist 195137298
...
PiperOrigin-RevId: 195163452
2018-05-03 12:53:25 -04:00
Material Design Team
fa28108018
[a11y] When the collapsing title is not null or empty, set the content description as the collapsing title.
...
PiperOrigin-RevId: 195137298
2018-05-02 17:05:57 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00