lopspower / CircularImageView

Create circular ImageView in Android in the simplest way possible
Apache License 2.0
1.95k stars 413 forks source link

Could not change the size of the <com.mikhaellopez.circularimageview.CircularImageView #4

Closed Shajeel-Afzal closed 9 years ago

Shajeel-Afzal commented 10 years ago

Hi i am changing the size as follows: <com.mikhaellopez.circularimageview.CircularImageView android:layout_width="200dp" android:layout_height="200dp" android:layout_gravity="center_vertical|center_horizontal" android:layout_margin="20dp" android:scaleType="fitXY" android:src="@drawable/my_pic" app:border="true" app:border_width="10" />

but the it is not correctly changed. I am getting this view after changing the width and height as above: capture

Can you explain why it is not working?

khurramengr commented 10 years ago

@Shajeel-Afzal did you find any fix??? I am facing this issue too, can you help me???

Shajeel-Afzal commented 10 years ago

@khurramengr sorry i didn't tried it after that. You must hard code the width/height of the ImageView, and try different ScaleType.

Shajeel-Afzal commented 10 years ago

@khurramengr sorry i didn't tried it after that. You must hard code the width/height of the ImageView, and try different ScaleType.

mayurpadhye commented 6 years ago

@Shajeel-Afzal did you get the issue

lopspower commented 6 years ago

Hello @mayurpadhye this is an old issue. Try with new version of this library and maybe create new issue if it's doesn't work.