精简选任务弹层提示与项目行缩进;环图加粗留边距;通知图标常驻;统计标题样式统一
This commit is contained in:
14
src/main/res/drawable/ic_notif.xml
Normal file
14
src/main/res/drawable/ic_notif.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
状态栏小图标:Android 5.0+ 会把非透明像素统一染白,
|
||||
这里用实心秒表轮廓,保证 EMUI 状态栏常驻可见,不再时有时无。
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFFFFFFF"
|
||||
android:pathData="M12,2a10,10 0 1,0 0,20a10,10 0 1,0 0,-20zM12,4.5a7.5,7.5 0 1,1 0,15a7.5,7.5 0 0,1 0,-15zM12,6.5h1.8v6.3l4.2,2.5 -0.9,1.5 -5.1,-3.1z" />
|
||||
</vector>
|
||||
@@ -189,7 +189,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/trend_title"
|
||||
style="@style/T.Section" />
|
||||
style="@style/T.CardTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvTrendTotal"
|
||||
@@ -225,7 +225,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/heatmap_title"
|
||||
style="@style/T.Section" />
|
||||
style="@style/T.CardTitle" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvHeatHint"
|
||||
@@ -277,7 +277,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/summary_title"
|
||||
style="@style/T.Section" />
|
||||
style="@style/T.CardTitle" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/summaryGrid"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
android:layout_height="10dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rowInfo"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
<string name="goal_progress">今日目标 %1$d%%</string>
|
||||
<string name="goal_short">%1$dM</string>
|
||||
<string name="trend_title">专注趋势</string>
|
||||
<string name="heatmap_title">打卡热力图</string>
|
||||
<string name="heatmap_title">专注频率</string>
|
||||
<string name="distribution_title">项目分布</string>
|
||||
<string name="task_distribution_title">任务分布</string>
|
||||
<string name="task_share">任务占比</string>
|
||||
|
||||
@@ -31,6 +31,14 @@
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
</style>
|
||||
|
||||
<!-- 统计页卡片标题:与 PeriodDistributionCard 自绘的标题完全一致 -->
|
||||
<style name="T.CardTitle">
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:textColor">@color/title</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
</style>
|
||||
|
||||
<style name="T.Section">
|
||||
<item name="android:textSize">13sp</item>
|
||||
<item name="android:textColor">@color/text_secondary</item>
|
||||
|
||||
Reference in New Issue
Block a user