Commit 62c09163 by fengquan

fix: 咨询师详情页

parent e22086b1
......@@ -153,6 +153,7 @@ class BasePhotoFragment : Fragment() {
mySimpleTarget = object : MySimpleTarget {
override fun onResourceReady() {
loading?.setVisibility(GONE)
imageView?.setBackgroundResource(R.color.transparent)
// String video = beanViewInfo.getVideoUrl();
// if (video != null && !video.isEmpty()) {
// btnVideo.setVisibility(View.VISIBLE);
......@@ -164,6 +165,7 @@ class BasePhotoFragment : Fragment() {
override fun onLoadFailed(errorDrawable: Drawable?) {
loading?.setVisibility(GONE)
imageView?.setBackgroundResource(R.color.transparent)
if (isVisiable) {
ToastUtil.toastShort(activity, "加载失败")
}
......
......@@ -12,7 +12,7 @@
android:id="@+id/photoView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
android:background="@color/black"
android:scaleType="centerInside" />
<RelativeLayout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment