91 Commits

Author SHA1 Message Date
marianomartin
167663ae45 Internal cleanup
PiperOrigin-RevId: 268698913
2019-09-12 14:29:01 -04:00
cketcham
e44b7f765d Add default slider style to the themes
PiperOrigin-RevId: 268693120
2019-09-12 14:28:12 -04:00
cketcham
4b1aa74a9e Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264619042
2019-08-26 10:56:12 -04:00
sharkey
1876bc5d0a @hide shouldInflateAppCompatButton, and restrict use to our library.
PiperOrigin-RevId: 260224154
2019-07-29 16:42:25 -04:00
dniz
0512f776c5 Remove sub-package AndroidManifest.xml files from lib directory
PiperOrigin-RevId: 258390736
2019-07-16 13:18:32 -04:00
raajkumars
d7a92485f8 Added support to automatically inflate MaterialTextView component into TextView.
Added support to prevent applying line heights from text appearance styles if the current theme sets the flag 'textAppearanceLineHeightEnabled' to false.

PiperOrigin-RevId: 256216184
2019-07-03 14:12:29 -04:00
dniz
f2db1d9ac9 Add color theme attributes that swap between primary and surface colors 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: 255962470
2019-07-03 14:05:18 -04:00
marianomartin
4591f29bb0 Internal cleanup
PiperOrigin-RevId: 253994541
2019-06-24 16:52:19 -04:00
marianomartin
c2807d5d47 Internal cleanup
PiperOrigin-RevId: 253863905
2019-06-24 16:48:08 -04:00
dniz
6783f9e1cd Clean up naming of elevation overlay methods and attributes
PiperOrigin-RevId: 253283047
2019-06-18 13:34:29 -04:00
ldjesper
60090791b9 Full screen vertical scrolling
PiperOrigin-RevId: 252663790
2019-06-18 11:58:50 -04:00
dniz
591ba96852 Update Theme Overlays to set neutral palette colors
PiperOrigin-RevId: 252629630
2019-06-18 11:53:51 -04:00
ldjesper
cbdd8f6097 Remove separate range and single date picker styles
PiperOrigin-RevId: 250561429
2019-05-30 13:58:12 -07:00
dniz
daa3a04069 DayNight Bridge Themes
Also add some non-Base dialog themes that were missing

PiperOrigin-RevId: 250520918
2019-05-29 16:30:39 -04:00
cketcham
6e250a6a0d Add colorSecondary to bridge themes
PiperOrigin-RevId: 250495874
2019-05-29 16:28:16 -04:00
connieshi
ebaccf5a85 Add support for badgeStyle, a theme level style attribute for customizing the appearance of badges.
PiperOrigin-RevId: 249338990
2019-05-24 14:16:22 -04:00
leticiars
0f7eaaa94f Adding styling for ListPopupWindow along with dark theme support.
PiperOrigin-RevId: 249244399
2019-05-24 14:10:53 -04:00
dniz
10d2e63e31 Fix elevationOverlaysEnabled in Theme.MaterialComponents.Light.DarkActionBar.Bridge
PiperOrigin-RevId: 246847640
2019-05-06 13:18:18 -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
dniz
808e92c07f Add missing themes to res-public
PiperOrigin-RevId: 246134028
2019-05-03 10:54:31 -04:00
dniz
34a3a46f61 Update Tabs to default to surface style in Dark Theme
PiperOrigin-RevId: 245217332
2019-04-29 15:39:42 -07:00
marianomartin
faf8b8d757 Add Context Menu Styles
Style context menus with the same background as overflow and popup menus.
The attribute only available API 23 and up. So previous APIs are unchanged.

PiperOrigin-RevId: 245087463
2019-04-29 15:36:41 -07:00
ldjesper
eb6aec99b1 Add a button bar to control the current month to MaterialCalendar.
PiperOrigin-RevId: 245057453
2019-04-29 15:34:06 -07:00
dniz
d5ab5910dc Update Bottom Navigation to default to surface style in Dark Theme
PiperOrigin-RevId: 245041248
2019-04-29 15:31:01 -07:00
dniz
5249f54ab1 Update AppBarLayout and ActionBar to default to surface style in Dark Theme
Also update Dark Theme colorPrimaryDark to be #000000 to match

PiperOrigin-RevId: 245028116
2019-04-29 15:30:11 -07:00
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