66 Commits

Author SHA1 Message Date
isabellekim
6b9858b4b8 Remove unused theme styleables.
PiperOrigin-RevId: 241933487
2019-04-05 15:52:08 -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
ldjesper
63cd0d8428 Change CalendarView to a Fragment as it will contain more fragments
PiperOrigin-RevId: 241414776
2019-04-05 15:29:59 -04:00
dniz
760a99f883 Enable Elevation Overlays for Dark Themes and update surface colors to match spec
PiperOrigin-RevId: 240425682
2019-03-26 17:35:50 -04:00
marianomartin
912045f642 [Menu] Add overlay color for APIs 23 and up
PiperOrigin-RevId: 239214849
2019-03-22 16:52:26 -04:00
dniz
7b594393c8 Dark Theme Elevation Overlay system
PiperOrigin-RevId: 237829773
2019-03-22 16:02:26 -04:00
ldjesper
a6968befc1 Unique name for MaterialDatePickerView styles
PiperOrigin-RevId: 237271488
2019-03-08 10:09:55 -05:00
ldjesper
0aa32c1ce6 Adds a bare implementation of a date picker not yet ready for use
PiperOrigin-RevId: 237052095
2019-03-08 10:06:25 -05:00
Material Design Team
357ac6a800 Automated g4 rollback of changelist 236909539
PiperOrigin-RevId: 236951421
2019-03-08 10:05:39 -05:00
ldjesper
206ef37620 Adds a bare implementation of a date picker
PiperOrigin-RevId: 236909539
2019-03-08 10:03:53 -05:00
Material Design Team
1cc0a2b4e4 Automated g4 rollback of changelist 236879782
PiperOrigin-RevId: 236896313
2019-03-08 10:00:53 -05:00
ldjesper
8c9f9d5e01 Date Range Picker
PiperOrigin-RevId: 236879782
2019-03-08 09:59:54 -05:00
gauthams
cad9d7d5f5 Add MaterialButtonToggleGroup
PiperOrigin-RevId: 236745008
2019-03-08 09:56:58 -05:00
marianomartin
991927fd8f Add an attribute for materialButtonOutlinedStyle
It's a common use case to want to mix up buttons with outlined buttons and an attribute facilitates reusing layouts with different themes.

PiperOrigin-RevId: 234189427
2019-02-24 14:16:47 -05:00
dniz
679abf1218 Delete colorBackgroundFloating attr definition (it's defined in AppCompat and we don't use it anymore)
PiperOrigin-RevId: 233761304
2019-02-24 14:09:38 -05:00
Material Design Team
63d11da7e5 Extended FAB.
Implementation of an ExtendedFloatingActionButton which extends from a MaterialButton.

PiperOrigin-RevId: 231682739
2019-02-11 11:04:14 -08:00
melaniegoetz
eefb5d4d77 Create ThemeOverlay's for BottomSheets, changes bottomSheetDialogTheme to use Overlay instead of full theme reference
PiperOrigin-RevId: 230944305
2019-01-25 15:23:16 -05:00
dniz
11df79f95c Clean up Gradle build shorthands for appcompat/androidx libraries
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
gauthams
11ae93ddc1 Refactor custom view inflation logic into shouldInflateAppCompatButton method, and make it protected rather than private.
PiperOrigin-RevId: 226256921
2018-12-21 11:34:51 -05:00
gauthams
b07eb82f31 Fix MaterialButton inflation issue for API 24 and 25
PiperOrigin-RevId: 226235558
2018-12-21 11:33:46 -05:00
ldjesper
52c5e72d81 Remove top level dialog attributes in favor of materialAlertDialogTheme
PiperOrigin-RevId: 226210511
2018-12-21 11:30:35 -05:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
Material Design Team
649828b6df Automated g4 rollback of changelist 225407398
PiperOrigin-RevId: 225418035
2018-12-21 10:47:43 -05:00
ldjesper
198b614e21 Remove new top level attributes in favor of scoped materialAlertDialogTheme
PiperOrigin-RevId: 225407398
2018-12-21 10:43:26 -05:00
ldjesper
831ad7dde7 a11y for selection control touch targets
PiperOrigin-RevId: 222898711
2018-12-06 11:24:17 -05:00
dniz
8073c98d60 Update MDC DayNight themes to use regular and -night qualifiers and remove
-night colors

