diff options
author | Allan Wang <me@allanwang.ca> | 2019-08-16 00:11:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-16 00:11:37 -0700 |
commit | a9407288fad0d30e71e2f6862b66533e043f9311 (patch) | |
tree | a357e6cd419123d69ca5d2977c8ce839c56f3d87 /searchview/src | |
parent | 807a3661e4d234c525ea855ebb7a43a02d5184a1 (diff) | |
parent | 5aefeee08f68777dd07a16bd42a7d2392db6bbc9 (diff) | |
download | kau-a9407288fad0d30e71e2f6862b66533e043f9311.tar.gz kau-a9407288fad0d30e71e2f6862b66533e043f9311.tar.bz2 kau-a9407288fad0d30e71e2f6862b66533e043f9311.zip |
Merge pull request #225 from AllanWang/versions
Versions
Diffstat (limited to 'searchview/src')
-rw-r--r-- | searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt index da06ec4..f468ea8 100644 --- a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt +++ b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt @@ -294,9 +294,9 @@ class SearchView @JvmOverloads constructor( * These are calculated every time the search view is opened, * and can be overridden with the open listener if necessary */ - var menuX: Int = -1 //starting x for circular reveal - var menuY: Int = -1 //reference for cardview's marginTop - var menuHalfHeight: Int = -1 //starting y for circular reveal (relative to the cardview) + var menuX: Int = -1 // starting x for circular reveal + var menuY: Int = -1 // reference for cardview's marginTop + var menuHalfHeight: Int = -1 // starting y for circular reveal (relative to the cardview) init { View.inflate(context, R.layout.kau_search_view, this) @@ -373,8 +373,8 @@ class SearchView @JvmOverloads constructor( internal fun cardTransition(builder: TransitionSet.() -> Unit = {}) { TransitionManager.beginDelayedTransition(kau_search_cardview, - //we are only using change bounds, as the recyclerview items may be animated as well, - //which causes a measure IllegalStateException + // we are only using change bounds, as the recyclerview items may be animated as well, + // which causes a measure IllegalStateException TransitionSet().addTransition(ChangeBounds()).apply { duration = configs.transitionDuration builder() |