How to remove the underline under TextInputLayout in Android Material Design?

I was trying to remove the underline from a material design component named TextInputLayout. I have tried several different answers from SO which didn’t work out for me so I decided to ask my own …

Change PreferenceFragmentCompat dialog background color in Android

I recently started working with PreferenceFragmentCompat and MaterialComponents and noticed that in Dark mode, Dialogs generated by preferences like ListPreference always have that weird grey android …

How can I make the corners of my bottom sheet dialog rounded?

I’m trying to make the top corners of my BottomSheetDialog rounded, but I haven’t had any luck with anything online. This is what I would like for it to look like: No matter what I’ve tried, I keep …