-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roundAsCircle does not apply #9
Comments
That's strange. Since there was a similar report, I wonder whether there is some systematic issue. |
I received the following error: Error:(37, 47) No resource found that matches the given name (at 'roundWithOverlayColor' with value '@android:color/red'). |
It seems that for some reason our attrs.xml is not included in your app: |
Actually, I may have made a mistake, can you just specify some color instead of |
Yeah just tried with some color, and now the app compiles again but I don't see the overlay color either (also image is still not a circle). |
I am having the same error, but without exception. The circular view is simple not being drawed. |
Same Issue. The circular view is not being drawed. It is showing as rectangle image. |
It looks as though the issue is a typo in the documentation. It should be http://schemas.android.com/apk/res-auto rather than http:/schemas.android.com/apk/res-auto (note the extra '/') |
Hi,
I've specified the XML attribute, fresco:roundAsCircle="true", in the following code and the image is still displaying as a square.
< com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/profile_picture"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_centerVertical="true"
android:layout_marginEnd="10dp"
android:layout_marginRight="10dp"
fresco:roundAsCircle="true"/>
I've made sure to add the custom namespace, fresco, to the top-level element:
< android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:fresco="http:/schemas.android.com/apk/res-auto"
...>
The text was updated successfully, but these errors were encountered: