SMSView/TTSRuleView 的 cardCornerRadius 统一为全局配置:
- 5 个布局文件 app:cardCornerRadius="12dp" → "?attr/borderCornerRadius"
(listview_sms / listview_smsrecycle / listview_ttsplayrule
listview_ttsplayrule_simple / view_smssend)
修复 CardView 裁剪内部 bg_container_border 圆角描边:
- view_smssend.xml:SMSView(CardView)添加 android:padding="2dp"
使内部 LinearLayout 的 bg_container_border 描边不被裁剪
- view_smssend_part1.xml:android:padding 10dp→6dp 与圆角半径对齐
18 lines
591 B
XML
18 lines
591 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<cc.winboll.studio.mymessagemanager.views.SMSView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:padding="2dp"
|
|
app:cardCornerRadius="?attr/borderCornerRadius"
|
|
app:cardElevation="5dp"
|
|
app:cardUseCompatPadding="true"
|
|
android:elevation="5dp"
|
|
android:translationZ="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:attrSMSType="SEND">
|
|
|
|
<include layout="@layout/view_smssend_part1" />
|
|
|
|
</cc.winboll.studio.mymessagemanager.views.SMSView>
|