Reputation: 903
How I resize only a image in a ImageView without resize the ImageView?
I need something like this:
Is the same image, but with ImageView different sizes
Upvotes: 1
Views: 72
Reputation: 30985
I've done something like this:
<FrameLayout
android:layout_width="40dp"
android:layout_width="40dp"
android:background="@drawable/bkgd_circle"/>
<ImageView
android:layout_width="24dp"
android:layout_width="24dp"
android:layout_gravity="center"
android:src="@drawable/ic_person"/>
</FrameLayout>
Upvotes: 1