pref: 微调历史页面图标

This commit is contained in:
HuanChengFly 2021-01-25 21:25:54 +08:00
parent 9d55384162
commit ede491f74c
2 changed files with 11 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class HistoryFragment : BaseFragment(), OnItemClickListener<History>, Refreshabl
delegateAdapter.addAdapter(HeaderDelegateAdapter(
attachContext,
R.string.title_history_today,
startIconResId = R.drawable.ic_round_watch_later_blue,
startIconResId = R.drawable.ic_date_range,
sticky = HeaderDelegateAdapter.STICKY_START
).apply {
setBackgroundResource(R.drawable.bg_top_radius_8dp)
@ -93,7 +93,7 @@ class HistoryFragment : BaseFragment(), OnItemClickListener<History>, Refreshabl
delegateAdapter.addAdapter(HeaderDelegateAdapter(
attachContext,
R.string.title_history_before,
startIconResId = R.drawable.ic_round_watch_later_blue,
startIconResId = R.drawable.ic_date_range,
sticky = HeaderDelegateAdapter.STICKY_START
).apply {
setBackgroundResource(R.drawable.bg_top_radius_8dp)

View File

@ -0,0 +1,9 @@
<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="#FF000000"
android:pathData="M9,11H7v2h2V11zM13,11h-2v2h2V11zM17,11h-2v2h2V11zM19,4h-1V2h-2v2H8V2H6v2H5C3.9,4 3,4.9 3,6l0,14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V6C21,4.9 20.1,4 19,4zM19,20H5V9h14V20z" />
</vector>