I have a layerlist that I use as a background for a spinner. I'm trying to resize the bitmap that is one of the items in the layerlist. The problem is that there aren't any resizing traits that can be found. Please see code below:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff"/>
<stroke
android:width="2dp"
android:color="#80000000"/>
<padding
android:bottom="2dp"
android:left="2dp"
android:right="2dp"
android:top="2dp"/>
</shape>
</item>
<item>
<bitmap
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="right"
android:src="@mipmap/ic_launcher" />
</item>
</layer-list>
Here is a visual of what's happening:
How can I resize this bitmap? I'm trying to scale the image down because its too big. I've tried changing the layout width and height to a certain number and also resizing the image in an image editing program but nothing happened. Any help would be appreciated.

android:topandandroid:bottomwith value1dpto<item/>which contains the bitmap? - Selvin