Skip to content

Commit

Permalink
[MaterialDatePicker] Fix header layout overlapping
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 559538381
  • Loading branch information
paulfthomas authored and imhappi committed Aug 24, 2023
1 parent 6b627c2 commit 5f1cab6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -35,7 +35,7 @@

<style name="Widget.Catalog.MaterialCalendar.HeaderTitle.WithDescription" parent="@style/Widget.Material3.MaterialCalendar.HeaderTitle">
<item name="android:maxLines">@integer/cat_picker_demo_description_header_title_max_lines</item>
<item name="autoSizeTextType">none</item>
<item name="autoSizeTextType">uniform</item>
</style>

<style name="Widget.Catalog.MaterialCalendar.HeaderSelection.WithDescription" parent="@style/Widget.Material3.MaterialCalendar.HeaderSelection">
Expand Down
Expand Up @@ -22,5 +22,5 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top|start"
android:gravity="start|bottom"
android:gravity="top|start"
app:firstBaselineToTopHeight="@dimen/mtrl_calendar_title_baseline_to_top"/>

0 comments on commit 5f1cab6

Please sign in to comment.