feat: 容器统一加灰色边框,borderCornerRadius 属性统一管理圆角

创建通用灰色边框 drawable(5 模块各一份):
  - bg_container_border.xml:透明填充 + 1dp #B0B0B0 描边
  - 自动应用到 80 个无背景容器的布局文件

深色模式 bg_frame 加边框:
  - drawable-night/bg_frame.xml(mymessagemanager + aes):
    背景 shape 添加 1dp #666666 描边,保留渐变蒙版

统一圆角为 6dp(borderCornerRadius 属性化):
  - 5 模块 attrs.xml 声明 borderCornerRadius(dimension)
  - 12 个主题(6 普通 + 6 深色)设置 borderCornerRadius=6dp
  - 12 个 drawable 文件约 40 处 corners 改用 ?attr/borderCornerRadius
    (bg_frame / bg_frame_black/white / bg_shadow / bg_border_round
     bg_toolbar_log / acard_frame_main / atoolbar_frame / ohpcts_frame
     bg_container_border 等)
  - 3 个 Java 自定义控件(AToolbar / ASupportToolbar / AboutView)
    从硬编码 px 改为读取 ?attr/borderCornerRadius

受益布局模块:libaes / libappbase / appbase / mymessagemanager / aes / winboll
This commit is contained in:
2026-05-09 10:59:55 +08:00
parent b385aa7030
commit 4e4673a93b
108 changed files with 282 additions and 317 deletions

View File

@@ -10,11 +10,7 @@
android:angle="270"
android:endColor="#0F000000"
android:startColor="#0F000000" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
<item
@@ -27,11 +23,10 @@
android:angle="270"
android:endColor="#00000000"
android:startColor="#1AFFFFFF" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<stroke
android:width="1dp"
android:color="#FF666666" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
</layer-list>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="@android:color/transparent" />
<stroke android:width="1dp" android:color="#FFB0B0B0" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>

View File

@@ -12,11 +12,7 @@
android:angle="270"
android:endColor="#0F000000"
android:startColor="#0F000000" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
<!-- 背景部分 -->
@@ -31,11 +27,7 @@
android:angle="270"
android:endColor="#0FFFFFFF"
android:startColor="#FFFFFFFF" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
</layer-list>

View File

@@ -12,11 +12,7 @@
android:angle="270"
android:endColor="#0F000000"
android:startColor="#0F000000" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
<!-- 背景部分 -->
@@ -31,11 +27,7 @@
android:angle="270"
android:endColor="#AF000000"
android:startColor="#AF000000" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
</layer-list>

View File

