836e363f94
🔥 主要更新: - 升级到最新依赖版本 (AGP 8.12.0, Gradle 8.13, Java 17) - 完全重构 Context 管理系统,解决闪退问题 - 采用原项目 FongMi/TV 的稳定策略 - 启用 EventBus 编译时优化,提升性能 - 修复关于页面 GitHub 链接,永远指向最新版本 🐛 修复问题: - 修复 Context 初始化时序问题导致的崩溃 - 修复 ApplicationContext 被垃圾回收的问题 - 修复 Updater 构造函数的过早调用问题 - 解决 Android 15 设备兼容性问题 ⚡ 性能优化: - EventBus 性能提升 (编译时索引生成) - APK 体积优化 (release 版本 36MB vs 49MB debug) - 代码混淆和资源压缩启用 - 内存使用优化 📦 构建改进: - 支持 arm64-v8a 和 armeabi-v7a 双架构 - 完整的 release 和 debug 版本构建 - 新增 chaquo Python 模块支持 - 同步所有依赖到最新稳定版本 🛡️ 稳定性: - 采用经过 6.3k+ 星标验证的原项目策略 - 完善的异常处理机制 - 防护性编程实践 - 支持 Android 5.0+ 到 Android 15
35 lines
1.2 KiB
XML
35 lines
1.2 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="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="40dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_text"
|
|
android:ellipsize="middle"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:singleLine="true"
|
|
android:textColor="@color/button_text"
|
|
android:textSize="18sp"
|
|
tools:text="tv-2024-12-26.bk.gz" />
|
|
|
|
<ImageView
|
|
android:id="@+id/delete"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="12dp"
|
|
android:background="@drawable/selector_text"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_setting_delete" />
|
|
|
|
</LinearLayout> |