feat: 新增SMSRecycle2Activity自由模式回收站与刻度全局同步

- 新增SMSRecycle2Activity窗口,每项使用ProtectModeTextView显示短信内容
- 顶部添加示例ProtectModeTextView,刻度值通过SP全局同步到列表所有项
- AppSettingsActivity新增回收站模式RadioGroup:简洁模式/自由模式
- MainActivity回收站菜单根据配置路由到对应Activity
- AppConfigBean新增recycleBinClass字段持久化模式选择
- ProtectModeTextView新增OnScaleChangedListener与setContentTextWithScale
This commit is contained in:
2026-05-08 20:46:27 +08:00
parent 3b60a3b713
commit 63580b111c
13 changed files with 411 additions and 9 deletions

View File

@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height"
android:id="@+id/activitysmsrecycle2ASupportToolbar1"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_frame"
android:padding="8dp"
android:layout_margin="4dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="刻度值调节示例(对所有列表项生效):"
android:textSize="12sp"
android:paddingLeft="4dp"
android:paddingBottom="4dp"/>
<cc.winboll.studio.mymessagemanager.views.ProtectModeTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/activitysmsrecycle2SampleProtectModeTextView"/>
</LinearLayout>
<com.baoyz.widget.PullRefreshLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0"
android:id="@+id/activitysmsrecycle2PullRefreshLayout1">
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:isScrollContainer="true"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:reverseLayout="false"
android:id="@+id/activitysmsrecycle2RecyclerView1"/>
</com.baoyz.widget.PullRefreshLayout>
</LinearLayout>