diff --git a/app/src/main/java/com/todoroo/astrid/adapter/SubheaderViewHolder.kt b/app/src/main/java/com/todoroo/astrid/adapter/SubheaderViewHolder.kt index 28bcbc7bb..338e48b54 100644 --- a/app/src/main/java/com/todoroo/astrid/adapter/SubheaderViewHolder.kt +++ b/app/src/main/java/com/todoroo/astrid/adapter/SubheaderViewHolder.kt @@ -42,12 +42,12 @@ internal class SubheaderViewHolder( } else -> errorIcon.visibility = View.GONE } - rotation = if (subheader.isCollapsed) 180f else 0f + rotation = if (subheader.isCollapsed) -180f else 0f chevron.rotation = rotation } private fun rotate() { - rotation = if (rotation == 0f) 180f else 0f + rotation = if (rotation == 0f) -180f else 0f chevron.animate().rotation(rotation).setDuration(250).start() } diff --git a/app/src/main/java/org/tasks/tasklist/HeaderViewHolder.kt b/app/src/main/java/org/tasks/tasklist/HeaderViewHolder.kt index aaa434ac2..880c0f075 100644 --- a/app/src/main/java/org/tasks/tasklist/HeaderViewHolder.kt +++ b/app/src/main/java/org/tasks/tasklist/HeaderViewHolder.kt @@ -35,13 +35,13 @@ class HeaderViewHolder( row.visibility = View.VISIBLE this.title.text = header this.title.setTextColor(section.headerColor(context, sortMode)) - rotation = if (section.collapsed) 180f else 0f + rotation = if (section.collapsed) -180f else 0f chevron.rotation = rotation } } private fun rotate() { - rotation = if (rotation == 0f) 180f else 0f + rotation = if (rotation == 0f) -180f else 0f chevron.animate().rotation(rotation).setDuration(250).start() } diff --git a/app/src/main/res/layout/filter_adapter_subheader.xml b/app/src/main/res/layout/filter_adapter_subheader.xml index c14a22758..06382ae5a 100644 --- a/app/src/main/res/layout/filter_adapter_subheader.xml +++ b/app/src/main/res/layout/filter_adapter_subheader.xml @@ -22,7 +22,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="@dimen/half_keyline_first" - android:src="@drawable/ic_keyboard_arrow_down_black_24dp" + android:src="@drawable/ic_keyboard_arrow_up_black_24dp" app:tint="@color/icon_tint_with_alpha" android:layout_toStartOf="@id/add_item" android:layout_alignWithParentIfMissing="true" diff --git a/app/src/main/res/layout/task_adapter_header.xml b/app/src/main/res/layout/task_adapter_header.xml index 51cd8047a..63a4017ec 100644 --- a/app/src/main/res/layout/task_adapter_header.xml +++ b/app/src/main/res/layout/task_adapter_header.xml @@ -25,7 +25,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="@dimen/keyline_first" - android:src="@drawable/ic_keyboard_arrow_down_black_24dp" + android:src="@drawable/ic_keyboard_arrow_up_black_24dp" app:tint="@color/text_tertiary" />