Skip to content

Commit e7bc947

Browse files
drchenleticiarossi
authored andcommitted
[DatePicker] Replace fragment container with FragmentContainerView
As suggested in https://developer.android.com/reference/androidx/fragment/app/FragmentContainerView Resolves #2490 PiperOrigin-RevId: 416323969
1 parent 3de28c9 commit e7bc947

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ext {
3232
core : '1.5.0',
3333
drawerlayout : '1.1.1',
3434
experimental : '1.0.0',
35-
fragment : '1.0.0',
35+
fragment : '1.2.5',
3636
lifecycle : '2.0.0',
3737
recyclerView : '1.0.0',
3838
recyclerViewSelection : '1.0.0',

lib/java/com/google/android/material/datepicker/res/layout/mtrl_picker_dialog.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
android:layout_height="match_parent"
2929
android:orientation="vertical">
3030

31-
<FrameLayout
31+
<androidx.fragment.app.FragmentContainerView
3232
android:id="@+id/mtrl_calendar_frame"
3333
android:layout_width="match_parent"
3434
android:layout_height="0dp"

lib/java/com/google/android/material/datepicker/res/layout/mtrl_picker_fullscreen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<include layout="@layout/mtrl_picker_header_fullscreen"/>
2626

27-
<FrameLayout
27+
<androidx.fragment.app.FragmentContainerView
2828
android:id="@+id/mtrl_calendar_frame"
2929
android:layout_width="match_parent"
3030
android:layout_height="wrap_content"

0 commit comments

Comments
 (0)