The UI of the components breaks when used with an AppCompat theme. Had to change my theme to the `MaterialComponents` one for it to work well.