优化Eink主题效果: 1.移除Eink主题时dialog及UI控件阴影; 2.Eink主题时dialog增加边框. (#4386)

* 优化Eink主题效果: 1.移除Eink主题时dialog及UI控件阴影; 2.Eink主题时dialog增加边框.

* fix: 2处与全局不一致的UI效果
This commit is contained in:
wyouflf authored and GitHub committed 2024-11-30 18:18:21 +08:00
1 parent cf0134650f
commit 3bef4a5ae2
25 files changed
+273 -22

No files matched your search

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<!-- 边框颜色 -->
<solid android:color="@color/divider" />
</shape>
</item>
<!-- 边框位置和粗细 -->
<item android:bottom="1dp">
<shape>
<!-- 背景颜色 -->
<solid android:color="@color/white" />
</shape>
</item>
</layer-list>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<stroke
android:width="1dp"
android:color="@color/divider" />
<corners android:radius="2dp" />
</shape>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<!-- 边框颜色 -->
<solid android:color="@color/divider" />
</shape>
</item>
<!-- 边框位置和粗细 -->
<item android:top="1dp">
<shape>
<!-- 背景颜色 -->
<solid android:color="@color/white" />
</shape>
</item>
</layer-list>