Merge remote-tracking branch 'origin/master'

This commit is contained in:
18142669586
2022-09-28 16:26:13 +08:00
36 changed files with 173 additions and 91 deletions

View File

@@ -4,7 +4,7 @@ import com.opensource.svgaplayer.SVGACallback;
import com.opensource.svgaplayer.SVGAImageView;
public class SVGAViewUtils {
public static void playEndClear(SVGAImageView svga){
public static void playEndClear(SVGAImageView svga,boolean isClear){
svga.setCallback(new SVGACallback() {
@Override
public void onPause() {
@@ -14,7 +14,9 @@ public class SVGAViewUtils {
@Override
public void onFinished() {
//动画结束后调用clear释放资源
svga.clear();
if(isClear) {
svga.clear();
}
}
@Override
@@ -29,4 +31,7 @@ public class SVGAViewUtils {
});
svga.startAnimation();
}
public static void playEndClear(SVGAImageView svga){
playEndClear(svga,true);
}
}

View File

@@ -22,7 +22,7 @@ public class CustomViewHolder implements BannerViewHolder<BannerBean> {
imageView.setLayoutParams(params);
imageView.setScaleType(ImageView.ScaleType.FIT_XY);
//Glide.with(context).load(data.getImageUrl()).into(imageView);
ImgLoader.display(context,data.getImageUrl(),imageView,600,170);
ImgLoader.display(context,data.getImageUrl(),imageView);
return imageView;
}

View File

@@ -104,7 +104,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="30dp"
android:text="@string/basic_tools"
android:text="@string/live_config"
android:textColor="@color/white"
android:textSize="14sp" />
@@ -196,7 +196,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="24dp"
android:text="@string/live_config"
android:text="@string/basic_tools"
android:textColor="@color/white"
android:textSize="14sp" />
@@ -264,7 +264,7 @@
android:layout_marginStart="23dp"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
android:visibility="visible">
<ImageView
android:layout_width="40dp"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -212,7 +212,7 @@
<string name="live_cover_2">更換封面</string>
<string name="live_title">直播標題</string>
<string name="live_title_hint">給直播寫個標題吧</string>
<string name="live_class">頻道</string>
<string name="live_class">選擇頻道</string>
<string name="live_class_choose">選擇直播頻道</string>
<string name="live_class_tip_title">注意選擇適合自己的頻道。</string>
<string name="live_class_tip">直播過程中,若運營人員發現選擇的頻道和直播內容不相符的情况,會調整您的直播頻道。</string>