Gabriele Mariotti
b2fbacecd4
[MaterialDatePicker] added methods to use custom text for positive and negative button
...
Resolves https://github.com/material-components/material-components-android/pull/1607
GIT_ORIGIN_REV_ID=75093200ddeae117ae57a3e89e28d109f520ec8d
PiperOrigin-RevId: 407376627
2021-11-04 10:53:04 -04:00
pfthomas
83edbc4c49
[M3][Catalog] Add example of Preferences screen with Top App Bar
...
PiperOrigin-RevId: 406825107
2021-11-01 19:29:48 +00:00
Material Design Team
b8084848a0
[M3][Color] Refactored and added the Dynamic Color Palette demo in Catalog.
...
PiperOrigin-RevId: 406168279
2021-10-28 18:52:59 +00:00
conradchen
abb9d5bf99
[M3][Chip] Update chip styles with spec
...
PiperOrigin-RevId: 404852054
2021-10-25 16:06:43 +00:00
jeremymuhia
7cc64fdd76
[Catalog][Textfield] add snackbars to toggles
...
PiperOrigin-RevId: 404588306
2021-10-20 19:21:22 +00:00
leticiars
3668ca7e54
[Catalog][Adaptive] Simplified getting the fold position for the Adaptive demos. Included considering whether there's a hinge for some cases.
...
PiperOrigin-RevId: 404027612
2021-10-18 15:33:17 -04:00
dsn5ft
79e6834c0c
[Catalog][Adaptive] Fixed Activities in manifest for single module Gradle build
...
PiperOrigin-RevId: 400966130
2021-10-05 09:09:11 -04:00
leticiars
82ca11a86c
[Catalog][Adaptive] Changed ListView adaptive demo to include fold position if needed.
...
PiperOrigin-RevId: 400281960
2021-10-05 08:43:40 -04:00
leticiars
a2815ae724
[Catalog][Adaptive] Implemented M3 Supporting Panel demo.
...
PiperOrigin-RevId: 400271124
2021-10-05 08:39:19 -04:00
leticiars
c64bb76222
[Catalog][Adaptive] Added adaptive canonical layout demos to catalog.
...
PiperOrigin-RevId: 399672106
2021-09-29 10:02:54 -04:00
conradchen
4931d9b89e
[M3][Card] Update card dev doc with the new filled style and new assets
...
PiperOrigin-RevId: 399245794
2021-09-28 14:59:10 +00:00
conradchen
b40b782525
[M3][Card] Add filled card style to M3 themes
...
PiperOrigin-RevId: 398780149
2021-09-28 14:52:04 +00:00
Material Design Team
d0633c618d
[M3][Color] Added Color Demo, including color harmonization.
...
PiperOrigin-RevId: 398720414
2021-09-24 17:54:26 +00:00
dsn5ft
574f83da18
[M3][Catalog] Fixed favorite demo button icon colors
...
PiperOrigin-RevId: 398487784
2021-09-23 19:40:33 +00:00
hunterstich
c6d0f7c785
[M3][NavigationRail] Added new navigation rail styles.
...
PiperOrigin-RevId: 397846116
2021-09-21 08:35:12 -07:00
conradchen
868f8aaba3
[Tab] Fix setting tab indicator and its full-width flag
...
1. When a new tab indicator drawable is set, we didn't correctly restore the previous set indicator height to the new drawable, or set the drawing bound to the intrinsic height of the drawable, if the indicator height was not specified. This result in a 0-height drawing bound after setting the tab indicator, which makes it disappear and can never go back if the tab indicator gravity is not "stretch" (which will recalculate the height after moving the indicator). Fixes this by correctly set the drawing bounds after a new tab indicator drawable is set.
2. After we set full-width flag of tab indicator, the width won't be updated until we move the tab indicator. Fixes this by explicitly triggering the recalculation of tab indicator's drawing bound after changing the flag.
Resolves: https://github.com/material-components/material-components-android/issues/2354
PiperOrigin-RevId: 397823617
2021-09-21 08:14:25 -07:00
leticiars
ed0567d26d
[Catalog] Removed MaterialComponents references from musicplayer package.
...
PiperOrigin-RevId: 396367575
2021-09-16 09:56:45 -07:00
afohrman
f01e6a849d
[M3][Dialog] Add M3 styles for Dialog.
...
PiperOrigin-RevId: 395775598
2021-09-15 12:31:13 -07:00
jeremymuhia
054f1dba1e
[M3][FAB] add tertiary FAB color variant
...
PiperOrigin-RevId: 395721687
2021-09-15 12:22:52 -07:00
dsn5ft
9534612864
[M3][Catalog] Added compress effect Top App Bar demo
...
PiperOrigin-RevId: 395519586
2021-09-08 17:42:22 -04:00
dsn5ft
7463f9a294
[M3][Catalog] Added Medium and Large collapsing toolbar Top App Bar demos
...
PiperOrigin-RevId: 395508118
2021-09-08 17:41:35 -04:00
pekingme
5c2a5920d5
[M3][ProgressIndicator] Created progress indicator's M3 styles.
...
PiperOrigin-RevId: 394263058
2021-09-01 17:07:57 -04:00
conradchen
cdafe752e3
[M3][Bottomsheet] Create bottom sheet styles
...
PiperOrigin-RevId: 394258956
2021-09-01 17:07:04 -04:00
dsn5ft
e776908bd2
[M3][Catalog] Updated some demo references to Material3 styles
...
PiperOrigin-RevId: 394005182
2021-08-31 12:01:43 -04:00
serniebanders
492e37f46f
[M3] Chip style updates
...
PiperOrigin-RevId: 393994946
2021-08-31 10:46:09 -04:00
leticiars
7abf166170
[Catalog] Adding android:exported to catalog main activity.
...
PiperOrigin-RevId: 393424488
2021-08-27 17:30:38 -04:00
pfthomas
0998e9d018
[M3][Menu] Create M3 styles
...
PiperOrigin-RevId: 393191642
2021-08-27 14:51:55 -04:00
serniebanders
7f597a711c
[M3][Chip] Create M3 styles
...
PiperOrigin-RevId: 393154962
2021-08-26 15:10:34 -04:00
conradchen
fabb5ea498
[M3][Divider] Create M3 styles
...
PiperOrigin-RevId: 393151662
2021-08-26 15:09:37 -04:00
jeremymuhia
5e98a056c1
[M3][Catalog][FAB] update FAB demos
...
PiperOrigin-RevId: 393138444
2021-08-26 14:45:19 -04:00
conradchen
2901012af5
[M3][DatePicker] Create M3 styles
...
PiperOrigin-RevId: 392982386
2021-08-26 14:43:23 -04:00
leticiars
864ef024ab
[Catalog] Music player demo updates.
...
PiperOrigin-RevId: 392884977
2021-08-25 14:58:02 -04:00
conradchen
e5fb9d1fbd
[M3][Card] Create M3 styles
...
PiperOrigin-RevId: 392875925
2021-08-25 14:57:05 -04:00
hunterstich
999b24783c
[M3][NavigationBar] Add new navigation bar styles.
...
PiperOrigin-RevId: 392688526
2021-08-24 15:52:44 -04:00
pfthomas
6bfa5842b9
[M3][Button] Create M3 styles
...
PiperOrigin-RevId: 392680177
2021-08-24 15:51:48 -04:00
conradchen
febe25707c
[M3][DynamicColor] Create dynamic color support in M3
...
PiperOrigin-RevId: 392425782
2021-08-23 09:46:04 -07:00
dsn5ft
ae20031806
[M3][Catalog] Update Catalog naming to Material 3
...
PiperOrigin-RevId: 392012855
2021-08-23 09:39:13 -07:00
dsn5ft
fb522a576b
[M3][Catalog] Fixed filled text field demo style
...
PiperOrigin-RevId: 391978584
2021-08-23 09:34:25 -07:00
conradchen
60782a5d9b
[M3][Tab] Create M3 styles
...
PiperOrigin-RevId: 391849752
2021-08-23 09:29:03 -07:00
hunterstich
7bcb917862
[M3][Typography] Update Font catalog demo to use new typescale.
...
PiperOrigin-RevId: 391820169
2021-08-23 09:26:49 -07:00
conradchen
edbc4e1f64
[M3][Textfield] Create M3 styles
...
PiperOrigin-RevId: 391773145
2021-08-23 09:22:14 -07:00
dsn5ft
f428f20829
[M3][Color] Updated colorPrimaryDark to point to colorPrimary
...
Also updated Catalog edge-to-edge logic to handle "light status bar", and default to edge-to-edge enabled for Q+
PiperOrigin-RevId: 391763801
2021-08-23 09:21:21 -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
dsn5ft
5d940f1ff8
[M3][Catalog] Update Catalog theme(s) to Material3 and fix Material3 date/time picker theme overlays
...
PiperOrigin-RevId: 391581833
2021-08-23 09:17:02 -07:00
Material Design Team
cbf7bcad59
Internal change
...
PiperOrigin-RevId: 386513223
2021-07-28 14:29:52 -04:00
leticiars
cc4a6040fd
[Catalog] Small updates to music player demo.
...
PiperOrigin-RevId: 385011921
2021-07-22 10:12:08 -04:00
dsn5ft
aaa0444308
[AppBarLayout] Added support for statusBarForeground lift on scroll elevation overlay for edge to edge mode and updated demo
...
Helpful for the case where the Top App Bar text/icons are still visible underneath a transparent status bar, when the Top App Bar is scrolled up.
PiperOrigin-RevId: 384985602
2021-07-22 10:11:22 -04:00
conradchen
456f135627
[Button] Fix progress indicator is not shown when set as the icon
...
MaterialButton is using TextViewCompat.setCompoundDrawablesRelative() under the hood to implement setIcon() operation. TextViewCompat won't call its compound drawables' setVisible() method, on which we rely to start progress indicator drawables automatically.
Calls setVisible() explicitly to start progressing.
Also adds a demo to catalog.
Resolves https://github.com/material-components/material-components-android/issues/2095
PiperOrigin-RevId: 383483364
2021-07-08 15:58:13 +00: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
leticiars
782dffa8b7
[Divider] Added new Divider component to the library and Divider doc.
...
PiperOrigin-RevId: 381858673
2021-06-28 13:08:28 -07:00