ca95128ee9
🐛 核心修复: - 修复 VodConfig/LiveConfig 空指针崩溃问题 - 添加构造函数初始化列表,防止 clear() 方法空指针异常 - 增强 Setting 类隐私协议状态管理 🎨 UI/UX 改进: - 新增隐私协议页面 (PrivacyAgreementActivity) - 修复按钮文字显示不完整问题(调整文字大小和按钮高度) - 空状态动画位置优化(向上移动40dp) - TV版选集按钮选中状态文字改为黄色显示 🌟 空状态优化: - 恢复完整的 Lottie 空状态动画 (54KB) - 新增多个空状态布局:搜索、收藏、通用 - 更新空状态文案为川渝方言风格:'这里撒子内容都没得~' 📺 TV版本优化: - 新增专用颜色选择器 episode_text.xml - 选集按钮选中状态文字颜色改为黄色 (#FFEB3B) - 仅影响视频详情页,不干扰其他页面 🔧 技术改进: - 优化生命周期管理和错误处理 - 增强任务栈管理,防止用户返回协议页面 - 添加空值安全检查,提升应用稳定性 版本:v3.0.7 - 包含所有修复和优化的稳定版本
78 lines
2.7 KiB
XML
78 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_back" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/app_keep"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:id="@+id/sync"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_action_sync" />
|
|
|
|
<ImageView
|
|
android:id="@+id/delete"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginStart="16dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_action_delete"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="-8dp"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="8dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="8dp" />
|
|
|
|
<include
|
|
android:id="@+id/emptyLayout"
|
|
layout="@layout/view_empty_keep"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="-40dp"
|
|
android:visibility="gone" />
|
|
|
|
</FrameLayout>
|
|
</LinearLayout> |