I am trying to create a button in which text description comes at bottom and an image at the top.I saw buttons can do the trick by android:drawableTop attribute but I am unable to resize the image
Methods like adjustViewBounds, android:scaleType="fitCenter", fitXY are not working.
Here is my xml code for the button
<Button
android:text="Start Running"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
android:id="@+id/run"
android:onClick = "RUN"
android:scaleType="fitCenter"
android:drawableTop="@drawable/runner"
android:layout_marginBottom="3sp"
android:layout_marginLeft="2sp"
android:layout_marginRight="3sp"
android:layout_marginTop="0sp"
/>
Please suggest something?