Wilson Filho
a38d2d89a8
[BottomSheet] Add maxHeight to bottom sheet behavior
...
Resolves https://github.com/material-components/material-components-android/pull/2216
GIT_ORIGIN_REV_ID=be136b9c5cedfb018b5a05fecac5ea9a3e242f36
PiperOrigin-RevId: 383682661
2021-07-09 15:28:02 -04:00
leticiars
ce928fcb65
[Bottomsheets][Large Screens] Adding a max width for bottom sheets to optimize for large screens.
...
PiperOrigin-RevId: 368533002
2021-04-16 17:47:14 -04:00
cketcham
28c3254d2a
[BottomSheet] Allow opting out of edge to edge on the top
...
PiperOrigin-RevId: 359525223
2021-03-03 12:40:48 -05:00
haodong
0d0c90b9ef
Updated string translations.
...
PiperOrigin-RevId: 354978993
2021-02-01 11:03:44 -08:00
cketcham
c15139a5c3
[BottomSheet] Automatically enable insets for ThemeOverlay style
...
Because the BottomSheet could be shown under the navigation bar if it's transparent or translucent, it's best to ensure insets are added. If no insets are added, views can end up behind the navigation bar which prevents any interaction.
PiperOrigin-RevId: 348470697
2021-01-06 13:28:56 -05:00
cketcham
c574e9ea23
[BottomSheet] Add flag to opt in to edge to edge behavior rather than only relying on the navigationBarColor
...
PiperOrigin-RevId: 347387288
2020-12-14 15:08:19 -05:00
cketcham
b1812b9a6b
Internal Change
...
PiperOrigin-RevId: 347042445
2020-12-11 14:47:53 -05:00
cketcham
3037cf046c
Automated g4 rollback of changelist 343006492
...
PiperOrigin-RevId: 347038837
2020-12-11 14:45:45 -05:00
cketcham
b163458a3a
[BottomSheet] Updates the way BottomSheet handles insets
...
This updates ThemeOverlay styles to prevent drawing a transparent nav bar and updates BottomSheetBehavior and BottomSheetDialog to handle insets correctly so content isn't drawn behind the status bar or navigation bar.
Resolves https://github.com/material-components/material-components-android/issues/1222
Resolves https://github.com/material-components/material-components-android/issues/267
PiperOrigin-RevId: 343006492
2020-11-18 10:40:16 -05:00
dniz
9d1d9773cd
[BottomSheet] Added string translations for i18n / l10n
...
PiperOrigin-RevId: 334800004
2020-10-01 11:29:12 -04:00
connieshi
db4275fbd3
[a11y][Bottomsheet] Add custom action to drag bottomsheet half expanded.
...
PiperOrigin-RevId: 326237250
2020-08-12 14:17:36 -04:00
Mygod
aa8042f498
[BottomSheet] Make touch_outside unfocusable
...
Resolves https://github.com/material-components/material-components-android/pull/974
GIT_ORIGIN_REV_ID=682a8b7ac7eb4bcdc238e04c14349b7beb4a8185
PiperOrigin-RevId: 304632071
2020-04-06 12:31:53 -07:00
melaniegoetz
4e28d9c916
Adjust BottomSheet peek height based on insets
...
PiperOrigin-RevId: 303819564
2020-04-03 08:44:46 -07:00
melaniegoetz
2a188e507a
Change Theme.MaterialComponents.BottomSheetDialog to use new bottomSheet style
...
Fixes: https://github.com/material-components/material-components-android/issues/1086
PiperOrigin-RevId: 299402955
2020-03-09 09:25:30 -07:00
Guillermo Mazzola
7ef37a05dd
[BottomSheetBehavior] Resolving behavior_expandedOffset as a dimen
...
Using an integer will remain allowed, however using a dimen will be preferred.
Resolves https://github.com/material-components/material-components-android/pull/836
GIT_ORIGIN_REV_ID=4a02d95855569a076e5ee7a682ea5e8c9988eab9
PiperOrigin-RevId: 293623878
2020-02-06 17:25:57 -05:00
Material Design Team
5b4ea9c966
[BottomSheetBehavior] Add an ability to prevent dragging to expand/collapse the BottomSheet
...
PiperOrigin-RevId: 288710272
2020-01-08 12:10:25 -08:00
melaniegoetz
17e3e18edb
Automated g4 rollback of changelist 270730347
...
PiperOrigin-RevId: 270959699
2019-09-26 17:52:44 -04:00
melaniegoetz
fd56af53c7
Adjust BottomSheet peek height based on insets
...
PiperOrigin-RevId: 270730347
2019-09-24 12:22:28 -04:00
Jan Skrasek
084177e1ba
Remove rounded bottom corners of bottomsheets
...
Resolves https://github.com/material-components/material-components-android/pull/348
GIT_ORIGIN_REV_ID=3af172c871c111e109cc2c7413bec04d28f385c5
PiperOrigin-RevId: 249482184
2019-05-24 14:20:39 -04:00
Material Design Team
e1222dd07f
Notch support for bottom sheet behavior
...
PiperOrigin-RevId: 246952688
2019-05-07 17:26:40 -04:00
marianomartin
e525d5226e
BEGIN_PUBLIC
...
Remove bottomsheet behavior from widget package
END_PUBLIC
PiperOrigin-RevId: 244226096
2019-04-19 21:53:07 -04:00
melaniegoetz
dbb96b109e
Add DayNight Themes for BottomSheetDialog
...
PiperOrigin-RevId: 244102278
2019-04-19 21:48:31 -04:00
melaniegoetz
3db852c67a
Update BottomSheetBehavior elevation
...
PiperOrigin-RevId: 244101048
2019-04-19 21:41:24 -04:00
Material Design Team
18b8ddaf23
Automated g4 rollback of changelist 243269991
...
PiperOrigin-RevId: 243279282
2019-04-19 15:57:35 -04:00
marianomartin
100d66cc25
Exclude BottomSheetBehavior from widget package
...
PiperOrigin-RevId: 243269991
2019-04-19 15:55:49 -04:00
afohrman
2fda77a6ab
Remove unnecessary shapeAppearanceOverlay from BottomSheet style.
...
The shapeAppearanceOverlay attribute was not necessary to achieve the rounded 0 shape appearance for the BottomSheet styles. This commit removes the shapeAppearanceOverlay.
PiperOrigin-RevId: 241006967
2019-04-05 15:18:52 -04:00
melaniegoetz
5aebe1a111
API to set height of a half expanded sheet, in proportion to parent height
...
PiperOrigin-RevId: 239689682
2019-03-22 17:04:58 -04:00
melaniegoetz
a192f47036
Add dark-theme/elevation overlay support for BottomSheet
...
PiperOrigin-RevId: 239016572
2019-03-22 16:24:17 -04:00
marianomartin
87a9e5aba9
Shape sizes
...
Allow the ThemeSwitcher to change shape sizes also change it to a BottomSheetdialogFragment to see the content more clearly.
PiperOrigin-RevId: 233839250
2019-02-24 14:10:20 -05:00
melaniegoetz
901ba79163
Add BottomSheetBehavior SavedState API
...
PiperOrigin-RevId: 232328750
2019-02-11 11:13:21 -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
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
melaniegoetz
403973284e
Automated g4 rollback of changelist 224522042
...
PiperOrigin-RevId: 225060461
2018-12-12 16:23:30 -05:00
melaniegoetz
73f7681101
Automated g4 rollback of changelist 224370498
...
PiperOrigin-RevId: 224522042
2018-12-10 14:15:46 -05:00
melaniegoetz
16822d6344
Shape Theming for BottomSheet
...
PiperOrigin-RevId: 224370498
2018-12-10 14:14:05 -05:00
cketcham
7b564d1d52
Update default animation spec for BottomSheetDialogs
...
PiperOrigin-RevId: 209996117
2018-08-28 16:38:35 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00