Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

The image shows up as a black block #104

Closed
sam-ghosh opened this issue May 17, 2015 · 7 comments
Closed

The image shows up as a black block #104

sam-ghosh opened this issue May 17, 2015 · 7 comments

Comments

@sam-ghosh
Copy link

Is there any requirement for the image that is put as android:src in the RIV library? It seems to me that a simple non-alpha image shows up well, while an image with alpha etc does not show up well

        <com.makeramen.roundedimageview.RoundedImageView
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:id="@+id/main_user_image_iv_1"
            android:layout_width="80dp"
            android:layout_height="80dp"

            android:src="@drawable/new_user_icon_1"
            android:scaleType="fitCenter"
            app:riv_corner_radius="15dp"




            app:riv_oval="false" />

imageview

@vinc3m1
Copy link
Owner

vinc3m1 commented May 17, 2015

Is this just in preview or on the device as well?

@sam-ghosh
Copy link
Author

The one on the right most is the Genymotion device
On 17 May 2015 23:14, "Vince Mi" [email protected] wrote:

Is this just in preview or on the device as well?

Reply to this email directly or view it on GitHub
#104 (comment)
.

@vinc3m1
Copy link
Owner

vinc3m1 commented Aug 2, 2015

Any update on this?

@vinc3m1
Copy link
Owner

vinc3m1 commented Aug 23, 2015

Closing due to inactivity. Re-open if still valid.

@vinc3m1 vinc3m1 closed this as completed Aug 23, 2015
@faogustavo
Copy link

faogustavo commented Oct 2, 2017

I'm facing this issue only with android 5.0 (both device and emulador). Newer or older versions works fine.


Edit.
Reduce image size fix.

@maxglu
Copy link

maxglu commented Oct 10, 2017

Hi!
I have same issue with Sony Z Tablet.
This problem appears only on tablets with 1920 * 1080 (10 inch).
If I use emulator with 1280 * 800 all good. If I use phone with 1920 * 1080 display (5.5. inch and less), all fine again.

@shawndegit
Copy link

shawndegit commented Jan 16, 2019

Hi!
I got this problem on android api 22 . when i capture the window , it displays as the code should be , but it shows as black block on the android device screen . please do me a favor :) , otherwise i have to change to primary ImageView provided by android...
image

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants