This commit is contained in:
18142669586 2022-07-23 09:46:55 +08:00
parent a97dcbbb5b
commit 1219b77e2d
2 changed files with 19 additions and 3 deletions

View File

@ -1,7 +1,6 @@
package com.yunbao.main.views; package com.yunbao.main.views;
import android.os.Handler; import android.os.Handler;
import android.util.Log; import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -18,6 +17,7 @@ import com.opensource.svgaplayer.SVGAParser;
import com.opensource.svgaplayer.SVGAVideoEntity; import com.opensource.svgaplayer.SVGAVideoEntity;
import com.yunbao.common.bean.WeekListBean; import com.yunbao.common.bean.WeekListBean;
import com.yunbao.common.glide.ImgLoader; import com.yunbao.common.glide.ImgLoader;
import com.yunbao.common.utils.ToastUtil;
import com.yunbao.live.bean.LiveBean; import com.yunbao.live.bean.LiveBean;
import com.yunbao.main.R; import com.yunbao.main.R;

View File

@ -6,17 +6,33 @@
<ImageView <ImageView
android:id="@+id/week_live" android:id="@+id/week_live"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent" />
<TextView <TextView
android:id="@+id/name2" android:id="@+id/name2"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_margin="10dp" android:layout_marginLeft="10dp"
android:layout_marginTop="5dp"
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:singleLine="true"
android:layout_marginBottom="10dp"
android:text="sdsadas" android:text="sdsadas"
android:textColor="#fff" android:textColor="#fff"
android:textSize="10sp" /> android:textSize="10sp" />
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/name2"
android:ellipsize="end"
android:includeFontPadding="false"
android:maxLines="1"
android:layout_marginLeft="10dp"
android:textColor="#fff"
android:textSize="13sp"
android:textStyle="bold" />
</com.yunbao.common.custom.MyRelativeLayout5> </com.yunbao.common.custom.MyRelativeLayout5>