Replace filter group icons with expand more/less

This commit is contained in:
arkon 2020-06-23 08:51:38 -04:00
parent e99a27e382
commit 4e633b8936
6 changed files with 22 additions and 22 deletions

View File

@ -36,9 +36,9 @@ class GroupItem(val filter: Filter.Group<*>) : AbstractExpandableHeaderItem<Grou
holder.icon.setVectorCompat(
if (isExpanded) {
R.drawable.ic_expand_more_white_24dp
R.drawable.ic_baseline_expand_less_24dp
} else {
R.drawable.ic_chevron_right_white_24dp
R.drawable.ic_baseline_expand_more_24dp
}
)

View File

@ -33,9 +33,9 @@ class SortGroup(val filter: Filter.Sort) : AbstractExpandableHeaderItem<SortGrou
holder.icon.setVectorCompat(
if (isExpanded) {
R.drawable.ic_expand_more_white_24dp
R.drawable.ic_baseline_expand_less_24dp
} else {
R.drawable.ic_chevron_right_white_24dp
R.drawable.ic_baseline_expand_more_24dp
}
)

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="M12,8l-6,6 1.41,1.41L12,10.83l4.59,4.58L18,14z" />
</vector>

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="M16.59,8.59L12,13.17 7.41,8.59 6,10l6,6 6,-6z" />
</vector>

View File

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z"/>
</vector>

View File

@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M16.59,8.59L12,13.17 7.41,8.59 6,10l6,6 6,-6z"/>
</vector>