EngineToolbarActivity

abstract class EngineToolbarActivity<B : ViewDataBinding>(@LayoutRes() contentLayoutId: Int) : EngineActivity<B>

在项目layout目录下创建layout_engine_toolbar.xml可以覆写标题栏布局

Constructors

EngineToolbarActivity
Link copied to clipboard
fun EngineToolbarActivity(@LayoutRes() contentLayoutId: Int = 0)

Functions

onBack
Link copied to clipboard
open fun onBack(v: View)
setContentView
Link copied to clipboard
open override fun setContentView(layoutResId: Int)
setTitle
Link copied to clipboard
open override fun setTitle(title: CharSequence?)
open override fun setTitle(titleId: Int)

Properties

actionbar
Link copied to clipboard
lateinit var actionbar: LinearLayout
actionLeft
Link copied to clipboard
lateinit var actionLeft: TextView
actionRight
Link copied to clipboard
lateinit var actionRight: TextView
actionTitle
Link copied to clipboard
lateinit var actionTitle: TextView