@@ -12,11 +12,7 @@
android:angle="270"
android:endColor="#0FFFFFFF"
android:startColor="#0FFFFFFF" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
<!-- 背景部分 -->
@@ -31,11 +27,7 @@
android:angle="270"
android:endColor="#CFFFFFFF"
android:startColor="#CFFFFFFF" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
<corners android:radius="?attr/borderCornerRadius" />
</shape>
</item>
</layer-list>

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"
@@ -16,6 +16,6 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0"
android:id="@+id/aboutviewroot_ll"/>
android:id="@+id/aboutviewroot_ll" android:background="@drawable/bg_container_border" />
</LinearLayout>

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.AToolbar
android:layout_width="match_parent"
@@ -15,13 +15,13 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0"
android:padding="4dp">
android:padding="4dp" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:spacing="12dp">
android:spacing="12dp" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
@@ -65,7 +65,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginLeft="5dp">
android:layout_marginLeft="5dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="0dp"
@@ -96,7 +96,7 @@
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp">
android:layout_marginRight="5dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -210,7 +210,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginLeft="5dp">
android:layout_marginLeft="5dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -267,7 +267,7 @@
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp">
android:layout_marginRight="5dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="0dp"
@@ -301,7 +301,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right"
android:layout_marginTop="10dp">
android:layout_marginTop="10dp" android:background="@drawable/bg_container_border">
<Button
android:layout_width="wrap_content"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.AToolbar
android:layout_width="match_parent"
@@ -19,7 +19,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/activitycomposesmsRelativeLayout1">
android:id="@+id/activitycomposesmsRelativeLayout1" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="horizontal"
@@ -30,7 +30,7 @@
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:layout_marginLeft="10dp"
android:layout_alignParentLeft="true">
android:layout_alignParentLeft="true" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -62,7 +62,7 @@
android:layout_alignParentLeft="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical">
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -87,7 +87,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:padding="10dp"
android:layout_weight="1.0">
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
<!-- 关键修改:添加 listSelector 属性,关联选中样式 -->
<ListView

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"
@@ -13,7 +13,7 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<cc.winboll.studio.mymessagemanager.views.ConfirmSwitchView
android:layout_width="match_parent"
@@ -55,7 +55,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0">
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
<com.baoyz.widget.PullRefreshLayout
android:layout_width="match_parent"
@@ -65,7 +65,7 @@
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/activitymainScrollView1">
android:id="@+id/activitymainScrollView1" android:background="@drawable/bg_container_border">
<cc.winboll.studio.mymessagemanager.views.PhoneListViewForScrollView
android:layout_width="match_parent"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.AToolbar
android:layout_width="match_parent"
@@ -14,7 +14,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0">
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="match_parent"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.AToolbar
android:layout_width="match_parent"
@@ -14,13 +14,13 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0"
android:id="@+id/activitysmsScrollView2">
android:id="@+id/activitysmsScrollView2" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/activitysmsLinearLayout1">
android:id="@+id/activitysmsLinearLayout1" android:background="@drawable/bg_container_border">
<cc.winboll.studio.mymessagemanager.views.BottomPositionFixedScrollView
android:layout_width="match_parent"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"
@@ -46,7 +46,7 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<RadioButton
android:layout_width="wrap_content"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"
@@ -15,7 +15,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.0">
android:layout_weight="1.0" android:background="@drawable/bg_container_border">
<androidx.recyclerview.widget.RecyclerView
android:layout_above="@+id/activityttsplayruleLinearLayout2"
@@ -31,7 +31,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="234dp"
android:id="@+id/activityttsplayruleLinearLayout1"/>
android:id="@+id/activityttsplayruleLinearLayout1" android:background="@drawable/bg_container_border" />
<LinearLayout
android:orientation="vertical"
@@ -45,22 +45,22 @@
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
android:layout_gravity="center_horizontal" android:background="@drawable/bg_container_border">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -92,7 +92,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
android:layout_gravity="center_horizontal" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -113,7 +113,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
android:layout_gravity="center_horizontal" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -134,7 +134,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center">
android:gravity="center" android:background="@drawable/bg_container_border">
<Button
android:layout_width="wrap_content"

View File

@@ -4,17 +4,17 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp">
android:padding="10dp" android:background="@drawable/bg_container_border">
<!-- 新增自定义ProtectModeTextView -->
<cc.winboll.studio.mymessagemanager.views.ProtectModeTextView
@@ -27,7 +27,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right">
android:gravity="right" android:background="@drawable/bg_container_border">
<Button
android:layout_width="wrap_content"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="horizontal"
@@ -13,12 +13,12 @@
android:padding="10dp"
android:layout_marginBottom="10dp"
android:gravity="center_vertical"
android:id="@+id/itemttsplayruleLinearLayout1">
android:id="@+id/itemttsplayruleLinearLayout1" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -37,7 +37,7 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<Button
android:layout_width="wrap_content"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="horizontal"
@@ -13,12 +13,12 @@
android:padding="10dp"
android:layout_marginBottom="10dp"
android:gravity="center_vertical"
android:id="@+id/itemttsplayrulesimpleLinearLayout1">
android:id="@+id/itemttsplayrulesimpleLinearLayout1" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -37,7 +37,7 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<Button
android:layout_width="wrap_content"

View File

@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp" android:background="@drawable/bg_container_border">
<TextView
android:id="@+id/tv_content"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<View
android:layout_width="32dp"

View File

@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<LinearLayout
android:orientation="vertical"
@@ -13,7 +13,7 @@
android:padding="10dp"
android:layout_marginBottom="10dp"
android:gravity="right"
android:id="@+id/listviewsmspart1LinearLayout1">
android:id="@+id/listviewsmspart1LinearLayout1" android:background="@drawable/bg_container_border">
<cc.winboll.studio.mymessagemanager.views.DateAgoTextView
android:layout_width="wrap_content"

View File

