Fixed toolbar and fab behavior #113.
This commit is contained in:
parent
7b5246ebf1
commit
37b2c5c2df
@ -1,3 +1,7 @@
|
|||||||
|
**master**
|
||||||
|
|
||||||
|
- Fixed fab and toolbar issue (#113)
|
||||||
|
|
||||||
**1.5.4.11**
|
**1.5.4.11**
|
||||||
|
|
||||||
- Hiding FABs on scroll.
|
- Hiding FABs on scroll.
|
||||||
|
@ -114,7 +114,7 @@ class ReaderActivity : AppCompatActivity() {
|
|||||||
if (scrollY > oldScrollY) {
|
if (scrollY > oldScrollY) {
|
||||||
fab.hide()
|
fab.hide()
|
||||||
} else {
|
} else {
|
||||||
fab.show()
|
if (mFloatingToolbar.isShowing) mFloatingToolbar.hide() else fab.show()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext.kotlin_version = '1.1.51'
|
ext.kotlin_version = '1.1.60'
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
google()
|
google()
|
||||||
|
Loading…
Reference in New Issue
Block a user