Skip to content

Commit

Permalink
feat: use M3 styled DropDown menu
Browse files Browse the repository at this point in the history
Also removes hardcoded stroke color
  • Loading branch information
aikrq committed Dec 16, 2024
1 parent b05b7f9 commit 83a12a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/src/main/res/values/styles_new.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,10 @@
<item name="android:textSize">14sp</item>
</style>

<style name="TextDropDownLayoutStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu">
<item name="boxStrokeColor">@color/input_layout_selector</item>
<style name="TextDropDownLayoutStyle" parent="Widget.Material3.TextInputLayout.OutlinedBox.ExposedDropdownMenu">
<item name="errorTextAppearance">@style/error_appearance</item>
<item name="hintTextAppearance">@style/hint_appearance</item>
<item name="shapeAppearanceOverlay">
@style/ShapeAppearanceOverlay.SWPro.TextInputLayout.Rounded
</item>
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.SWPro.TextInputLayout.Rounded</item>
</style>

<style name="ShapeAppearanceOverlay.SWPro.TextInputLayout.Rounded" parent="">
Expand Down

0 comments on commit 83a12a4

Please sign in to comment.