- 新增SMSRecycle2Activity窗口,每项使用ProtectModeTextView显示短信内容 - 顶部添加示例ProtectModeTextView,刻度值通过SP全局同步到列表所有项 - AppSettingsActivity新增回收站模式RadioGroup:简洁模式/自由模式 - MainActivity回收站菜单根据配置路由到对应Activity - AppConfigBean新增recycleBinClass字段持久化模式选择 - ProtectModeTextView新增OnScaleChangedListener与setContentTextWithScale
45 lines
1.3 KiB
XML
45 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_frame"
|
|
android:padding="10dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/listviewsmsrecycle2TextViewAddress"
|
|
android:padding="5dp"
|
|
android:textSize="16sp"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:padding="5dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/text_smsdeletetime"/>
|
|
|
|
<cc.winboll.studio.mymessagemanager.views.DateAgoTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Text"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:id="@+id/listviewsmsrecycle2DateAgoTextViewDelete"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<cc.winboll.studio.mymessagemanager.views.ProtectModeTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/listviewsmsrecycle2ProtectModeTextView"/>
|
|
|
|
</LinearLayout>
|