137 Commits

Author SHA1 Message Date
serniebanders
492e37f46f [M3] Chip style updates
PiperOrigin-RevId: 393994946
2021-08-31 10:46:09 -04:00
serniebanders
167b1986e7 [M3] BottomAppBar component styles
PiperOrigin-RevId: 393779583
2021-08-30 15:27:17 -04:00
jeremymuhia
786e6b5df7 [M3][Badge] create M3 styles for Badge
PiperOrigin-RevId: 393350044
2021-08-27 14:59:36 -04:00
pfthomas
0998e9d018 [M3][Menu] Create M3 styles
PiperOrigin-RevId: 393191642
2021-08-27 14:51:55 -04:00
conradchen
fabb5ea498 [M3][Divider] Create M3 styles
PiperOrigin-RevId: 393151662
2021-08-26 15:09:37 -04:00
conradchen
e5fb9d1fbd [M3][Card] Create M3 styles
PiperOrigin-RevId: 392875925
2021-08-25 14:57:05 -04:00
conradchen
4e0d5b018c [M3][Checkbox] Create M3 styles
PiperOrigin-RevId: 392760639
2021-08-25 14:55:54 -04:00
jeremymuhia
ca8f4cbb80 [M3][Large FAB] create M3 styles for large FAB
PiperOrigin-RevId: 392701548
2021-08-24 15:55:38 -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
dsn5ft
8670643c30 [M3][Theme] Add isMaterial3Theme attr and set to true in 4 main Material3 themes
PiperOrigin-RevId: 392677525
2021-08-24 15:51:02 -04:00
dsn5ft
1cf724b2ed [M3][Color] Use colorPrimary for elevation overlay color for both baseline and dynamic
PiperOrigin-RevId: 392672114
2021-08-24 15:50:00 -04:00
conradchen
a342adcac7 [M3][RadioButton] Create M3 styles
PiperOrigin-RevId: 392651948
2021-08-24 15:48:05 -04:00
conradchen
0064aa1e9c [M3][Slider] Create M3 styles
PiperOrigin-RevId: 392503743
2021-08-24 15:43:21 -04:00
jeremymuhia
6ba1a9206f [M3][eFAB] create M3 styles for extended FAB
PiperOrigin-RevId: 392502584
2021-08-24 15:42:13 -04:00
pekingme
083f01d8e3 [M3][Tokens] Integrated motion resources.
PiperOrigin-RevId: 392468784
2021-08-24 15:40:16 -04:00
conradchen
906fb2d6d5 [M3][Switch] Create M3 styles
PiperOrigin-RevId: 392441384
2021-08-23 10:09:01 -07:00
jeremymuhia
b06977b5db [M3][FAB] create M3 styles for regular FAB
PiperOrigin-RevId: 392072670
2021-08-23 09:45:13 -07:00
conradchen
60782a5d9b [M3][Tab] Create M3 styles
PiperOrigin-RevId: 391849752
2021-08-23 09:29:03 -07:00
dsn5ft
0c6f435a40 [M3][Top App Bar] Fixed styling in themes due to bad merge
PiperOrigin-RevId: 391780715
2021-08-23 09:24:07 -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
b9e5797c73 [M3][Color] Set up elevation overlays and colors in themes + theme overlays
PiperOrigin-RevId: 391744768
2021-08-23 09:19:24 -07:00
pekingme
0995f99965 [M3][Tokens] Integrated color system resources.
PiperOrigin-RevId: 391597925
2021-08-23 09:18:25 -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
hunterstich
baf55ec93c [M3][Typography] Add new typography system TextAppearance styles and set attrs in theme.
PiperOrigin-RevId: 391388105
2021-08-18 10:06:03 -07:00
dsn5ft
c3691284aa [M3] Update Dark dialog theme to have correct dark dynamic color theme overlay
PiperOrigin-RevId: 390235966
2021-08-16 13:42:24 -07:00
conradchen
27757d026a [M3] Create M3 skeleton themes
PiperOrigin-RevId: 390228317
2021-08-16 13:36:10 -07:00
Material Design Team
cbf7bcad59 Internal change
PiperOrigin-RevId: 386513223
2021-07-28 14:29:52 -04:00
raajkumars
95da70589c [Catalog][Dialog] Removed full width button style and related dialog themes. Updated catalog dialog demo to showcase how to create dialogs with full width buttons.
PiperOrigin-RevId: 371146951
2021-04-29 14:52:19 -04:00
raajkumars
cd9e6204d8 [Dialog] Added support for full width buttons in dialogs.
PiperOrigin-RevId: 368853063
2021-04-16 18:21:25 -04:00
conradchen
357bbf3054 [Color] Rename popup menu background drawable
PiperOrigin-RevId: 366305009
2021-04-01 16:51:27 -04:00
hunterstich
edd2eb57e5 [Motion] Updated motion theming attr names.
PiperOrigin-RevId: 356983952
2021-02-17 06:47:56 -08:00
raajkumars
e13610e589 [Navigation Rail] Added Navigation Rail component to the library.
PiperOrigin-RevId: 355235369
2021-02-04 20:49:41 -05:00
haodong
0d0c90b9ef Updated string translations.
PiperOrigin-RevId: 354978993
2021-02-01 11:03:44 -08:00
dniz
7e578e4b13 [Motion] Changed motionPath theme attr format to enum|string
PiperOrigin-RevId: 344865393
2020-12-01 09:28:06 -05:00
dniz
186d5ed023 [Motion] Added easing, duration, and path theme attributes, as well as utilities to read them
PiperOrigin-RevId: 343380483
2020-11-20 15:00:13 -05:00
dniz
cf3c091c7a [Dialog] Added string translations for i18n / l10n
PiperOrigin-RevId: 334817470
2020-10-01 11:33:23 -04:00
dniz
b0240d9a77 [Resources] Fixed the types of some public attrs
Resolves https://github.com/material-components/material-components-android/issues/1560

PiperOrigin-RevId: 325010287
2020-08-05 10:59:36 -04:00
marianomartin
049ad022a6 Delete components build.gradle files
PiperOrigin-RevId: 320944144
2020-07-15 09:38:31 -07:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
dniz
8851f703d8 [Theming] Move Design widget styles back to full themes from Bridge themes
Makes the Bridge themes a more true no-op when migrating from a Theme.AppCompat or Theme.Design theme and using legacy Widget.Design component styles

Resolves https://github.com/material-components/material-components-android/issues/740

PiperOrigin-RevId: 317306206
2020-06-19 14:01:34 -04:00
Material Design Team
7a300c134f Fix MaterialAlertDialog getting dismissed on any MotionEvent.
PiperOrigin-RevId: 305275984
2020-04-09 05:14:38 -07:00
Material Design Team
b9428363d7 Add nullness annotations to input parameters
PiperOrigin-RevId: 301697159
2020-03-24 11:31:35 -04:00
isabellekim
983ee3d47b Use text buttons for framework AlertDialogs in V21+. The library does not encourage usage of the framework AlertDialog (use the AppCompat one instead), however this change is to help support areas that do use the framework AlertDialog, like preferences.
Note: the default theme (android:alertDialogTheme) for framework alert dialogs pre-21 is not a public resource and therefore we cannot inherit from that theme. For this reason, we are not changing the buttons for AlertDialogs pre-21 (they will continue to use the framework default). They will, however, look like the typical pre-21 framework AlertDialogs once MaterialButton supports android:background.
PiperOrigin-RevId: 295263002
2020-02-18 16:44:15 -05:00
isabellekim
4abe78eec6 Add attributes for dialogs that should be public to public.xml
PiperOrigin-RevId: 294473825
2020-02-11 14:35:34 -05:00
isabellekim
687bb7ba2c Updating dialog theme attributes.
Resolves https://github.com/material-components/material-components-android/issues/799

PiperOrigin-RevId: 292978156
2020-02-03 15:54:04 -05:00
sadeghpro
c4ce69756d [dialog] Fix multichoice and singlechoice alert dialog in rtl mode of old api
Resolves https://github.com/material-components/material-components-android/pull/753

Co-authored-by:hunterstich <hunterstich@google.com>

GIT_ORIGIN_REV_ID=f7475a875d5b9a30fa56928baa43cc2c513a1fe5
PiperOrigin-RevId: 283797976
2019-12-05 14:38:51 -05:00
hunterstich
7601cfda8e Add materialAlertDialogTheme to public resources.
Resolves https://github.com/material-components/material-components-android/issues/769

PiperOrigin-RevId: 281547191
2019-11-22 21:23:33 +00:00