@@ -12,7 +12,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
<EditText
android:layout_width="0dp"
@@ -28,7 +28,7 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<RadioButton
android:layout_width="wrap_content"
@@ -59,7 +59,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end">
android:gravity="end" android:background="@drawable/bg_container_border">
<Button
android:layout_width="wrap_content"

View File

@@ -22,7 +22,7 @@
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"

View File

@@ -11,7 +11,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true">
android:layout_centerVertical="true" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="match_parent"
@@ -24,7 +24,7 @@
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical">
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"
@@ -44,7 +44,7 @@
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<View
android:layout_width="32dp"

View File

@@ -19,7 +19,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:padding="5dp">
android:padding="5dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"

View File

@@ -13,7 +13,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:padding="10dp">
android:padding="10dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="0dp"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<cc.winboll.studio.mymessagemanager.views.TTSRuleView
xmlns:app="http://schemas.android.com/apk/res-auto"

View File

@@ -4,7 +4,7 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/remoteviewLinearLayout1">
android:id="@+id/remoteviewLinearLayout1" android:background="@drawable/bg_container_border">
<ImageView
android:layout_width="60dp"
@@ -16,7 +16,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
android:gravity="center_vertical" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="match_parent"

View File

@@ -17,7 +17,7 @@
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content" android:background="@drawable/bg_container_border">
<ImageView
android:layout_width="40dp"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent" android:background="@drawable/bg_container_border">
<EditText
android:layout_width="wrap_content"

View File

@@ -5,7 +5,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp">
android:padding="10dp" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="match_parent"

View File

@@ -14,7 +14,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dp"
android:gravity="center_horizontal">
android:gravity="center_horizontal" android:background="@drawable/bg_container_border">
<TextView
android:layout_width="wrap_content"

View File

@@ -2,6 +2,7 @@
<resources>
<style name="MyAppTheme" parent="AESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_default</item>
<item name="textColorPrimary">@color/text_color_primary_default</item>
@@ -10,6 +11,7 @@
</style>
<style name="MyDepthAESTheme" parent="DepthAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_depth</item>
<item name="textColorPrimary">@color/text_color_primary_depth</item>
@@ -18,6 +20,7 @@
</style>
<style name="MySkyAESTheme" parent="SkyAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_sky</item>
<item name="textColorPrimary">@color/text_color_primary_sky</item>
@@ -26,6 +29,7 @@
</style>
<style name="MyGoldenAESTheme" parent="GoldenAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_golden</item>
<item name="textColorPrimary">@color/text_color_primary_golden</item>
@@ -34,6 +38,7 @@
</style>
<style name="MyMemorAESTheme" parent="MemorAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_memor</item>
<item name="textColorPrimary">@color/text_color_primary_memor</item>
@@ -42,6 +47,7 @@
</style>
<style name="MyTaoAESTheme" parent="TaoAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_tao</item>
<item name="textColorPrimary">@color/text_color_primary_tao</item>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--<attr name="appTheme" format="reference"/>-->
<attr name="borderCornerRadius" format="dimension" />
<attr name="textColorPrimary" format="color" />
<declare-styleable name="SMSView">
<attr name="attrSMSType" format="string"/>

View File

@@ -2,6 +2,7 @@
<resources>
<style name="MyAppTheme" parent="AESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:textSize">20sp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_default</item>
@@ -15,6 +16,7 @@
<style name="MyDepthAESTheme" parent="DepthAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:textSize">20sp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_depth</item>
@@ -27,6 +29,7 @@
</style>
<style name="MySkyAESTheme" parent="SkyAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:textSize">20sp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_sky</item>
@@ -39,6 +42,7 @@
</style>
<style name="MyGoldenAESTheme" parent="GoldenAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:textSize">20sp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_golden</item>
@@ -51,6 +55,7 @@
</style>
<style name="MyMemorAESTheme" parent="MemorAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:textSize">20sp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_memor</item>
@@ -63,6 +68,7 @@
</style>
<style name="MyTaoAESTheme" parent="TaoAESTheme">
<item name="borderCornerRadius">6dp</item>
<item name="android:textSize">20sp</item>
<item name="android:windowBackground">@color/window_background</item>
<item name="android:textColorPrimary">@color/text_color_primary_tao</item>