Code: Update code

This commit is contained in:
zt515
2017-12-28 00:40:55 +08:00
parent f74442f1f9
commit e3ee785243

View File

@ -187,10 +187,6 @@ class NeoTermActivity : AppCompatActivity(), ServiceConnection, SharedPreference
toolbar.navigationIcon = null
toolbar.setNavigationOnClickListener(null)
toolbar.setBackgroundResource(R.color.colorPrimary)
// toolbar.alpha = 0f
// toolbar.animate().alpha(1f).setDuration(300).withEndAction {
// toolbar.setBackgroundResource(R.color.colorPrimary)
// }.start()
}
override fun onSelectionChanged(tabSwitcher: TabSwitcher, selectedTabIndex: Int, selectedTab: Tab?) {
@ -592,10 +588,6 @@ class NeoTermActivity : AppCompatActivity(), ServiceConnection, SharedPreference
return RevealAnimation.Builder().setX(x).setY(y).create()
}
// private fun createPeekAnimation(): Animation {
// return PeekAnimation.Builder().setX(tabSwitcher.width / 2f).create()
// }
private fun getNavigationMenuItem(): View? {
val toolbars = tabSwitcher.toolbars