Change list history views

This commit is contained in:
J-Jamet committed 2019-08-26 14:53:23 +02:00
1 parent 8d6db78f55
commit 3a48d20d12
3 files changed
+13 -12

No files matched your search

@@ -158,7 +158,7 @@ class FileDatabaseSelectActivity : StylishActivity(),
// History list
val fileDatabaseHistoryRecyclerView = findViewById<RecyclerView>(R.id.file_list)
fileDatabaseHistoryRecyclerView.layoutManager = LinearLayoutManager(this)
fileDatabaseHistoryRecyclerView.layoutManager = LinearLayoutManager(this, RecyclerView.VERTICAL, false)
// Removes blinks
(fileDatabaseHistoryRecyclerView.itemAnimator as SimpleItemAnimator).supportsChangeAnimations = false
// Construct adapter with listeners