Cleanup layout
This commit is contained in:
1 parent
4d09504abc
commit
9924b6ec0b
6 files changed
+120
-139
No files matched your search
@@ -210,6 +210,12 @@ class FavoritesScene : SearchBarScene() {
|
||||
mAdapter?.type = Settings.listMode
|
||||
}
|
||||
|
||||
private val SceneFavoritesBinding.fastScroller get() = contentLayout.fastScroller
|
||||
private val SceneFavoritesBinding.refreshLayout get() = contentLayout.refreshLayout
|
||||
private val SceneFavoritesBinding.recyclerView get() = contentLayout.recyclerView
|
||||
private val SceneFavoritesBinding.progress get() = contentLayout.progress
|
||||
private val SceneFavoritesBinding.tip get() = contentLayout.tip
|
||||
|
||||
override fun onCreateViewWithToolbar(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?,
|
||||
|
||||
@@ -310,6 +310,12 @@ class GalleryListScene : SearchBarScene() {
|
||||
}
|
||||
}
|
||||
|
||||
private val SceneGalleryListBinding.fastScroller get() = contentLayout.fastScroller
|
||||
private val SceneGalleryListBinding.refreshLayout get() = contentLayout.refreshLayout
|
||||
private val SceneGalleryListBinding.recyclerView get() = contentLayout.recyclerView
|
||||
private val SceneGalleryListBinding.progress get() = contentLayout.progress
|
||||
private val SceneGalleryListBinding.tip get() = contentLayout.tip
|
||||
|
||||
override fun onCreateViewWithToolbar(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?,
|
||||
@@ -329,7 +335,7 @@ class GalleryListScene : SearchBarScene() {
|
||||
mSearchFab.parent as View,
|
||||
),
|
||||
)
|
||||
mViewTransition = BringOutTransition(binding.contentLayout, binding.searchLayout)
|
||||
mViewTransition = BringOutTransition(binding.contentLayout.contentView, binding.searchLayout)
|
||||
binding.fastScroller.setOnDragHandlerListener(object : OnDragHandlerListener {
|
||||
override fun onStartDragHandler() {}
|
||||
override fun onEndDragHandler() {
|
||||
|
||||
Reference in new issue
Block a user