0
SDVの階層に設定する前に、ドロスブルのアルファを設定することで、透明なオーバーレイ描画可能(下にビデオがあることを示す再生アイコンの三角形)をFresco SimpleDraweeViewに配置しようとしていますしかし、私がオーバーレイを使うたびに、私は完全に不透明なdrawableを得ます。半透明の画像オーバーレイ:drawableがアルファを失う
Drawable playArrowOverlay = ContextCompat.getDrawable(
getContext(),
R.drawable.ic_play_arrow_accent_dark);
playArrowOverlay.setAlpha(25);
GenericDraweeHierarchy hierarchyWithOverlay = sdvAttemptImage.getHierarchy();
hierarchyWithOverlay.setOverlayImage(playArrowOverlay);
sdvAttemptImage.setHierarchy(hierarchyWithOverlay);