PiperOrigin-RevId: 222079148
2018-11-26 07:57:12 -05:00
dniz
0bef80a76b Update colors for DayNight themes
PiperOrigin-RevId: 221137528
2018-11-16 11:26:51 -05:00
dniz
3637c23078 Dark theme color palette
PiperOrigin-RevId: 219143246
2018-11-01 16:05:24 -07:00
ldjesper
5258d3ddc1 Update Dialog Title styling to material design specs
PiperOrigin-RevId: 217565758
2018-10-28 18:27:27 -04:00
ldjesper
515e84775a Automated g4 rollback of changelist 216865347
PiperOrigin-RevId: 216874169
2018-10-28 18:11:59 -04:00
ldjesper
8942b12fff Dialog Title Styling
PiperOrigin-RevId: 216865347
2018-10-28 17:58:20 -04:00
marianomartin
b5486196e6 Use theme attributes to update menus style
PiperOrigin-RevId: 215918907
2018-10-11 18:05:28 -04:00
Material Design Team
d509eb90a6 Automated g4 rollback of changelist 215569147
PiperOrigin-RevId: 215602434
2018-10-11 18:03:54 -04:00
marianomartin
0e7f80b42b Use theme attributes to update menus style
PiperOrigin-RevId: 215569147
2018-10-11 18:00:51 -04:00
ldjesper
4cda2e3879 Add Material Alert Dialog Layout with message text styling
Changes the message text of Alert Dialogs to use the theme style of textAppearenceBody1.

PiperOrigin-RevId: 215388398
2018-10-02 14:56:27 -04:00
cketcham
3de44ca7ac Add shapes theming infrastructure.
Add shapeAppearance and shapeAppearanceOverlay attributes. These attributes combine to support shapes theming. ShapeAppearance is modeled after TextAppearance. A shapeAppearance attribute contains a style reference that is meant to be defined at the theme level. Since changing anything defined in the shapeAppearance would clobber everything else in the ShapeAppearance, the shapeAppearanceOverlay attribute is provided for clients to modify the shapeAppearance.

PiperOrigin-RevId: 215273652
2018-10-02 14:53:40 -04:00
Material Design Team
a681567504 Automated g4 rollback of changelist 215242636
PiperOrigin-RevId: 215260729
2018-10-02 14:52:47 -04:00
cketcham
432b46cc83 Add shapes theming infrastructure.
Add shapeAppearance and shapeAppearanceOverlay attributes. These attributes combine to support shapes theming. ShapeAppearance is modeled after TextAppearance. A shapeAppearance attribute contains a style reference that is meant to be defined at the theme level. Since changing anything defined in the shapeAppearance would clobber everything else in the ShapeAppearance, the shapeAppearanceOverlay attribute is provided for clients to modify the shapeAppearance.

PiperOrigin-RevId: 215242636
2018-10-02 14:21:40 -04:00
connieshi
b698c972cb Add MDC bridge theme target that does not include all of material components as a transitive dependency.
PiperOrigin-RevId: 214995615
2018-10-01 12:24:09 -04:00
ldjesper
9cbfddc61b Add attributes to disable Material Theme Colors for Selection Controls
These attributes are necessary for custom drawables.

PiperOrigin-RevId: 214969700
2018-09-28 17:03:18 -04:00
gauthams
3ec2906ad8 Fix FloatingToolbar improperly inflating MaterialButton on API 23.
This was due to FloatingToolbar using <Button> for its layouts in API 23-25, which got automatically inflated to <MaterialButton> via the custom view inflater in MDC themes. However, the default MaterialButton styling (especially backgroundTint) was overriding the styling in the <Button>, resulting in a broken FloatingToolbar. This issue was not encountered on API 24/25 since there were likely theme/style changes in those versions that override this Button. From API 26 onwards, FloatingToolbar uses a TextView and ImageView instead of Button.

PiperOrigin-RevId: 213517896
2018-09-28 14:54:14 -04:00
ldjesper
c6266f23ef Modify CheckBox to color without alpha.
PiperOrigin-RevId: 212484594
2018-09-14 10:56:49 -04:00
dniz
752b7b2ca1 Use specific color surface resource instead of reusing background
PiperOrigin-RevId: 212432542
2018-09-14 10:55:37 -04:00
melaniegoetz
09b22f37d0 Fix DayNight hardcoding certain color values
PiperOrigin-RevId: 212364719
2018-09-14 10:54:12 -04:00
ldjesper
8a3856922f Style Material RadioButton
PiperOrigin-RevId: 211998722
2018-09-14 10:50:38 -04:00
Material Design Team
5494459666 Adds a Theme.MaterialComponents.DayNight theme
PiperOrigin-RevId: 211539099
2018-09-07 11:51:19 -04:00
dniz
6a1d85f08c Action Bar typography styling
PiperOrigin-RevId: 210604964
2018-08-29 11:31:51 -04:00
gauthams
cfbc6bb50b Reuse color resources rather than having attribute dependency in MDC Bridge themes
PiperOrigin-RevId: 210438272
2018-08-28 16:41:54 -04:00
dniz
498d200f40 Fix Toolbar & ActionBar sizes for large screens
PiperOrigin-RevId: 210361782
2018-08-28 16:41:06 -04:00
cketcham
7b564d1d52 Update default animation spec for BottomSheetDialogs
PiperOrigin-RevId: 209996117
2018-08-28 16:38:35 -04:00