D
D
dimasik1002002018-02-21 20:55:54
Java
dimasik100200, 2018-02-21 20:55:54

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>

5a8db2a63328f944977024.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question