Skip to content

Commit

Permalink
For mozilla-mobile#2843 - Improve Collections UI and UX
Browse files Browse the repository at this point in the history
  • Loading branch information
ekager committed May 24, 2019
1 parent 1c524ab commit 1deb618
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,13 @@ class CollectionViewHolder(
view.background = ContextCompat.getDrawable(view.context, R.drawable.rounded_top_corners)
view.collection_description.visibility = View.GONE

view.chevron.setBackgroundResource(
R.drawable.ic_chevron_up
)
view.chevron.setBackgroundResource(R.drawable.ic_chevron_up)
} else {
(view.layoutParams as ViewGroup.MarginLayoutParams).bottomMargin = COLLAPSED_MARGIN
view.background = ContextCompat.getDrawable(view.context, R.drawable.rounded_all_corners)
view.collection_description.visibility = View.VISIBLE

view.chevron.setBackgroundResource(
R.drawable.ic_chevron_down
)
view.chevron.setBackgroundResource(R.drawable.ic_chevron_down)
}

view.collection_icon.setColorFilter(
Expand Down

0 comments on commit 1deb618

Please sign in to comment.