I need a button with no padding with the specified background color and the default ripple effect:
I tried to do this:
<Button style="@style/Button.Default" android:id="@+id/next" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/continue_text" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent"/> styles.xml:
<style name="Button.Default" parent="Widget.AppCompat.Button.Borderless.Colored"> <item name="colorButtonNormal">@color/accent</item> <item name="android:textColor">@android:color/white</item> </style> Got the following:
Plus, when I click, I see the highlighting with indents:


