pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
pekingme
d722a782bc
[Tokens] Upgraded outdated token output in textfield & appbar.
...
PiperOrigin-RevId: 520714140
2023-03-30 21:58:22 +00:00
pekingme
4c31ab50aa
Automated g4 rollback of changelist 498007913
...
PiperOrigin-RevId: 502944558
2023-01-19 17:49:56 +00:00
Material Design Team
0200690256
Automated g4 rollback of changelist 497863181
...
PiperOrigin-RevId: 498007913
2022-12-29 00:20:39 -05:00
pekingme
44445fa90a
[AppBar] Integrated tokens.
...
PiperOrigin-RevId: 497863181
2022-12-29 00:19:54 -05:00
rightnao
c8108b1f8e
[TopAppBar] Update motion specs
...
PiperOrigin-RevId: 480953621
2022-10-13 21:01:26 +00:00
rightnao
c587dd1259
[AppBarLayout] Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color
...
PiperOrigin-RevId: 477794812
2022-10-03 16:57:13 +00:00
raajkumars
4e323fa18b
[M3][Search] Added search bar component.
...
PiperOrigin-RevId: 467749926
2022-08-16 15:18:07 -04:00
Venugopal Rao Gubbala
7b043c3b68
[CollapsingToolbarLayout] Allow application to Set ellipsis to Title in CollapsingToolBar
...
Resolves https://github.com/material-components/material-components-android/pull/2636
GIT_ORIGIN_REV_ID=f6c2b07c1eb936ed2de47b7586688a5f6b322e48
PiperOrigin-RevId: 445200467
2022-04-28 16:26:58 -04:00
dsn5ft
b49284ec75
[M3][Toolbar] Hide shadows on all M3 Toolbar styles, not just Surface style
...
Resolves https://github.com/material-components/material-components-android/issues/2552
PiperOrigin-RevId: 429059800
2022-02-18 15:40:35 +00:00
P1NG2WIN
b01051b8bc
[MaterialToolbar] Support scaleType and adjustViewBounds for logo
...
Resolves https://github.com/material-components/material-components-android/pull/2562
GIT_ORIGIN_REV_ID=c675c6a12e2fc242d2e9e019913df650b87eea2b
PiperOrigin-RevId: 428837808
2022-02-15 19:52:03 +00:00
pfthomas
0f2b5378f7
[Top App Bar][ActionMode] Make title and subtitle match ActionBar's
...
Resolves https://github.com/material-components/material-components-android/issues/2189
PiperOrigin-RevId: 425712147
2022-02-01 22:00:53 -08:00
Dan Nizri
b7c7d18834
Revert "[Material Toolbar] Change logo scaleType and set logo adjustViewBounds"
2021-12-01 18:41:20 -05:00
Jose Figueroa
71a110fe89
Merge pull request #2406 from P1NG2WIN/master
...
[Material Toolbar] Change logo scaleType and set logo adjustViewBounds
2021-12-01 16:47:25 -05:00
dsn5ft
9ae56ceedd
[Javadocs] Remove all broken attr links from Javadocs
...
PiperOrigin-RevId: 404246710
2021-10-20 19:06:18 +00:00
P1NG2WIN
18d95124c7
Merge branch 'master' into master
2021-10-14 14:28:26 +02:00
Riccardo Ciovati
1b8fb30370
[CollapsingToolbarLayout] Allow customizing the title position interpolator
...
Resolves https://github.com/material-components/material-components-android/pull/1757
GIT_ORIGIN_REV_ID=87dea3a74d8a8f460cc9beb32bcb783f71ee6e63
PiperOrigin-RevId: 401826042
2021-10-11 10:59:08 -04:00
P1NG2WIN
0f3e86dfdc
fix
2021-10-06 01:34:09 +02:00
P1NG2WIN
a84c7541df
logoScaleType + logoAdjustViewBounds
2021-10-03 21:23:58 +02:00
dsn5ft
445c4979b3
[M3][Top App Bar] Updated ActionBar and ActionMode styling
...
PiperOrigin-RevId: 397107223
2021-09-20 10:59:34 -07:00
dsn5ft
ebacf79ec1
[M3][Top App Bar] Reorganize styles
...
PiperOrigin-RevId: 392705930
2021-08-24 15:57:22 -04:00
conradchen
8123c63747
[Menu] Fix toolbar menu arrow not visible
...
In toolbar styles we use android:theme to override text and icon colors and set ?attr/colorControlNormal to ?attr/colorOnPrimary, which is the same color (white) in the light mode as the menu background. To override this behavior again, we need to use ?attr/popupTheme and set ?attr/colorControlNormal to ?attr/colorOnSurface.
Resolves https://github.com/material-components/material-components-android/issues/553
PiperOrigin-RevId: 392003704
2021-08-23 09:36:09 -07:00
dsn5ft
cb74134075
[M3][Top App Bar] Fixed collapsing toolbar collapsed title text appearance
...
PiperOrigin-RevId: 391821355
2021-08-23 09:27:39 -07:00
dsn5ft
18490ff82d
[M3][Top App Bar] Added new AppBarLayout, CollapsingToolbarLayout, and Toolbar styles and updated Catalog pages + demos
...
PiperOrigin-RevId: 391755524
2021-08-23 09:20:24 -07:00
dniz
655dde062a
[CollapsingToolbarLayout] Added option to add extra height when title text spans across multiple lines
...
PiperOrigin-RevId: 382716405
2021-07-02 08:16:09 -04:00
dniz
9ebf1a1387
[CollapsingToolbarLayout] Added option to force always applying system window inset top regardless of layout_height
...
PiperOrigin-RevId: 382286923
2021-07-01 06:49:33 -07:00
dniz
5c147722ed
[CollapsingToolbarLayout] Added support for expanded and collapsed title text color attributes
...
PiperOrigin-RevId: 375103699
2021-05-21 14:10:28 -07:00
haodong
0ed7c7675e
[BottomAppBar] Adding the attr to set the color of navigation icon.
...
PiperOrigin-RevId: 370999656
2021-04-29 14:49:59 -04:00
hunterstich
586d5543e2
[AppBarLayout] Added compress scroll effect.
...
PiperOrigin-RevId: 370090494
2021-04-23 14:49:12 -04:00
dniz
9c75ad07f7
[CollapsingToolbarLayout] Added support for fade out/in title collapse mode
...
PiperOrigin-RevId: 365629647
2021-03-30 14:48:19 -04:00
dniz
cbf528e3a6
[MaterialToolbar] Added support for centering title and subtitle
...
Resolves https://github.com/material-components/material-components-android/issues/2011
PiperOrigin-RevId: 359360955
2021-03-03 12:37:29 -05:00
dniz
e5bed8653c
[MaterialToolbar] Renamed navigationIconColor attribute to navigationIconTint
...
PiperOrigin-RevId: 336079531
2020-10-08 16:35:04 +00:00
dniz
a6d788f28e
[CollapsingToolbarLayout] Added collapsingToolbarLayoutStyle default theme attribute
...
PiperOrigin-RevId: 333515330
2020-09-24 09:02:13 -07:00
dniz
d5eeea6247
[MaterialToolbar] Added navigationIconColor attribute
...
PiperOrigin-RevId: 332019070
2020-09-16 11:45:41 -07: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
haodong
7bcd5f606e
Fixed popup menu on action bar.
...
* Made sure light/dark theme always shows popup menu in corresponding theme.
* Increased contrast of text in popup menu in dark theme.
PiperOrigin-RevId: 278397458
2019-11-04 13:09:28 -05:00
Seanghay
3d074701a8
[AppBarLayout] Added format to appBarLayoutStyle attribute
...
Resolves https://github.com/material-components/material-components-android/pull/649
GIT_ORIGIN_REV_ID=59f78a367d5a3fe61a51a55b7b5ff88d4cac2b7b
PiperOrigin-RevId: 272719500
2019-10-03 19:40:03 -04:00
dniz
a6be8f7e5b
Update Primary and Surface ActionBar Theme Overlays to inherit from AppCompat ActionBar Theme Overlay
...
PiperOrigin-RevId: 271134096
2019-09-26 17:55:49 -04:00
dniz
72cfef981b
Rename prefix mtrl_ to material_ in public resources
...
PiperOrigin-RevId: 265729121
2019-08-29 12:16:13 -04:00
dniz
37534561f2
Add component styles that swap between primary and surface styles depending on light vs dark theme
...
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application
PiperOrigin-RevId: 256208965
2019-07-03 14:11:49 -04:00
marianomartin
8b98949b5c
Remove usages of widget.(AppBarLayout|TextInputLayout|TextInputEditText)
...
PiperOrigin-RevId: 248134329
2019-05-16 12:48:48 -04:00
dniz
8f622283d1
Remove CSL theme attribute workarounds
...
Also update androidx dependencies to get latest fixes: appcompat to 1.1.0-alpha04 and core to 1.1.0-alpha05
PiperOrigin-RevId: 246804285
2019-05-06 10:34:04 -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
dniz
6d4ffa29e3
AppBarLayout Dark Theme Elevation Overlays support, including animated overlay for Lift On Scroll
...
PiperOrigin-RevId: 241791205
2019-04-05 15:47:39 -04:00
dniz
fdbd553fc4
Set ActionMode background in Primary and Surface theme overlays
...
PiperOrigin-RevId: 234791713
2019-02-24 14:25:47 -05:00
Material Design Team
76a9b23443
Add SCROLL_FLAG_NO_SCROLL flag for AppBarLayout.LayoutParams
...
PiperOrigin-RevId: 234683507
2019-02-24 14:25:13 -05:00
dniz
3637c23078
Dark theme color palette
...
PiperOrigin-RevId: 219143246
2018-11-01 16:05:24 -07:00
dniz
6e6692eb57
Update ActionBar to use new color system
...
PiperOrigin-RevId: 217321401
2018-10-28 18:14:54 -04:00
dniz
ea40a1d406
Update Toolbar to use new color system
...
PiperOrigin-RevId: 216770087
2018-10-11 18:31:53 -04:00
dniz
a313443f9e
Update AppBarLayout liftOnScroll to support nested scrolling targets
...
- Add liftOnScrollTargetViewId attribute to allow client to specify the scrolling view that should be listened to for updating AppBarLayout lifted state.
- Use View#canScrollVertically instead of View#getScrollY to determine lifted state.
PiperOrigin-RevId: 213614055
2018-09-28 14:55:37 -04:00