Answer the question
In order to leave comments, you need to log in
How to reduce the shadow when clicking on an ImageButton?
How to reduce the shadow when clicking on an ImageButton? (ImageButton is inside LinerLayout)
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:layout_centerVertical="true"
android:orientation="horizontal">
<ImageButton
android:layout_width="45dp"
android:layout_height="45dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_bottom_menu_attachment"/>
</LinearLayout>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question