Adjust icon size of Floating action button (fab)

The new floating action button should be 56dp x 56dp and the icon inside it should be 24dp x 24dp. So the space between icon and button should be 16dp. <ImageButton android:id=”@+id/fab_add” android:layout_width=”56dp” android:layout_height=”56dp” android:layout_gravity=”bottom|right” android:layout_marginBottom=”16dp” android:layout_marginRight=”16dp” android:background=”@drawable/ripple_oval” android:elevation=”8dp” android:src=”https://stackoverflow.com/questions/27484126/@drawable/ic_add_black_48dp” /> ripple_oval.xml <ripple xmlns:android=”http://schemas.android.com/apk/res/android” android:color=”?android:colorControlHighlight”> <item> <shape android:shape=”oval”> <solid android:color=”?android:colorAccent” /> </shape> </item> </ripple> And … Read more

Standard Android menu icons, for example refresh [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 8 years ago. Improve this question The Android SDK offers the standard menu icons via android.R.drawable.X. However, some standard icons, such as ic_menu_refresh (the refresh icon), are missing from … Read more